Information about all releases of Debian and Ubuntu. The distro-info script will give you the codename for e.g. the latest stable release of your distribution. To get information about a specific distribution there are the debian-distro-info and the ubuntu-distro-info scripts. I will show you how to install distro-info on Ubuntu 22.04 in this guide.
- OS: distro-info needs Ubuntu 22.04 to work
- Privileges: Ensure that you are able to execute the sudo commands line.
Install distro-info Ubuntu 22.04
distro-info 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 distro-info using APT
This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get distro-info on your Ubuntu 22.04.
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 download new packages from Ubuntu. Launch the terminal and enter the following Linux command:
Step 2: Start the package installation on Ubuntu 22.04. You can now install distro-info Ubuntu by executing this command in the terminal.
Install distro-info using Aptitude
With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.
After installing, you can now install distro-info 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. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:
Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install distro-info Ubuntu by executing this command in the terminal.
Uninstall distro-info 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 distro-info Ubuntu by running this command if you installed it using APT or Aptitude.
If you want to uninstall distro-info and remove its data and dependencies, you can also run the following command:
In this tutorial, I showed you ways to install distro-info on Ubuntu 22.04 and ways to uninstall distro-info too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.