How to Install and Uninstall ng-utils on Ubuntu 22.04

Updated: October 26, 2022

Includes tools to dump and look up hosts, users and domains from the netgroup database. The netgroup tool is used to list all members of a netgroup, while the innetgr tool is used to check if a given user/host is listed as a member of a netgroup. I will show you how to install ng-utils on Ubuntu 22.04 in this guide.

Software Requirement

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install ng-utils on Ubuntu 22.04

Install ng-utils Ubuntu 22.04

ng-utils 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 you believe is simple and easy to follow.

Install ng-utils using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these steps to install ng-utils on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install ng-utils Ubuntu by executing this command in the terminal.

sudo apt-get -y install ng-utils

Install ng-utils using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

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

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install ng-utils Ubuntu by executing this command in the terminal.

sudo aptitude -y install ng-utils

Uninstall ng-utils on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a ng-utils, can be easily uninstalled by anyone.

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

sudo apt remove --auto-remove ng-utils

You can also execute this command if you want to uninstall ng-utils and remove its data and dependencies:

sudo apt autoremove --purge ng-utils

Ending

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