![]() ![]() Note: the altinstall option is necessary to ensure that the system-default Python files won’t be touched. Finally, proceed to install Python: $ sudo make altinstall You can check how many CPU cores you have in your system by running the nproc command. Once done, we build the Python source with the make command followed by the -j parameter and the number of CPU cores you want to dedicate to the process. Optimize the Python build process by executing: $. Change into the directory where the Python source was extracted: $ cd Python*/ Extract the downloaded file with tar command: $ cd ~/Downloads Download either the compressed gzipped tarball, or the xz tarball. Navigate to the Python download page and choose from either the latest stable release or pre-release version. Next, we’ll install the dependencies: $ sudo apt install build-essential pkg-config zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev Before installing Python, always make sure that you have your system up to date: $ sudo apt update The next method takes a few additional steps, but ensures that you download and install the absolute latest Python release. ![]() Install Latest Version From Official Download To launch Python, simply execute the next command: $ python3 To install pip on Kali (the package installer for Python): $ sudo apt install python3-pip ![]() To install the latest version of Python, execute the following command: $ sudo apt update To check what version of Python is installed in your system: $ python3 -version How to install Python on Kali Linux Install From Kali Repo ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |