How to install pygame zero9/20/2023 ![]() ![]() If you are using latest Python3 then to install pygame, you need to use sudo apt install python3-pygame command as shown below. ![]() Get:14 focal-security/universe amd64 c-n-f Metadata Get:13 focal-security/universe amd64 DEP-11 Metadata Get:12 focal-security/universe amd64 Packages Get:11 focal-security/main amd64 c-n-f Metadata Get:10 focal-security/main amd64 DEP-11 Metadata Get:8 focal-security/main amd64 Packages How to Install Pygame on Ubuntu 20.04 LTS (Focal Fossa)Īlso Read: How to uninstall zsh shell from Linux in 2 Easy Steps Step 1: PrerequisitesĪ) You should have a running Ubuntu 20.04 LTS Server.ī) You should have sudo or root access to run privileged commands.Ĭ) You should have either python3 or python2 installed in your Server.īefore installing pygame, it is recommended to first update and sync all the installed packages with the latest available versions from default Ubuntu repo using sudo apt update & sudo apt upgrade command as shown below. Here we will see the steps to install pygame on Ubuntu 20.04 LTS (Focal Fossa). It is also very easy to install and use the module just like any other python modules. This allows developers to create a full feature equipped games and multimedia programs in Python Language. Pygame provides best gaming features by adding excellent functions on top of the SDL Library. Pygame is a freely available set of Python modules designed for writing video games on almost every platform and operating system. In this article, we will see how to install Pygame on Ubuntu 20.04 LTS (Focal Fossa). How to Install Pygame on Ubuntu 20.04 LTS (Focal Fossa).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |