Install updated version of Python on centOS

1. Update System, installing wget and dependencies

sudo yum -y update
sudo yum -y install wget
sudo yum install -y gcc openssl-devel bzip2-devel libffi-devel

2. Download the tar file version

wget https://nodejs.org/download/release/latest/node-v22.8.0.tar.gz

3. Extract the tar file

tar xvf Python-3.11.10.tgz

4. In the folder

cd Python-3.11.10

5. Configure the makefile

./configure --enable-optimizations

6. Make

sudo make altinstall

7. Export the path

export PATH=/usr/local/bin:$PATH

 

 

  • update Python, uninstall python, centos
  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

How to Set Up a Mac for Your Kids

Providing children with access to a computer and the internet is increasingly important, but so...

How to Get Help With a Command from the Linux Terminal

Whether you’re an inexperienced terminal user or a grizzled veteran, you won’t always know the...

How to change the ssh port on Linux

To Change the SSH Port for Linux Server Connect to your server via SSH Switch to the root...

How To Install screenFetch in Linux

If you've browsed Linux groups on social media, you've probably seen a lot of screenshots that...

Static IP vs. Dynamic IP Address

A static IP address is one that remains fixed and never changes. The PC always sees the same...

Powered by WHMCompleteSolution