Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

RPM is the Redhat Package Manager.

Ubuntu is based on Debian and uses APT.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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