Showing posts with label installation. Show all posts
Showing posts with label installation. Show all posts

Thursday, May 9, 2013

QuTiP Now on MacPorts

On the macintosh platform, one of the possible installation methods for QuTiP has always been via MacPorts.  However, until recently there was no way of directly installing QuTiP from inside of MacPorts itself.  Thanks to the work by Frank Schima of MacPorts, QuTiP and all of its dependencies can be easily installed, after installing MacPorts, using a single line of code in the terminal!  Here is how you do it:

  1. In order to install MacPorts, you need to have the Apple XCode Developer Tools installed on your machine.  This can be done from inside the Apple App Store.
  2. Next, run Xcode and go to Preferences->Downloads and install the "Command Line Tools"
  3. Download the MacPorts package and install the package.
  4. To install QuTiP, in the terminal type: sudo port install py27-qutip
Thats it!  All of the required packages are downloaded, compiled, and installed.  It will take several tens of minutes to finish, but that is what wine is for.

Thursday, June 14, 2012

Launchpad PPA for QuTiP releases

Installing QuTiP on Ubuntu just got a lot easier. Using our new PPA on Launchpad, QuTiP and all its dependencies can now be installed using the following commands:
$ sudo add-apt-repository ppa:jrjohansson/qutip-releases
$ sudo apt-get update
$ sudo apt-get install python-qutip
On a desktop/laptop system you'd probably also want to install the package texlive-latex-extra:
$ sudo apt-get install texlive-latex-extra
For subscribers of the qutip-release PPA, new releases of QuTiP will be automatically available through the Ubuntu update manager.
There is also a PPA called qutip-trunk, which provides access to daily builds of the latest development version of QuTiP.