python-software
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
python-software [2014/10/08 10:31] – created aorth | python-software [2021/08/26 07:02] – aorth | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== python ====== | ====== python ====== | ||
+ | Python programming language. | ||
===== Information ===== | ===== Information ===== | ||
- | * Version: | + | * Version: |
* Added: October, 2014 | * Added: October, 2014 | ||
+ | * Updated: May, 2021 | ||
* 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 https:// |
- | tar xf Python-2.7.8.tar.xz | + | $ tar xf Python-3.7.10.tar.xz |
- | cd Python-2.7.8 | + | $ cd Python-3.7.10 |
- | 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:// |
python-software.txt · Last modified: 2024/08/08 17:31 by aorth