Changes between Initial Version and Version 1 of LinuxBuild


Ignore:
Timestamp:
Feb 4, 2016 7:19:51 AM (9 years ago)
Author:
wojciech
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • LinuxBuild

    v1 v1  
     1= Build Instructions for Linux (Ubuntu) = 
     2 
     3The following instructions concern Ubuntu 14.04 but should provide sufficient guidelines for any linux distribution. 
     4Some packages were installed from Ubuntu repository with apt-get, while others required pip.   
     5 
     6== Download source code for !SasView ==  
     7- The easy way to download !SasView code is by simply cloning a git repository 
     8{{{ 
     9git clone https://github.com/SasView/sasview 
     10}}} 
     11This will create a sasview folder in your current directory 
     12  
     13== Install dependencies using apt-get ==  
     14- Scientific python packages (numpy, scipy) together with matplotlib, pylint and wxgtk2.8 can be installed by running 
     15{{{ 
     16sudo apt-get install python-numpy python-scipy python-matplotlib pylint python-wxgtk2.8 
     17}}} 
     18 
     19== Install pip == 
     20- The remaining dependencies can be installed using pip, which one could get and install by running the following: 
     21{{{ 
     22wget https://bootstrap.pypa.io/get-pip.py 
     23sudo python get-pip.py 
     24}}} 
     25 
     26== Install dependencies using pip == 
     27- Once pip is installed one can install the remaining dependencies  
     28{{{ 
     29sudo pip install unittest-xml-reporting 
     30sudo pip install bumps 
     31sudo pip install periodictable 
     32sudo pip install sphinx 
     33}}} 
     34 
     35== Compile !SasView == 
     36- Then one can navigate to a !SasView source directory (most likely cd sasview) and the simply run 
     37{{{ 
     38python setup.py build      # will build the package underneath 'build/' 
     39python setup.py install    # will install the package 
     40}}} 
     41 
     42sudo commnand might be required for a global installation