I am Creating a project to view and upgrade packages in Ubuntu. Is there any command for list only Third party software?
dpkg --list
shows all packages installed in OS.
I am Creating a project to view and upgrade packages in Ubuntu. Is there any command for list only Third party software?
dpkg --list
shows all packages installed in OS.
To list the packages installed from third-party repositories:
ubuntu-security-status --thirdparty
To list the locally installed or obsolete packages missing from any enabled repository:
ubuntu-security-status --unavailable
To further check the specifics, type in:
apt-cache policy <package_name>
Using apt
and grep to get local(-obsolete) packages, i.e. there is nothing in the package that identifies the origin of the package.
apt list --installed | \
grep -F "$(gettext 'apt' '[installed,local]')"
LC_ALL=C
, for example, is used.