How To Install qbzr on Ubuntu 18.04

In this tutorial we learn how to install qbzr on Ubuntu 18.04. qbzr is Graphical interface for Bazaar using the Qt toolkit

Introduction

In this tutorial we learn how to install qbzr on Ubuntu 18.04.

What is qbzr

qbzr is:

QBzr is a cross-platform GUI frontend for Bazaar, based on the Qt toolkit.

It provides GUI frontend for many core bzr commands and several universal dialogs and helper commands. Equivalents for core bzr commands has the same names as CLI commands but with prefix “q”.

Basic q-commands:

  • qadd - GUI for adding files or directories.
  • qannotate - Show the origin of each line in a file.
  • qbind - Convert the current branch into a checkout of the supplied branch.
  • qbranch - Create a new copy of a branch.
  • qcat - View the contents of a file as of a given revision.
  • qcommit - GUI for committing revisions.
  • qconflicts - Show conflicts.
  • qdiff - Show differences in working tree in a GUI window.
  • qexport - Export current or past revision to a directory or archive.
  • qinfo - Shows information about the current location.
  • qinit - Initializes a new branch or shared repository.
  • qlog - Show log of a repository, branch, file, or directory in a Qt window.
  • qmerge - Perform a three-way merge.
  • qplugins - Display information about installed plugins.
  • qpull - Turn this branch into a mirror of another branch.
  • qpush - Update a mirror of this branch.
  • qrevert - Revert changes files.
  • qsend - Mail or create a merge-directive for submitting changes.
  • qswitch - Set the branch of a checkout and update.
  • qtag - Edit tags.
  • qunbind - Convert the current checkout into a regular branch.
  • quncommit - Move the tip of a branch to an earlier revision.
  • qupdate - Update working tree with latest changes in the branch.
  • qversion - Show version/system information.

Hybrid dialogs:

  • qgetnew - Creates a new working tree (either a checkout or full branch).
  • qgetupdates - Fetches external changes into the working tree.

Additional commands:

  • qbrowse - Show inventory or working tree.
  • qconfig - Configure Bazaar and QBzr.
  • qviewer - Simple file viewer.

Miscellaneous:

  • bug-url - print full URL to a specific bug, or open it in your browser.

There are three methods to install qbzr 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 qbzr Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install qbzr

Install qbzr Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qbzr using apt by running the following command:

sudo apt -y install qbzr

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

sudo aptitude -y install qbzr

How To Uninstall qbzr on Ubuntu 18.04

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

sudo apt-get remove qbzr

Uninstall qbzr And Its Dependencies

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

sudo apt-get -y autoremove qbzr

Remove qbzr Configurations and Data

To remove qbzr configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qbzr

Remove qbzr configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qbzr

References

Summary

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