How To Install python3-rosdep on Rocky Linux 8

In this tutorial we learn how to install python3-rosdep on Rocky Linux 8. python3-rosdep is HTML documentation for ‘python-rosdep’

Introduction

In this tutorial we learn how to install python3-rosdep on Rocky Linux 8.

What is python3-rosdep

rosdep is a command-line tool for installing system dependencies. For end-users, rosdep helps you install system dependencies for software that you are building from source. For developers, rosdep simplifies the problem of installing system dependencies on different platforms. Instead of having to figure out which Debian package on Ubuntu Oneiric contains Boost, you can just specify a dependency on ‘boost’.

We can use yum or dnf to install python3-rosdep on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rosdep.

Install python3-rosdep 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-rosdep using dnf by running the following command:

sudo dnf -y install python3-rosdep

Install python3-rosdep 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-rosdep using yum by running the following command:

sudo yum -y install python3-rosdep

How To Uninstall python3-rosdep on Rocky Linux 8

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

sudo dnf remove python3-rosdep

python3-rosdep Package Contents on Rocky Linux 8

/etc/ros/rosdep
/etc/ros/rosdep/sources.list.d
/etc/ros/rosdep/sources.list.d/20-default.list
/usr/bin/rosdep
/usr/bin/rosdep-3
/usr/bin/rosdep-3.6
/usr/bin/rosdep-source
/usr/bin/rosdep-source-3
/usr/bin/rosdep-source-3.6
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/rosdep-0.20.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/rosdep2
/usr/lib/python3.6/site-packages/rosdep2/__init__.py
/usr/lib/python3.6/site-packages/rosdep2/__pycache__
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/_version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/_version.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/cache_tools.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/cache_tools.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/catkin_packages.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/catkin_packages.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/catkin_support.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/catkin_support.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/core.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/core.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/dependency_graph.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/dependency_graph.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/gbpdistro_support.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/gbpdistro_support.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/install.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/install.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/installers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/installers.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/loader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/loader.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/lookup.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/lookup.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/main.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/main.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/meta.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/meta.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/model.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/model.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rep3.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rep3.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rosdistrohelper.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rosdistrohelper.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rospack.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rospack.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rospkg_loader.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/rospkg_loader.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/shell_utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/shell_utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/sources_list.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/__pycache__/sources_list.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/_version.py
/usr/lib/python3.6/site-packages/rosdep2/ament_packages
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__init__.py
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/packages.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/packages.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/resources.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/resources.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/search_paths.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/__pycache__/search_paths.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/constants.py
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/packages.py
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/resources.py
/usr/lib/python3.6/site-packages/rosdep2/ament_packages/search_paths.py
/usr/lib/python3.6/site-packages/rosdep2/cache_tools.py
/usr/lib/python3.6/site-packages/rosdep2/catkin_packages.py
/usr/lib/python3.6/site-packages/rosdep2/catkin_support.py
/usr/lib/python3.6/site-packages/rosdep2/core.py
/usr/lib/python3.6/site-packages/rosdep2/dependency_graph.py
/usr/lib/python3.6/site-packages/rosdep2/gbpdistro_support.py
/usr/lib/python3.6/site-packages/rosdep2/install.py
/usr/lib/python3.6/site-packages/rosdep2/installers.py
/usr/lib/python3.6/site-packages/rosdep2/loader.py
/usr/lib/python3.6/site-packages/rosdep2/lookup.py
/usr/lib/python3.6/site-packages/rosdep2/main.py
/usr/lib/python3.6/site-packages/rosdep2/meta.py
/usr/lib/python3.6/site-packages/rosdep2/model.py
/usr/lib/python3.6/site-packages/rosdep2/platforms
/usr/lib/python3.6/site-packages/rosdep2/platforms/__init__.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/alpine.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/alpine.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/arch.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/arch.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/cygwin.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/cygwin.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/debian.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/debian.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/freebsd.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/freebsd.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/gem.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/gem.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/gentoo.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/gentoo.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/nix.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/nix.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/npm.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/npm.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/openembedded.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/openembedded.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/opensuse.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/opensuse.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/osx.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/osx.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/pip.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/pip.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/redhat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/redhat.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/slackware.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/slackware.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/source.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/__pycache__/source.cpython-36.pyc
/usr/lib/python3.6/site-packages/rosdep2/platforms/alpine.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/arch.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/cygwin.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/debian.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/freebsd.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/gem.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/gentoo.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/nix.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/npm.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/openembedded.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/opensuse.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/osx.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/pip.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/redhat.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/slackware.py
/usr/lib/python3.6/site-packages/rosdep2/platforms/source.py
/usr/lib/python3.6/site-packages/rosdep2/rep3.py
/usr/lib/python3.6/site-packages/rosdep2/rosdistrohelper.py
/usr/lib/python3.6/site-packages/rosdep2/rospack.py
/usr/lib/python3.6/site-packages/rosdep2/rospkg_loader.py
/usr/lib/python3.6/site-packages/rosdep2/shell_utils.py
/usr/lib/python3.6/site-packages/rosdep2/sources_list.py
/usr/share/doc/python3-rosdep
/usr/share/doc/python3-rosdep/README.md
/usr/share/licenses/python3-rosdep
/usr/share/licenses/python3-rosdep/LICENSE
/usr/share/man/man1/rosdep.1.gz

References

Summary

In this tutorial we learn how to install python3-rosdep on Rocky Linux 8 using yum and dnf.