Method of Fixing the “apt-add-repository” Command not found Issue on Debian 10
For fixing the “apt-add-repository” command not found issue on Debian 10, you need to perform the following two steps:
Step 1: Update your Debian 10 System
Since we will be installing an additional package for resolving the “apt-add-repository” command not found issue that is why we need to update our Debian 10 system with the command shown below:
This command will update your Debian 10 system’s cache so that it gets all set to install any new package on it.
Step 2: Install the “software-properties-common” Package on your Debian 10 System
After updating our Debian 10 system, we will install that package in which the “apt-add-repository” command resides. This package can be installed with the following command:
When this package is installed on your Debian 10 system, you can try adding any repository of your choice to your system, and it will be added without any difficulty.
By going through the procedure prescribed in today’s tutorial, you will be able to fix the “apt-add-repository command not found” error instantly on your Debian 10 system. In this way, you will be able to add any repository of your choice to your Debian 10 system without any worries.