LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-12-2004, 10:24 PM   #1
djKale
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.

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

Rep: Reputation: 60
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
FedoraNEWS.ORG
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
rpmfind
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:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages
Red Hat Linux 8.0 Package Management Tool
Red Hat 9.0 Package Management Tool
Manage users
redhat-config-users
# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
 
Old 06-12-2004, 11:25 PM   #3
djKale
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...

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

Rep: Reputation: 65
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, 09:11 AM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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
Freshmeat
Sourceforge
rpmfind
# 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.
Code:
[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 09:15 AM.
 
Old 06-16-2004, 02:00 AM   #6
djKale
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...

Kale
 
  


Reply



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 10:55 PM
I can't install apt RPM no application associated yeehi Fedora - Installation 1 05-25-2004 03:11 AM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
writing a RPM management application eantoranz Programming 10 01-21-2004 12:18 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 PM.

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