How To Install bzr-search on Ubuntu 18.04

In this tutorial we learn how to install bzr-search on Ubuntu 18.04. bzr-search is search plugin for Bazaar

Introduction

In this tutorial we learn how to install bzr-search on Ubuntu 18.04.

bzr-search is:

This is a plugin for Bazaar that can index and search local and remote branches.

It adds a “index” and a “search” command to the Bazaar command-line UI.

There are three methods to install bzr-search on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install bzr-search Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install bzr-search using apt-get by running the following command:

sudo apt-get -y install bzr-search

Install bzr-search Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install bzr-search using apt by running the following command:

sudo apt -y install bzr-search

Install bzr-search 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install bzr-search using aptitude by running the following command:

sudo aptitude -y install bzr-search

How To Uninstall bzr-search on Ubuntu 18.04

To uninstall only the bzr-search package we can use the following command:

sudo apt-get remove bzr-search

Uninstall bzr-search And Its Dependencies

To uninstall bzr-search and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove bzr-search

Remove bzr-search Configurations and Data

To remove bzr-search configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge bzr-search

Remove bzr-search configuration, data, and all of its dependencies

We can use the following command to remove bzr-search configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge bzr-search

References

Summary

In this tutorial we learn how to install bzr-search package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.