This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
python-software [2014/10/08 10:31] aorth created |
python-software [2020/04/16 08:36] (current) aorth |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== python ====== | ====== python ====== | ||
| + | Python programming language. | ||
| ===== Information ===== | ===== Information ===== | ||
| - | * Version: | + | * Version: |
| * Added: October, 2014 | * Added: October, 2014 | ||
| + | * Updated: April, 2020 | ||
| * Link: https:// | * Link: https:// | ||
| ===== Usage ===== | ===== Usage ===== | ||
| - | === See versions of python which are available | + | See versions of python which are available: |
| - | < | + | < |
| + | |||
| + | Load a particular version into your environment and run it: | ||
| + | |||
| + | < | ||
| + | $ python -V</ | ||
| ===== Installation ====== | ===== Installation ====== | ||
| Notes from the sysadmin during installation: | Notes from the sysadmin during installation: | ||
| - | < | + | < |
| - | wget https:// | + | $ wget wget https:// |
| - | tar xf Python-2.7.8.tar.xz | + | $ tar xf Python-3.7.7.tar.xz |
| - | cd Python-2.7.8 | + | $ cd Python-3.7.7 |
| - | scl enable devtoolset-1.1 bash | + | $ scl enable devtoolset-7 bash |
| - | ./configure --prefix=/ | + | $ ./configure --prefix=/ |
| - | make -j4 | + | $ CFLAGS=" |
| - | sudo mkdir / | + | $ LDFLAGS=" |
| - | sudo chown aorth:aorth / | + | $ chrt -i 0 make -j4 |
| - | ./ | + | $ sudo mv / |
| - | make install | + | $ sudo mkdir -p / |
| - | sudo chown -R root:root / | + | $ sudo chown aorth / |
| + | $ make install | ||
| + | $ make maninstall | ||
| + | $ ln -s / | ||
| + | $ ln -s / | ||
| + | $ ln -s / | ||
| + | $ sudo chown -R root:root / | ||
| + | $ sudo rm -rf / | ||
| + | |||
| + | Configure options borrowed from [[https:// | ||