How To Install bzrtools on Debian 9
Introduction
In this tutorial we learn how to install bzrtools
on Debian 9.
What is bzrtools
bzrtools is:
This package contains a collection of plugins for bzr - a distributed version control system. Some of these tools may work their way into bzr itself at some point, and some are just convenient addons useful for day to day operations.
bzrtools actually includes:
- rspush: Push local changes to a remote server using rsync instead sftp.
- graph-ancestry: Use graphviz to produce graphs of branch ancestry.
- shell: Start up a command interpreter that run bzr natively, providing autocompletion.
- patch: Apply a specified patch to your tree, that can be a file or URL.
- heads: Show all revisions in a repository not having descendants.
There are three methods to install bzrtools
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install bzrtools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install bzrtools
using apt-get
by running the following command:
sudo apt-get -y install bzrtools
Install bzrtools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install bzrtools
using apt
by running the following command:
sudo apt -y install bzrtools
Install bzrtools Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install bzrtools
using aptitude
by running the following command:
sudo aptitude -y install bzrtools
How To Uninstall bzrtools on Debian 9
To uninstall only the bzrtools
package we can use the following command:
sudo apt-get remove bzrtools
Uninstall bzrtools And Its Dependencies
To uninstall bzrtools
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove bzrtools
Remove bzrtools Configurations and Data
To remove bzrtools
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge bzrtools
Remove bzrtools configuration, data, and all of its dependencies
We can use the following command to remove bzrtools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge bzrtools
Dependencies
bzrtools have the following dependencies:
References
Summary
In this tutorial we learn how to install bzrtools
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.