How To Install python3-twitter on Fedora 36

In this tutorial we learn how to install python3-twitter in Fedora 36. python3-twitter is A python wrapper around the Twitter API

Introduction

In this tutorial we learn how to install python3-twitter on Fedora 36.

What is python3-twitter

This library provides a pure python interface for the Twitter API. Twitter (http web, IM, and SMS. Twitter exposes a web services API (http easier for python programmers to use.

We can use yum or dnf to install python3-twitter on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-twitter.

Install python3-twitter on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-twitter using dnf by running the following command:

sudo dnf -y install python3-twitter

Install python3-twitter on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-twitter using yum by running the following command:

sudo yum -y install python3-twitter

How To Uninstall python3-twitter on Fedora 36

To uninstall only the python3-twitter package we can use the following command:

sudo dnf remove python3-twitter

python3-twitter Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/python_twitter-3.5-py3.10.egg-info
/usr/lib/python3.10/site-packages/python_twitter-3.5-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/python_twitter-3.5-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/python_twitter-3.5-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/python_twitter-3.5-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/python_twitter-3.5-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/twitter
/usr/lib/python3.10/site-packages/twitter/__init__.py
/usr/lib/python3.10/site-packages/twitter/__pycache__
/usr/lib/python3.10/site-packages/twitter/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/_file_cache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/_file_cache.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/api.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/api.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/error.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/error.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/models.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/models.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/parse_tweet.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/parse_tweet.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/ratelimit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/ratelimit.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/twitter_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/twitter/__pycache__/twitter_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/twitter/_file_cache.py
/usr/lib/python3.10/site-packages/twitter/api.py
/usr/lib/python3.10/site-packages/twitter/error.py
/usr/lib/python3.10/site-packages/twitter/models.py
/usr/lib/python3.10/site-packages/twitter/parse_tweet.py
/usr/lib/python3.10/site-packages/twitter/ratelimit.py
/usr/lib/python3.10/site-packages/twitter/twitter_utils.py
/usr/share/doc/python3-twitter
/usr/share/doc/python3-twitter/AUTHORS.rst
/usr/share/doc/python3-twitter/CHANGES
/usr/share/doc/python3-twitter/COPYING
/usr/share/doc/python3-twitter/README.rst
/usr/share/licenses/python3-twitter
/usr/share/licenses/python3-twitter/LICENSE

References

Summary

In this tutorial we learn how to install python3-twitter on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).