Difference between revisions of "InstallingVisTrailsOnUbuntu"

From VistrailsWiki
Jump to navigation Jump to search
(New page: When installing VisTrails on a Debian-based linux distribution (any variant using the apt package management system) the following commands must be issued as the root user or preceeded by ...)
 
m (Changed to reflect VGC repository.)
Line 1: Line 1:
When installing VisTrails on a Debian-based linux distribution (any variant using the apt package management system) the following commands must be issued as the root user or preceeded by sudo
=== VisTrails on Ubuntu Edgy ===


Install Graphviz:
We have support for VisTrails on Ubuntu Edgy for the amd64 and i386 architectures. To install VisTrails, start Synaptic (the package manager)
* apt-get install graphviz
Click on Settings -> Repositories:


Install Python:
Then click on the third-party tab:
* apt-get install python


Install Python Extensions:
Click on Add, and paste the following line to the field:
* apt-get install python-xml
* apt-get install python-soappy


Install Qt 4.2.0 or above:
deb http://vgc.sci.utah.edu/ubuntu edgy main
* You can get the open source version for all platforms [http://www.trolltech.com/download/opensource.html here]
* After downloading, you need to build the Qt library:
  * Run '''configure''' then '''make'''


Install PyQt4:
Close the Settings window, and now a dialog will inform you that the repositories changed. This is expected. It will tell you to click "reload". Do so.
* Note: The Python bindings for QT4 provided by the apt-get installation work only for QT 4.1
* Download sip 4.5.2 [http://www.riverbankcomputing.co.uk/sip/download.php here]
  * sudo python configure.py
  * sudo make; make install
* Download PyQt4.1.1 [http://www.riverbankcomputing.co.uk/pyqt/download.php here]
  * sudo python configure.py
  * sudo make; make install


Install MySQLdb (Python library allowing MySQL databases access):
Now VisTrails will be available for install. Click on the Search button, type vistrails:
* apt-get install python-mysqldb


Install SciPy and NumPy
 
* sudo apt-get install python-scipy (python-numpy is a dependency that is installed automatically by apt)
 
Now right-click on the vistrails line and Click on "Mark for Installation".
 
 
 
The box on the left of the line should now be checked. Click on the Apply button on top. There will be a warning about unauthenticated packages. We're currently working on having a digital signature for all VGC packages, but this is currently unimplemented. Simply click on Mark. This will take you back to the original window. Click on Apply again, and then on Apply on the "Summary". A series of windows showing the download and installation progress will be displayed. At the end, simply close the Synaptic Package Manager, and now VisTrails is available on a terminal, on <code>/usr/local/bin/vistrails</code>.
 
=== On a terminal ===
 
If you're more comfortable on a shell, there's a faster way:
 
# echo "deb http://vgc.sci.utah.edu/ubuntu edgy main" >> /etc/apt/sources.list
# apt-get update
# apt-get install vistrails

Revision as of 20:45, 17 March 2007

VisTrails on Ubuntu Edgy

We have support for VisTrails on Ubuntu Edgy for the amd64 and i386 architectures. To install VisTrails, start Synaptic (the package manager) Click on Settings -> Repositories:

Then click on the third-party tab:

Click on Add, and paste the following line to the field:

deb http://vgc.sci.utah.edu/ubuntu edgy main

Close the Settings window, and now a dialog will inform you that the repositories changed. This is expected. It will tell you to click "reload". Do so.

Now VisTrails will be available for install. Click on the Search button, type vistrails:


Now right-click on the vistrails line and Click on "Mark for Installation".


The box on the left of the line should now be checked. Click on the Apply button on top. There will be a warning about unauthenticated packages. We're currently working on having a digital signature for all VGC packages, but this is currently unimplemented. Simply click on Mark. This will take you back to the original window. Click on Apply again, and then on Apply on the "Summary". A series of windows showing the download and installation progress will be displayed. At the end, simply close the Synaptic Package Manager, and now VisTrails is available on a terminal, on /usr/local/bin/vistrails.

On a terminal

If you're more comfortable on a shell, there's a faster way:

  1. echo "deb http://vgc.sci.utah.edu/ubuntu edgy main" >> /etc/apt/sources.list
  2. apt-get update
  3. apt-get install vistrails