How To Install dpkg-dev-el on Ubuntu 18.04

In this tutorial we learn how to install dpkg-dev-el on Ubuntu 18.04. dpkg-dev-el is Emacs helpers specific to Debian development

Introduction

In this tutorial we learn how to install dpkg-dev-el on Ubuntu 18.04.

What is dpkg-dev-el

dpkg-dev-el is:

This package contains:

debian-bts-control - builds [email protected] email messages; debian-changelog-mode - a helper mode for Debian changelogs; debian-control-mode - a helper mode for debian/control files; debian-copyright - major mode for Debian package copyright files; readme-debian - major mode for editing README.Debian files.

See /usr/share/doc/dpkg-dev-el/README.Debian for a short description of all files.

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

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

sudo apt-get update

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

sudo apt-get -y install dpkg-dev-el

Install dpkg-dev-el Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install dpkg-dev-el using apt by running the following command:

sudo apt -y install dpkg-dev-el

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

sudo aptitude -y install dpkg-dev-el

How To Uninstall dpkg-dev-el on Ubuntu 18.04

To uninstall only the dpkg-dev-el package we can use the following command:

sudo apt-get remove dpkg-dev-el

Uninstall dpkg-dev-el And Its Dependencies

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

sudo apt-get -y autoremove dpkg-dev-el

Remove dpkg-dev-el Configurations and Data

To remove dpkg-dev-el configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge dpkg-dev-el

Remove dpkg-dev-el configuration, data, and all of its dependencies

We can use the following command to remove dpkg-dev-el configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge dpkg-dev-el

References

Summary

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