How To Install bzrtools on CentOS 7

In this tutorial we learn how to install bzrtools on CentOS 7. bzrtools is Collection of utilities and plugins for Bazaar-NG

Introduction

In this tutorial we learn how to install bzrtools on CentOS 7.

What is bzrtools

BzrTools is a collection of plugins for Bazaar-NG (bzr). Among the included plugins are * rspush - uses rsync to push local changes to a remote server * annotate - prints a file annotated with the revision next to each line * baz-import - (Requres PyBaz) import an arch archive losslessly into bzr * shelve/unshelve - allows you to undo some changes, commit, and restore * clean-tree - remove unknown, ignored-junk, or unversioned files from the tree * graph-ancestry - use dot to produce branch ancestry graphs * shell - a bzr command interpreter with command completion * patch - apply a patch to your tree from a file or URL

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

Install bzrtools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install bzrtools using yum by running the following command:

sudo yum -y install bzrtools

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

sudo dnf -y install bzrtools

How To Uninstall bzrtools on CentOS 7

To uninstall only the bzrtools package we can use the following command:

sudo dnf remove bzrtools

References

Summary

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