Open In App

How to Install Twisted in Linux?

Improve
Improve
Like Article
Like
Save
Share
Report

Twisted is an asynchronous networking framework developed in Python language. The twisted package works on various Operating Systems like Windows, Linux, and macOS. It supports different types of modules like twisted.web, twisted.conch, twisted.mail, twisted.names, etc. In this article, we will look into, how to install the Twisted framework on a Linux Operating System.

Requirements:

Installing Python-Twisted package on Linux using PIP

To install the Python-Twisted package in Linux we have to follow the following steps:

Step 1: First of all, we will install Python3 on our Linux Machine. Use the following command in the terminal to install the latest version of Python3.

sudo apt-get install python3

 Installing-Python3-on-Linux

Step 2: Now, install the pip module which is required to install and manage the packages in Python3. So, using the following command we install the pip module: 

sudo apt install python3-pip

Installing-the-pip-module

Step 3: Now, install the Python-Twisted package with the help of the following command.

sudo pip3 install Twisted

or

sudo apt install python-twisted

Installing-the-Python-Twisted-package

Verifying Python-Twisted package Installation on Linux using PIP

To verify if the Python-Twisted package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show Twisted

You’ll get the below message if the installation is complete successfully:

Verifying-Python-Twisted-package-installation


Last Updated : 31 Jan, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads