How to Uninstall or Install apt-show-source on Ubuntu 22.04

Updated: October 14, 2022

This program parses the APT lists for source packages and the dpkg status file and then lists every package with a different version number than the one installed. It’s very useful if your deb-src sources.list entries point to unstable and your deb entries point to stable. In this tutorial, I will show you ways to install apt-show-source Ubuntu 22.04.

Prerequisites to install

  • OS: apt-show-source needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install apt-show-source on Ubuntu 22.04

Install apt-show-source Ubuntu 22.04

apt-show-source 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 apt-show-source using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get apt-show-source 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 download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install apt-show-source Ubuntu by pasting this command into the terminal and executing it.

sudo apt install apt-show-source

Install apt-show-source using Aptitude

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

sudo apt-get -y install aptitude

Then, you can now install apt-show-source, just 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: Start installing the packages on Ubuntu 22.04. You can now install apt-show-source Ubuntu by executing this command in the terminal.

sudo aptitude install apt-show-source

Uninstall apt-show-source on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just apt-show-source.

This command can be used to uninstall apt-show-source from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove apt-show-source

If you want to uninstall apt-show-source and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge apt-show-source

Conclusion

In this guide, I showed you ways to install apt-show-source on Ubuntu 22.04 and some ways to uninstall apt-show-source too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.