Last active
May 21, 2019 06:15
-
-
Save ankyit/62c82ec3181ed85c5d2b139c7a426c28 to your computer and use it in GitHub Desktop.
Python Programming - AOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i | |
yum groupinstall -y "development tools" | |
yum install -y \ | |
libffi-devel \ | |
zlib-devel \ | |
bzip2-devel \ | |
openssl-devel \ | |
ncurses-devel \ | |
sqlite-devel \ | |
readline-devel \ | |
tk-devel \ | |
gdbm-devel \ | |
db4-devel \ | |
libpcap-devel \ | |
xz-devel \ | |
expat-devel \ | |
postgresql-devel | |
cd /usr/src | |
wget http://python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz | |
tar xf Python-3.7.3.tar.xz | |
cd Python-3.7.3 | |
./configure --enable-optimizations | |
make altinstall | |
exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -i | |
apt update -y | |
apt install -y \ | |
wget \ | |
build-essential \ | |
libffi-dev \ | |
libgdbm-dev \ | |
libc6-dev \ | |
libssl-dev \ | |
zlib1g-dev \ | |
libbz2-dev \ | |
libreadline-dev \ | |
libsqlite3-dev \ | |
libncurses5-dev \ | |
libncursesw5-dev \ | |
xz-utils \ | |
tk-dev | |
cd /usr/src | |
wget http://python.org/ftp/python/3.7.3/Python-3.7.3.tar.xz | |
tar xf Python-3.7.3.tar.xz | |
cd Python-3.7.3 | |
./configure --enable-optimizations | |
make altinstall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment