How to Uninstall and Install age Ubuntu 22.04

Updated: August 31, 2022

age features small explicit keys, no config options, and UNIX-style composability. In this tutorial, I will show you ways to install age Ubuntu 22.04.

Requirements to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install age on Ubuntu 22.04

Install age Ubuntu 22.04

age 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 that you think is easy and you can follow.

Install age 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 instructions to install age on your Ubuntu 22.04.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install age Ubuntu by executing this command in the terminal.

sudo apt -y install age

Install age using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt -y install aptitude

After installing aptitude, you can now install age by following these steps:

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. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install age Ubuntu by executing this command in the terminal.

sudo aptitude -y install age

Uninstall age 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.

This command can be used to uninstall age from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove age

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

sudo apt autoremove --purge age

Conclusion

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