How To Install python2-wstool on CentOS 7

In this tutorial we learn how to install python2-wstool on CentOS 7. python2-wstool is Tool for managing a workspace of multiple heterogeneous SCM

Introduction

In this tutorial we learn how to install python2-wstool on CentOS 7.

What is python2-wstool

wstool provides commands to manage several local SCM repositories (supports git, mercurial, subversion, bazaar) based on a single workspace definition file (.rosinstall). wstool replaces the rosws tool for catkin workspaces. As catkin workspaces create their own setup file and environment, wstool is reduced to version control functions only. So wstool does not have a “regenerate” command, and does not allow adding non-version controlled elements to workspaces. In all other respects, it behaves the same as rosws.

We can use yum or dnf to install python2-wstool on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python2-wstool.

Install python2-wstool on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install python2-wstool

Install python2-wstool on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install python2-wstool

How To Uninstall python2-wstool on CentOS 7

To uninstall only the python2-wstool package we can use the following command:

sudo dnf remove python2-wstool

References

Summary

In this tutorial we learn how to install python2-wstool on CentOS 7 using yum and dnf.