Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

install python3 centos 7.8

yum install -y python3
Comment

install python 3 centos

[root@centos7 ~]# yum update -y
yum install -y python3
python3
Comment

install python 3.9 centos8

$ sudo yum install wget gcc openssl-devel libffi-devel bzip2-devel
$ yum install python3
$ python3
$ wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
Comment

install python 3.6 on centos

sudo yum install -y https://repo.ius.io/ius-release-el7.rpm
sudo yum update
sudo yum install -y python36u python36u-libs python36u-devel python36u-pip
Comment

install python 3.7 centos

# install requirements
yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel xz-devel

# Download python version
cd /usr/src  
wget https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgz
# extract package
tar xzf Python-3.7.11.tgz 

# Install Python
cd Python-3.7.11 
./configure --enable-optimizations 
make altinstall # Used to prevent replacing the default python binary file /usr/bin/python.
rm /usr/src/Python-3.7.11.tgz 
Comment

PREVIOUS NEXT
Code Example
Python :: between date pandas 
Python :: discord.py set activity 
Python :: how to find wifi password using python 
Python :: python color text on windows 
Python :: python print dict pretty 
Python :: how to add list item to text file python 
Python :: convert text file into list 
Python :: plot model 
Python :: python get arguments 
Python :: python temporary directory 
Python :: matplotlib show imaginary numbers 
Python :: python copy a 2D list 
Python :: how to open local html file in python 
Python :: tkinter boilerplate 
Python :: RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() 
Python :: plt line of best fit 
Python :: python system arguments 
Python :: conver all dict keys to str python 
Python :: panda count how many values are less than n in a column 
Python :: how to print numbers from 1 to 20 in python 
Python :: dictionaries to http data python 
Python :: remove all occurrences of a character in a list python 
Python :: get attribute in selenium python 
Python :: tqdm notebook 
Python :: python read toml file 
Python :: href in selenium 
Python :: python year month day hour minute second 
Python :: python print list with newline 
Python :: change dataframe column type 
Python :: python fibonacci generator 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =