Ways to Uninstall or Install userinfo Ubuntu 22.04

Updated: September 9, 2022

Userinfo is a small console utility to display as much information about a local user as possible. It supports the output of password file info, home directory mode, mail info, lastlog info and more. In this guide, I will show you ways to install userinfo Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install userinfo on Ubuntu 22.04

Install userinfo Ubuntu 22.04

userinfo 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 userinfo using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these steps to install userinfo on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install userinfo Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install userinfo

Install userinfo using Aptitude

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

sudo apt -y install aptitude

After that, you can now install userinfo 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-get update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install userinfo Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install userinfo

Uninstall userinfo 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 userinfo, can be easily uninstalled by anyone.

You can uninstall userinfo Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove userinfo

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

sudo apt autoremove --purge userinfo

Conclusion

In this tutorial, I showed you ways to install userinfo on Ubuntu 22.04 and ways to uninstall userinfo too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.