nirmalraj17
nirmalraj17

Reputation: 494

How to list the 3rd party softwares installed in Centos

Is there a way to list the 3rd party softwares installed in Centos?
I have tried using rpm -qa
but it contains the native packages also.
I am looking for something similar like Installed section in "Software Center in GUI mode" in CLI mode.

Upvotes: 0

Views: 1148

Answers (1)

msuchy
msuchy

Reputation: 5427

I do not have CentOS install. So I will show it how I will do that on my Fedora:

$ rpm -qi rpm |grep Vendor
Vendor      : Fedora Project

This will get me who is vendor of rpm package. You may have there something like CentOS. Get that string. And then:

$ rpm -qa --qf '%{name} %{vendor}\n' | grep -v 'Fedora Project'

This will print all installed packages which are not from vendor "Fedora Project".

Upvotes: 2

Related Questions