Difference between revisions of "Linux install"

From relax wiki
Jump to navigation Jump to search
(Created page with "== linux install == <source lang="bash"> wget http://download.gna.org/minfx/minfx-1.0.5.tar.gz tar -xzf minfx-1.0.5.tar.gz cd minfx-1.0.5 python setup.py install </source>")
 
Line 1: Line 1:
 
== linux install ==
 
== linux install ==
 +
<source lang="bash">
 +
sudo yum install python ;
 +
sudo yum install scons ;
 +
sudo yum install wxPython ;
 +
sudo yum install grace ;
  
<source lang="bash">
+
wget http://download.gna.org/minfx/minfx-1.0.5.tar.gz ;
wget http://download.gna.org/minfx/minfx-1.0.5.tar.gz
+
tar -xzf minfx-1.0.5.tar.gz ;
tar -xzf minfx-1.0.5.tar.gz
+
cd minfx-1.0.5 ;
cd minfx-1.0.5
+
python setup.py install ;
python setup.py install
+
cd .. ;
 +
 
 +
wget http://download.gna.org/bmrblib/bmrblib-1.0.3.tar.gz
 +
tar -xzf bmrblib-1.0.3.tar.gz ;
 +
cd bmrblib-1.0.3 ;
 +
python setup.py install ;
 +
cd .. ;
 +
</source>
 +
 
 +
== test python installation ==
 +
<source lang="python">
 +
>python
 +
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
 +
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
 +
 
 +
>>> import wx
 +
>>> wx.__file__
 +
'...'
  
 +
>>> import bmrblib
 +
>>> bmrblib.__file__
 +
'...'
  
 +
>>> import minfx
 +
>>> minfx.__file__
 +
'...'
 
</source>
 
</source>

Revision as of 11:45, 21 June 2013

linux install

sudo yum install python ;
sudo yum install scons ;
sudo yum install wxPython ;
sudo yum install grace ;

wget http://download.gna.org/minfx/minfx-1.0.5.tar.gz ;
tar -xzf minfx-1.0.5.tar.gz ;
cd minfx-1.0.5 ;
python setup.py install ;
cd .. ;

wget http://download.gna.org/bmrblib/bmrblib-1.0.3.tar.gz
tar -xzf bmrblib-1.0.3.tar.gz ;
cd bmrblib-1.0.3 ;
python setup.py install ;
cd .. ;

test python installation

>python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2

>>> import wx
>>> wx.__file__
'...'

>>> import bmrblib
>>> bmrblib.__file__
'...'

>>> import minfx
>>> minfx.__file__
'...'