BleepingComputer.com: How To Install

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Install ... .rpm files

#1 User is offline   MattV 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 736
  • Joined: 21-July 07
  • Gender:Male
  • Location:Asheville NC

Posted 27 September 2007 - 06:16 PM

I didn't really want to start a new thread for this, but after I searched* all over the forums - after first trying to figure it out for myself - I'll here to ask a question that will probably be ansered with a single post. Actually, two questions.

How do I install .rpm files? And do they have to be in the root directory to do it?

One night I was using alien -i [path/filename] to try and install something, and I was having no success. As an experiment, I copied the file to the rott directory and presto! no problem. The problem with that approach is that I don't think it's a good idea to download everything I might want to play with to /root. I'd much rather put downloads in a folder named something like "Downloads" and work with them from there.

But, anyways, what do I do with .rpm files?



* I had no success. The search function rejected every variant of "install .rpm" I could think of. Doesn't like the "*" character, or anything else I tried.

#2 User is offline   BlackSpyder 

  • Bleeping Big Rig
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,322
  • Joined: 23-January 06
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)

Posted 27 September 2007 - 07:56 PM

Depends on the Distro. on Debian Based Distros you have to use "alien" to convert them to .deb files. Basic usage of alien works like this
Ubuntu example
sudo alien -d /directory/tree/package.rpm


Standard "Root user" Linux Example
:flowers:
 Su

Insert root password
:thumbsup:
alien -d /directory/tree/package.rpm


after alien spits out the *.deb file. Right click the icon ans select "Install with Insert package manager name"
If your using a RedHat Linux derivative (RPM=Redhat Package Manager) just right click the icon that you downloaded and select "Install with Insert package manager name"

If you dont know feel free to ask

BTW -d is how alien knows to spit out a .deb file
Posted Image




#3 User is offline   MattV 

  • Distinguished Member
  • PipPipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 736
  • Joined: 21-July 07
  • Gender:Male
  • Location:Asheville NC

Posted 28 September 2007 - 11:07 AM

View PostBlackSpyder, on Sep 27 2007, 08:56 PM, said:

Depends on the Distro. on Debian Based Distros you have to use "alien" to convert them to .deb files. ... BTW -d is how alien knows to spit out a .deb file

OK, thanks. I was using alien -i, because that's what the installation instruction said to do*, but this way makes more sense. I did manage to get it to give me an error message about creating a <filename>.deb file. At that time I was trying it under "fakeroot". They procedure you've outlined will probably solve the problem.



* Sometimes you're better off ignoring instructions. :thumbsup:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users