Skip to content
Related Articles

Related Articles

How to Install GD module on Linux?

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 09 Jun, 2022

GD is a python library. It provides various features and an async-ready API wrapper for the geometry dash. It is easy to use. It is used to implement the geometry dash API and is also very handy to work with object-oriented design. 

Installing GD module on Linux

Method 1: Using pip to install GD Package

Follow the below steps to install the GD package on Linux using pip:

Step 1: Install the latest version of Python3 in the Linux system.

Step 2: Check if pip3 and python3 are correctly installed or not in your system with the help of the following command:

python3 --version
pip3 --version


Step 3: Upgrade your pip to avoid errors during the installation process.

pip3 install --upgrade pip


Step 4: Enter the following command to install GD using pip3.

pip3 install


Method 2: Using to install GD package

Follow the below steps to install the GD package on Linux using the file:

Step 1: Download the latest source package of GD for python3 from here.

curl > gd.tar.gz


Step 2: Extract the downloaded gd package using the following command:

tar -xzvf gd.tar.gz


Step 3: Go inside the gd folder and Enter the following command to install the package.


python3 install

Verifying GD installation on Linux

Make the following import in your python terminal to verify if the installation has been done properly:

import gd


If there is any error while importing the module then is not installed properly.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!