How to Uninstall or Install rng-tools Ubuntu 22.04

Updated: October 26, 2022

Most users who wish to use rngd in Debian should use the rng-tools5 package. However, Debian traditionally has shipped a much extended fork with many extra options; this fork is now available as rng-tools-debian with migration provided by this transitional dummy package. In this guide, I will show you ways to install rng-tools Ubuntu 22.04.

Requirements

  • Operating system: Ubuntu 22.04 is needed for rng-tools to work
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install rng-tools on Ubuntu 22.04

Install rng-tools Ubuntu 22.04

rng-tools is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install rng-tools 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 instructions to get rng-tools 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 fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install rng-tools Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt -y install rng-tools

Install rng-tools using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

Then, you can now install rng-tools by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install rng-tools Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install rng-tools

Uninstall rng-tools on Ubuntu 22.04

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

You can uninstall rng-tools on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove rng-tools

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

sudo apt autoremove --purge rng-tools

Ending

In this guide, I showed you ways to install rng-tools on Ubuntu 22.04 and ways to uninstall rng-tools too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.