How To Install python3-rencode on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-rencode
on Rocky Linux 8.
What is python3-rencode
The rencode module is a modified version of bencode from the BitTorrent project. For complex, heterogeneous data structures with many small elements, r-encodings take up significantly less space than b-encodings.
We can use yum
or dnf
to install python3-rencode
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rencode.
Install python3-rencode on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-rencode
using dnf
by running the following command:
sudo dnf -y install python3-rencode
Install python3-rencode on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-rencode
using yum
by running the following command:
sudo yum -y install python3-rencode
How To Uninstall python3-rencode on Rocky Linux 8
To uninstall only the python3-rencode
package we can use the following command:
sudo dnf remove python3-rencode
python3-rencode Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/02115438407cdf1da3189b49110b97b214d403
/usr/lib64/python3.6/site-packages/rencode
/usr/lib64/python3.6/site-packages/rencode-1.0.6-py3.6.egg-info
/usr/lib64/python3.6/site-packages/rencode-1.0.6-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/rencode-1.0.6-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/rencode-1.0.6-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/rencode-1.0.6-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/rencode/__init__.py
/usr/lib64/python3.6/site-packages/rencode/__pycache__
/usr/lib64/python3.6/site-packages/rencode/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/rencode/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/rencode/__pycache__/rencode_orig.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/rencode/__pycache__/rencode_orig.cpython-36.pyc
/usr/lib64/python3.6/site-packages/rencode/_rencode.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/rencode/rencode_orig.py
/usr/share/doc/python3-rencode
/usr/share/doc/python3-rencode/README.md
/usr/share/licenses/python3-rencode
/usr/share/licenses/python3-rencode/COPYING
References
Summary
In this tutorial we learn how to install python3-rencode
on Rocky Linux 8 using yum and dnf.