How To Install python3-pyxdg on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-pyxdg
on Rocky Linux 8.
What is python3-pyxdg
PyXDG is a python library to access freedesktop.org standards. This package contains a Python 3 version of PyXDG.
We can use yum
or dnf
to install python3-pyxdg
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyxdg.
Install python3-pyxdg 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-pyxdg
using dnf
by running the following command:
sudo dnf -y install python3-pyxdg
Install python3-pyxdg 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-pyxdg
using yum
by running the following command:
sudo yum -y install python3-pyxdg
How To Uninstall python3-pyxdg on Rocky Linux 8
To uninstall only the python3-pyxdg
package we can use the following command:
sudo dnf remove python3-pyxdg
python3-pyxdg Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/pyxdg-0.25-py3.6.egg-info
/usr/lib/python3.6/site-packages/xdg
/usr/lib/python3.6/site-packages/xdg/BaseDirectory.py
/usr/lib/python3.6/site-packages/xdg/Config.py
/usr/lib/python3.6/site-packages/xdg/DesktopEntry.py
/usr/lib/python3.6/site-packages/xdg/Exceptions.py
/usr/lib/python3.6/site-packages/xdg/IconTheme.py
/usr/lib/python3.6/site-packages/xdg/IniFile.py
/usr/lib/python3.6/site-packages/xdg/Locale.py
/usr/lib/python3.6/site-packages/xdg/Menu.py
/usr/lib/python3.6/site-packages/xdg/MenuEditor.py
/usr/lib/python3.6/site-packages/xdg/Mime.py
/usr/lib/python3.6/site-packages/xdg/RecentFiles.py
/usr/lib/python3.6/site-packages/xdg/__init__.py
/usr/lib/python3.6/site-packages/xdg/__pycache__
/usr/lib/python3.6/site-packages/xdg/__pycache__/BaseDirectory.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/BaseDirectory.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Config.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Config.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/DesktopEntry.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/DesktopEntry.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/IconTheme.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/IconTheme.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/IniFile.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/IniFile.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Locale.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Locale.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Menu.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Menu.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/MenuEditor.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/MenuEditor.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Mime.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/Mime.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/RecentFiles.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/RecentFiles.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/xdg/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/xdg/util.py
/usr/share/doc/python3-pyxdg
/usr/share/doc/python3-pyxdg/AUTHORS
/usr/share/doc/python3-pyxdg/ChangeLog
/usr/share/doc/python3-pyxdg/README
/usr/share/doc/python3-pyxdg/TODO
/usr/share/licenses/python3-pyxdg
/usr/share/licenses/python3-pyxdg/COPYING
References
Summary
In this tutorial we learn how to install python3-pyxdg
on Rocky Linux 8 using yum and dnf.