This package includes passwd, chsh, chfn, and many other programs to maintain password and group data. I will show you how to install passwd on Ubuntu 22.04 in this tutorial.
- Operating system: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Make sure you are able to execute sudo commands.
Install passwd Ubuntu 22.04
passwd 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 passwd using APT
This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get passwd on your Ubuntu.
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:
Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install passwd Ubuntu by executing this command in the terminal.
Install passwd using Aptitude
Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.
After that, you can now install passwd, just following these steps:
Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:
Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install passwd Ubuntu by pasting this command into the terminal and pressing
Uninstall passwd 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 passwd, can be easily uninstalled by anyone.
If you installed passwd using APT or Aptitude, you could uninstall passwd on Ubuntu by following this step:
You can also execute this command if you want to uninstall passwd and remove its data and dependencies:
In this tutorial, I showed you ways to install passwd on Ubuntu 22.04 and ways to uninstall passwd too. Please contact me if you require any assistance. I’d be delighted to respond.