Link to home
Start Free TrialLog in
Avatar of asgarcymed
asgarcymedFlag for Portugal

asked on

s there any file which lists all RPM packages installed ?

I installed Mandriva Linux and I have done many installations using urpmi command. Due to corruption, now my Mandriva Linux became unbootable (I cannot boot it)... How can I see what are the RPMs that are installed ? Is there any file which lists all RPM packages installed ? After I boot Knoppix Live CD, I would like to review all the additional applications that were installed in my corrupted Mandriva Linux , before I format the HDD in order to re-install Mandriva Linux (I will repeat all urpmi names).
Thanks in advance.  
Regards.
ASKER CERTIFIED SOLUTION
Avatar of owensleftfoot
owensleftfoot

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alcomancer
alcomancer

/var/lib/rpm/packages should do it, assuming that the copy of rpm is unmodified.

Good luck.
How can I see what are the RPMs that are installed ?

In terminal window ( command line shell/Linux Console ) just type:
rpm -qa | more

**************************** explanation of command *********************************
In case you are unfamiliar with the command line, let me break this command down. rpm is the command name. It tells the computer you want to run the rpm program. In unix, the set of letters following a dash (-) is called an option or switch. The -q tells rpm you want the query operation. The following a in the -qa is a modifier for the query option which tells rpm you want to list all the packages. The | more part of the above command is not a feature of rpm at all. It is a standard unix way to show output one page at a time.
More at : http://www.tfug.org/helpdesk/linux/rpm.html
*************************************************************************************

nedvis
Avatar of asgarcymed

ASKER

Is it possible to get a description of each rpm package that is installed (rather than only listing each rpm package's names) ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you.
Regards.