How install Setuptools for Python on Linux? Last Updated : 07 Feb, 2022 Comments Improve Suggest changes Like Article Like Report Setuptools is a package development process library that extends the Python standard library distutils to make it easier to package Python projects (distribution utilities). It contains the following features: Package and module declarations in PythonMetadata from the distribution packageHooks for testingInstallation of the projectPlatform-specific informationSupport for Python3 In this article, we will learn how to install Setuptools for Python on Linux. Installing Setuptools on Linux Method 1: Using pip to install Setuptools Package Follow the below steps to install the Setuptools package on Linux using pip: Step 1: Install the current version of Python3 in Linux. Step 2: Check if pip3 and python3 are correctly installed in your system using the following command: python3 --version pip3 --version Step 3: Upgrade pip3 to avoid errors occurring during the installation process. pip3 install --upgrade pip Step 4: Enter the following command to install Setuptools using pip3. pip3 install setuptoolsMethod 2: Using setup.py to install Setuptools Follow the below steps to install the Setuptools package on Linux using the setup.py file: Step 1: Download the latest source package of Setuptools for Python3 from the website. curl https://files.pythonhosted.org/packages/69/77/aee1ecacea4d0db740046ce1785e81d16c4b1755af50eceac4ca1a1f8bfd/setuptools-60.5.0.tar.gz > setuptools-60.5.0.tar.gz Step 2: Extract the downloaded setuptools package using the following command: tar -xzvf setuptools-60.5.0.tar.gz Step 3: Go to the setuptools-60.5.0 folder and enter the following command to install the package. cd setuptools-60.5.0 python3 setup.py installVerifying Setuptools installation on Linux Use the following import in your Python terminal to verify if the Setuptools installation has been done properly or not: import setuptools If we do not get any error while importing the package then is not installed properly. Comment More infoAdvertise with us Next Article How install Setuptools for Python on Linux? anilabhadatta Follow Improve Article Tags : Python How To Installation Guide how-to-install Practice Tags : python Similar Reads How to Install Python on Linux This guide explains how to install Python on Linux machines. Python has become an essential programming language for developers, data scientists, and system administrators. It's used for various applications, including web development, data science, automation, and machine learning.This comprehensiv 15+ min read How to Install Python-sh on Linux? In python, the sh package is a full-fledged sub-process replacement for Python 2.6 - 3.8, PyPy, and PyPy3 that allows you to call any program as if it were a function. So, in this article, we will be installing the sh package in Python on Linux operating system. Installing Sh package on Linux using 1 min read How to Install Pytest For Python3 On Linux? The pytest module in Python or a testing framework. It is used to write small and simple tests cases for databases, APIs, etc, but it can also handle complex functional testing for applications and libraries. The tests are definitive and legible. Or we can say that this module is used to write test 2 min read How to Install Python-USPP on Linux? Python-USPP is a multi-platform Python library that allows communication between Python programs and USPP devices. This library is written in Python itself. It supports Windows, Linux, and MacOS. In this article, we will learn how to install this library in the Linux operating system. Python USPP in 3 min read How to Install Python docutils on Linux? Docutils is an open-source text processing system. It is written in Python language. It is used to process simple text or plaintext documents into some useful formats like LaTex, HTML, OpenDocument, XML, etc. It is easy to use and easy to read. It is available for operating systems like, Windows, ma 2 min read How to Install Scipy In Python on Linux? In this article, we are going to see how to install Scipy in Python on Linux, SciPy is a python library that is useful in solving many mathematical equations and algorithms, it is a free and open-source Python library built on top of the popular NumPy library. To install Scipy on Linux: There are ge 2 min read How to Install Python-GDmodule on Linux? A module is nothing more than a file containing Python code. A module can describe functions, groups, and variables. A module can also contain executable code. Multiple programs can import a module for their application, so a single code can be used by multiple programs to complete their functionali 1 min read How to Install Python 3 on Kali Linux Python 3 is a powerful and versatile programming language widely used for various tasks, from web development to data science, security automation, and AI and ML. Recent versions of Kali Linux come with Python 3 pre-installed. For some reason if you want a different version than the one already inst 3 min read How to Install Nose in Python on Linux? The nose is a Python package essentially needed for automation framework testing. Basically, Nose generates uni-test modules that will help to execute the testing result much better. Also, Nose provides another advantage in that it will auto-discover the test cases. Based on the test case result it 3 min read Like