How To Install packaging-tutorial on Ubuntu 18.04

In this tutorial we learn how to install packaging-tutorial on Ubuntu 18.04. packaging-tutorial is introduction to Debian packaging

Introduction

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

What is packaging-tutorial

packaging-tutorial is:

This tutorial is an introduction to Debian packaging. It teaches prospective developers how to modify existing packages, how to create their own packages, and how to interact with the Debian community. In addition to the main tutorial, it includes three practical sessions on modifying the ‘grep’ package, and packaging the ‘gnujump’ game and a Java library.

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

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

sudo apt-get update

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

sudo apt-get -y install packaging-tutorial

Install packaging-tutorial Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install packaging-tutorial

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

sudo aptitude -y install packaging-tutorial

How To Uninstall packaging-tutorial on Ubuntu 18.04

To uninstall only the packaging-tutorial package we can use the following command:

sudo apt-get remove packaging-tutorial

Uninstall packaging-tutorial And Its Dependencies

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

sudo apt-get -y autoremove packaging-tutorial

Remove packaging-tutorial Configurations and Data

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

sudo apt-get -y purge packaging-tutorial

Remove packaging-tutorial configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge packaging-tutorial

References

Summary

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