In most GNU/Linux systems, there are directory /usr/bin and /usr/local/bin, the former for binaries supplied by OS or package manager, the latter by user. Before you installed python 3.7.3, python3 -version gives you Python 3.9.2, while after you installed 3.7.3 you will find python3 is referring to python 3.7.3 instead. Let's say you already have a python 3.9.2 coming with OS. $ sudo make install Remove the Symbolic Link Build and InstallĪfter downloaded, unzip it and enter the source directory. $ wget įeel free to browse for other versions. Say you want to install python 3.7.3, download the source tarball (note that the link is case sensitive). Libncurses5-dev libncursesw5-dev xz-utils tk-dev libgdbm-dev \ Libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \ ![]() $ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev \ Update your package manager and install required packages to build python. How to Install an Old Version of Python in Debian or Ubuntu How to Install an Old Version of Python on Debian or Ubuntu Updated on August 22, 2022.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |