list of only registered applications on linux machine
i am trying to list all the registered applications installed on linux machine.
can someone suggest way to find this list using rpm or any other command/small script. i have tried the below command which using 'g' switch to list down all the packages which are part of that group: Code:
rpm -qg Applications/Archiving |
You can use both of these on Red Hat/Fedora machines:
Code:
yum list installed |
Quote:
could u help me in getting this list by using any of the switches or scripts |
Quote:
Code:
# yum grouplist|grep -i application What distribution are you using? Perhaps it has "applications" and a certain way to list them. |
Quote:
Simillar to the below mentioned command Code:
yum grouplist|grep -i application |
Quote:
|
yes, would be nice to specify what do you mean by application. vi is one of them? What about vim, gvim? Are they 3 different apps or just only one.
I do not think you can have a general algorithm to recognize all the executables (if they are installed/registered or not, is a "real" app or not). |
Quote:
we can query the rpms using command Code:
rpm -qg <group name> Amusements/Games Amusements/Graphics Applications/Archiving Applications/Communications Applications/Databases Applications/Editors Applications/Emulators Applications/Engineering Applications/File Applications/Internet Applications/Multimedia Applications/Productivity Applications/Publishing Applications/System Applications/Text Development/Debuggers Development/Languages Development/Libraries Development/System Development/Tools Documentation System Environment/Base System Environment/Daemons System Environment/Kernel System Environment/Libraries System Environment/Shells User Interface/Desktops User Interface/X User Interface/X Hardware Support i have few queries on this : 1. are these mentioned groups are standard one for every linux flavours ? 2. Can we make the above mentioned command work to list only the packages which are assigned to Application related group. For eg : the below command will list only rpm packages which are assigned to Applications/Text group: Code:
[root@VM172016001139 ~]# rpm -qg Applications/Text Thnaks in advance for your guidance. |
Quote:
Quote:
Quote:
Code:
for group in $(rpm -qa --qf '%{group}\n' \* |grep Application|sort -u) |
actually I have an ubuntu, running synaptic (as package manager) and I have no such group (applications)
Therefore I would say that kind of grouping is not standard for every linux flavours. |
Quote:
this is the thing for which i was looking for...thanks a trillion berndbausch...thanks for helping new bee like me..:) |
Quote:
One thing I should have done is explain this gibberish to you: Code:
rpm -qa --qf '%{group}\n' \* |grep Application|sort -u The '\*' is redundant; I just copied the string from a webpage without thinking. Better leave it out. We use grep to filter those groups that contain the word Application, and finally sort -u to ensure that each group appears only once in the output. |
Quote:
|
# 8 .
Quote:
And of course the free versions of RHEL : CentOS, Scientific Linux. Suse, Mandriva, PCLinuxOS will use other group names. - |
All times are GMT -5. The time now is 08:46 AM. |