How To Install dose-extra on Ubuntu 18.04

In this tutorial we learn how to install dose-extra on Ubuntu 18.04. dose-extra is Extra QA tools from the Dose3-library

Introduction

In this tutorial we learn how to install dose-extra on Ubuntu 18.04.

What is dose-extra

dose-extra is:

This package contains extra tools for analyzing meta-data of software packages:

  • ceve, a general metadata parser supporting different input formats (Debian, rpm, and others) and different output formats.
  • dose-outdated, a Debian-specific tool for finding packages that are not installable with respect to a package repository, and that can only be made installable again by fixing the package itself.
  • dose-challenged, a Debian-specific tool for checking which packages will certainly become uninstallable when some existing package is upgraded to a newer version.
  • dose-deb-coinstall, a Debian-specific tool for checking whether a set of packages can be installed all together. The tools dose-distcheck and dose-builddebcheck are packaged in their own resepective packages.

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

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

sudo apt-get update

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

sudo apt-get -y install dose-extra

Install dose-extra Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dose-extra

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

sudo aptitude -y install dose-extra

How To Uninstall dose-extra on Ubuntu 18.04

To uninstall only the dose-extra package we can use the following command:

sudo apt-get remove dose-extra

Uninstall dose-extra And Its Dependencies

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

sudo apt-get -y autoremove dose-extra

Remove dose-extra Configurations and Data

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

sudo apt-get -y purge dose-extra

Remove dose-extra configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dose-extra

References

Summary

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