apt-show-source command not found

In this troubleshooting guide we learn how to fix apt-show-source command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

apt-show-source: command not found

or when using sudo you get the following error message

sudo: apt-show-source: command not found

Solutions to apt-show-source: command not found

How To Fix apt-show-source: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu apt-show-source is provided by apt-show-source package.

apt-show-source is:

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install apt-show-source

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install apt-show-source.

sudo apt -y install apt-show-source

Or if you have aptitude installed you can use the following command.

sudo aptitude install apt-show-source

Summary

In this tutorial we learn how to fix apt-show-source command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.