Ways to Install or Uninstall dput-ng on Ubuntu 22.04

Updated: October 20, 2022

dput-ng is a Debian package upload tool which provides an easy to use interface to Debian (like) package archive hosting facilities. It allows anyone who works with Debian packages to upload their work to a remote service, including Debian’s ftp-master, mentors.debian.net, Launchpad or other package hosting facilities for Debian package maintainers. I will show you how to install dput-ng on Ubuntu 22.04 in this guide.

Prerequisites

  • Operating system: dput-ng needs Ubuntu 22.04 to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install dput-ng on Ubuntu 22.04

Install dput-ng Ubuntu 22.04

dput-ng is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install dput-ng using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get dput-ng on your Ubuntu 22.04.

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install dput-ng Ubuntu by executing this command in the terminal.

sudo apt-get -y install dput-ng

Install dput-ng using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After that, you can now install dput-ng by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install dput-ng Ubuntu by executing this command in the terminal.

sudo aptitude install dput-ng

Uninstall dput-ng on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed dput-ng using APT or Aptitude, you could uninstall dput-ng on Ubuntu by running this command

sudo apt remove --auto-remove dput-ng

If you want to uninstall dput-ng and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge dput-ng

Conclusion

In this guide, I showed you ways to install dput-ng on Ubuntu 22.04 and ways to uninstall dput-ng too. Please contact me if you require any assistance. I’d be delighted to respond.