Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-12-2004, 11:24 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Lacey, WA
Distribution: SUSE 9.2(current), FC2, FC3
Posts: 8

Rep: Reputation: 0
Application for rpm files???

I want to be able to double click an rpm file and have it extract and install the package automatically. This used to work but stopped all of a sudden. I did a search and found out how to install the package from the terminal, but I don't want to have to login as root everytime to install a package. The search also led me to believe I should associate the file roller with rpm files, which does open the file, but doesn't install them.

How do I change it so that rpm files are opened by the correct application and installed automatically? I am using Fedora Core 2 if it matters.

Old 06-12-2004, 11:31 PM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You had better administer your system as root, whether you want to or not.

If you want an insecure system running everything as root, I suggest using Microsoft Windows. It is great at that.

# Red Hat & Fedora links
Did you download? See: Installing from a Hard Drive
Red Hat 9 Rescue Mode
Red Hat 8 Rescue Mode
The Fedora HOWTO explains the different software managers.
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks
# Red Hat 7.3 down configuration commands
setup leads to several configuration tools
# Red Hat 7.3 up configuration commands
Configure soundcard:
Configure X server:
Configure network:
Manage software:
Red Hat Linux 8.0 Package Management Tool
Red Hat 9.0 Package Management Tool
Manage users
# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
Old 06-13-2004, 12:25 AM   #3
LQ Newbie
Registered: Oct 2003
Location: Lacey, WA
Distribution: SUSE 9.2(current), FC2, FC3
Posts: 8

Original Poster
Rep: Reputation: 0
Of course I'm gonna be the root user when administering the system, but instead of logging out as one user and logging in as root, it'll just ask for the root password.

I could care less if the system is secure, it's a PII that my girlfriend uses to surf the web and send email. Any Windows box will be destroyed by spyware in a month the way she surfs...thus the reason for using Linux on this system.

It would be nice to know what the corrcet app is supposed to be for opening rpm files...

Old 06-13-2004, 01:02 AM   #4
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hi djKale!!!

Are you using Mandrake? If so, the correct program to associate when double-clicking in a rpm is "gurpmi". You don't have to logout and login as root to install a package either. Simply open a terminal/console and type "su" without the quotes to become the super user.

Good luck!
Old 06-13-2004, 10:11 AM   #5
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
According to his orig post, he runs Fedora Core 2, so he should have yum, apt-get, and the software thingy in Nautilus available, but we don't know what he has installed.

I presume they are still use the same gui package control, redhat-config-packages, don't they?

Do you have a "start here" icon on the desktop? A bunch of clicking through that will find the pacakge manager if you don't want to open an x terminal.

Another way, search through your menu until you find "add/remove applications" and click on that.

Yet another way: Launch Nautilus (your file browser), Menu Item "Go", select "start here", then doubleclick "applications".

I still suggest apt4rpm with the Synaptic front end for the best software management.

There is lots of info about these if the trouble to read some at FedoraNEWS.ORG.

# I can't figure out what software I want and how to install/uninstall it
The table of equivalents, replacements, analogs of Windows software in Linux
# Find software here
# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

Basic system administration
To change to the full root account (system administrator), if you are running X, open an x terminal and use these commands from your user account. Note the change in the prompt. You can do the same from a virtual terminal as well, but you can't open an x terminal to do so.
[fancy@tinwhistle fancy]$ su -
Password: <give root password and press enter>
[root@tinwhistle root]#
Remember, now whatever you command in root (it's the "god" mode. You can bless or destroy at your whim) usually gets done if enough system is left to carry out the command. Sit on your hands and read the commands you type at least 3 times before pressing the enter key when in root.

Last edited by fancypiper; 06-13-2004 at 10:15 AM.
Old 06-16-2004, 03:00 AM   #6
LQ Newbie
Registered: Oct 2003
Location: Lacey, WA
Distribution: SUSE 9.2(current), FC2, FC3
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks guys. It was actually very simple. When logged in as root, right click the file, select open with --> other application, a list appears. File Roller was the default since I changed it, but there was another one named "Install Packages" so I selected it and it worked. I don't know how it became "unassociated" with rpm files, but it was simple to fix...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i install rpm in FC using some gui application amolgupta Linux - Software 3 07-24-2005 11:55 PM
I can't install apt RPM no application associated yeehi Fedora - Installation 1 05-25-2004 04:11 AM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 06:24 PM
writing a RPM management application eantoranz Programming 10 01-21-2004 01:18 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 07:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration