Monday, June 12, 2017

Find Installed Repositories From Commandline In Linux

use this command to find the installed repositories in your DEB based system like Debian, Ubuntu, Linux Mint etc.
sudo grep -Erh ^deb /etc/apt/sources.list*

Run the following command to view the list of installed packages in DEB based systems
sudo apt-cache policy

1 comment: