6/29/2023 0 Comments Install python ubuntu![]() Go to the terminal of the system and enter the following command: sudo add-apt-repository ppa:deadsnakes/ppaĪfter entering the above command, the system shall ask you to hit the return key. We can also install related libraries like this: sudo apt install -y build-essential libssl-dev libffi-dev python3-dev Step 3: Adding Deadsnakes PPAĭeadsnakes PPA provides newer releases over the default Ubuntu repositories. The –y flag confirms that programmers have agreed for all items to be installed. We can also use different flags and properties while installing Python and its associated libraries. ![]() To install the supporting software, enter the following code in the terminal: sudo apt update The software-properties-common package provides better control over package manager because it allows adding PPA (Personal Package Archive) repositories. After opening the terminal, enter the following code: sudo apt update Step 2: Install a supporting software If Python isn't already there in the system, then follow the below steps to install: Step 1: Refresh and update repository listsįollow the steps from above to open the terminal. This command will display the current Python version number if it is already present or installed in the system.
0 Comments
Leave a Reply. |