zoomlmka.blogg.se

Update python linux
Update python linux







update python linux

Use the following command: make altinstallĪfter that, a mandatory step for execution will be to check the name of your new Python executable file ls /usr/local/bin/python*

update python linux

This is followed by the installation of your Python. Next, compile the Python source cd Python-3.9.6 &. You can do it like this: tar xzf Python-3.9.6.tgz Then download your python wget Īfter that, you need to unpack the archive that you just downloaded. Replace the urls and filenames in this tutorial with the latest version.

update python linux

This can be done using a special command, which is presented below: # apt-get install wget build-essential libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev liblzma-dev -yĪfter that, we recommend going to the Python source download page to find the latest gzip version of the source code. If python is successfully installed on your server, then you should get something like this: Python 3.6.7 Updating your Python Versionįirst, you need to install the required dependencies to compile the Python source code. This can be done using the following command: python3 -V In order to go to upgrade your python, you need to check its version. In order for you to perform this operation to update your Python version, you need to update your CentOS 8 and have root rights for your VPS Checking Your Python Version









Update python linux