Install rng-tools on Ubuntu: sudo apt-get install rng-tools
Learn how to install rng-tools with the command sudo apt-get install rng-tools on Ubuntus.
Quick installation of rng-tools:
Step 1: Update system:
sudo apt-get update
Step 2: Install: rng-tools
Ater updaing the OS run following command to install the packae:
sudo apt-get install rng-tools
Package Details | |
Package: | rng-tools |
Version: | 2-unofficial-mt.14-1ubuntu1 |
Maintainer: | Ubuntu Developers |
Home page: | |
Description: | Daemon to use a Hardware TRNG The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). . It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. . This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. It may also improve the quality (entropy) of the randomness of /dev/random. . A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. . This is an unofficial version of rng-tools which has been extensively modified to add multithreading and a lot of new functionality. |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | universe/utils |
How to install rng-tools on Ubuntu 12.04 LTS?
First of all update your system with the command:
sudo apt-get update
Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.
After downloading the latest package list with the help of above you can run the installation process.
If rng-tools is not installed on your compter then the command 'dpkg -L rng-tools' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L rng-tools Package `rng-tools' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. deepak@deepak-VirtualBox:~$
Installing rng-tools:
After system update use the following command to install rng-tools:
sudo apt-get install rng-tools
Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.
How to uninstall/remove rng-tools from Ubuntu 12.04 LTS?
Now we will see the commands for uninstalling the rng-tools from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the rng-tools following command is used:
sudo apt-get remove rng-tools
Following command is used to remove the rng-tools package along with its dependencies:
sudo apt-get remove --auto-remove rng-tools
This will remove rng-tools and all its dependent packages which is no longer needed in the system.
Completely removing rng-tools with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge rng-tools
or you can use following command also:
sudo apt-get purge --auto-remove rng-tools
Above command will remove all the configuration files and data associated with rng-tools package. You can can't recover the delete data, so, use this command with care.