4/30/2023 0 Comments Install python on ubuntu 20.04![]() ![]() Venv (the standard library virtual environment), this library lets you set-up a virtual environment of python, within which you can install packages and configure various things without affecting your system settings. Python-gdbm is a gnu reinterpretation of dbm, a powerful objects-storing database interface for DBM-style databases: sudo apt install -y python3.11-gdbm Install python3.11-venv Python-tk is python’s de facto of GUI, which can come in handy if you are building a graphical user interface application: sudo apt install -y python3.11-tk Install python3.11-gdm Python-dev is a package that contains Python C headers, that significantly boasts performance for libraries that use Python C headers: sudo apt install -y python3.11-dev Install python3.11-tk ![]() These will greatly benefit you if you are serious about programming in python. ![]() Now you have Python 3.11 installed and running in your Ubuntu, but there are additional packages that you can install now, besides your often used libraries. sudo apt install -y python3.11 Some additional packages (Optional) Now you can run the next command to install Python 3.11. Update apt package list by executing the next command: sudo apt update Now you can add one of the next deadsnakes PPAs.Ī) The normal one, this will let you install more stable versions of python (3.11 or 3.10), it will ask you to hit enter: sudo add-apt-repository ppa:deadsnakes/ppaī) The nightly PPA, which has the newest test pre-releases: sudo add-apt-repository ppa:deadsnakes/nightly You can install them using the following command: sudo apt install -y software-properties-common There are dependencies for adding a custom PPA. Since python3.11 is still a testing release there is no official package already present on apt package sources, so we have to add a PPA (Personal Package Archive), then we can install python3.11 using apt package manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |