[Python] basis under non-root installations on Linux and Python third-party packages

Download software version:
Python 3.7.3  

Use edwetl user as an example:

1. Install Python

Software upload address is ~ / software software installation address ~ / Python / Python3.7.3

(1) Pre-installation package View

-qa RPM | grep - i zlib 
RPM -qa | grep - i bzip2 
RPM -qa | grep - i ncurses 
RPM -qa | grep - i readline 
RPM -qa | grep - i OpenSSL 
RPM -qa | grep - i the xz 
RPM - qa | grep - i SQLite 
RPM -qa | grep - i gdbm 
RPM -qa | grep - i tk 
RPM -qa | grep -i gcc   # is very important and very troublesome need to install a separate 1-2h

(2) Installation Python

mkdir -p ~/software

cd software

Upload software to the software installation directory

xz -d Python 3.7.3.tar.xz

tar -xvf Python 3.7.3.tar

mkdir -p ~/Python/Python3.7.3

cd Python-3.7.3

 

Guess you like

Origin www.cnblogs.com/badboy200800/p/11532432.html