I have an Ubuntu Linux on a VMWare running and I've installed RPM Package Manager. However when I try to query all packages using the rpm -qa command, I don't get any results returned.

How can I fix this?

I'm a Linux beginner, BTW.

link|improve this question

75% accept rate
feedback

2 Answers

up vote 2 down vote accepted

RPM is the Redhat Package Manager.

Ubuntu is based on Debian and uses APT.

link|improve this answer
feedback

While you can install RPM in Ubuntu, I think you would be better off to stick with Ubuntu's package manager that uses the DEB package format. To quote from the Ubuntu Synaptic output,

On Debian and derived systems it is recommended to use "alien" to convert RPM packages into .deb format instead of bypassing the Debian package management system by installing them directly with rpm.

Here is a link to how to use Alien.

According to Wikipedia, the RPM database is located in /var/lib/rpm and it stores information about packages installed under RPM. You may have gotten no output because there were no packages installed under RPM.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.