How To Install python2-vcstool on CentOS 7
Introduction
In this tutorial we learn how to install python2-vcstool
on CentOS 7.
What is python2-vcstool
Vcstool is a version control system (VCS) tool, designed to make working with multiple repositories easier. Note trailing s) which provides a Python API for interacting with different version control systems. The biggest differences between the two are - vcstool doesn’t use any state beside the repository working copies available in the filesystem. - The file format of vcstool export uses the relative paths of the repositories as keys in YAML which avoids collisions by design. - vcstool has significantly less lines of code than vcstools including the command line tools built on top.
We can use yum
or dnf
to install python2-vcstool
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python2-vcstool.
Install python2-vcstool on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install python2-vcstool
using yum
by running the following command:
Install python2-vcstool 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.
After updating yum database, We can install python2-vcstool
using dnf
by running the following command:
How To Uninstall python2-vcstool on CentOS 7
To uninstall only the python2-vcstool
package we can use the following command:
References
Summary
In this tutorial we learn how to install python2-vcstool
on CentOS 7 using yum
and dnf
.