LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-19-2004, 07:10 PM   #1
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Rep: Reputation: 15
Can't install rpm's without using shell


I'm confussed, I've just installed fresh copy of core 2 and tried to set everything up again, I got ntfs running and other things...but something caught my eye...if I double click on an rpm file, it prompts me for a program to open it with....but if I use command line, it works fine...what could be the problem or what program is used to install from rpm by just double clicking on the file...thanks...yum and up2date work fine...I dunno
 
Old 05-19-2004, 09:36 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Mineral, Virginia
Distribution: Debian 8
Posts: 7,891

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
"if I double click on an rpm file, it prompts me for a program to open it with....but if I use command line, it works fine...what could be the problem or what program is used to install from rpm by just double clicking on the file"

You have to tell konqueror what program to open .rpm files with. Use kcontrol (Control Center). Click on KDE Components -> File Associations -> application -> x-rpm Then put the program that you want to use at the top of the Application Preference Order. Then click on Apply.

I use kpackage. There is a problem with Fedora that Red Hat removes kpackage from Fedora before they ship it. So I have created a rpm that you can use to install kpackage in Fedora Core 1. Whether or not this rpm will work on Fedora Core 2, I have no idea. Somebody reported that it also works on Red Hat 9. If you try this rpm on Fedora Core 2 please let me know if it works or not.

http://users.rcn.com/srstites/rpm.we...edora.rpm.html

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 05-20-2004, 11:46 AM   #3
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
I think it is a step backwards, before you had a nice rpm installer, and now you can not install PRM's without lots of fiddling, and then even no indication if it was installed or not.
I can not get the RPM installer to work at all in GUI
 
Old 05-20-2004, 03:13 PM   #4
Xyre
Member
 
Registered: Dec 2003
Distribution: Slackware 10
Posts: 32

Rep: Reputation: 15
i like it better when i do it through the shell, then i can see exactly whats going on

rpm -ivh rpmfile.rpm

i never used any of the gui programs
 
Old 05-20-2004, 03:24 PM   #5
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Xyre
i like it better when i do it through the shell, then i can see exactly whats going on

rpm -ivh rpmfile.rpm

i never used any of the gui programs
Yes, that's what I've been doing but sometimes its easier for me to just double click besides why would they take it out, I was thinking it was something with my install or what not.
 
Old 05-21-2004, 01:03 AM   #6
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
Even I'm also using Redhat Enterprises AS & WS and there you can just click and you install RPM's it is a step backwards, I also mainly use the Shell, but I would also like to be able to just click on it, and besides I always argue with the Windows users who claims that Linux is so complicated, and I tell them " no it is not complicated it is as easy as Windows " and then now ?? Like this Linux will never make an impact in the market, only for people like us who have been working with Linux for years.
And right why did they take it out ? It is just like Microsoft when they come out with a new OS, also many things are missing or taken out.
 
Old 05-21-2004, 02:30 AM   #7
aesahaettr
Member
 
Registered: Jun 2003
Location: New Zealand
Posts: 74

Rep: Reputation: 15
I doubt they took it out, I've never seen a gui app in core 1, so it's probly just a bug. If you could double click rpm's in FC1 and I couldn't, then there's no reason why you might have that happen to you with FC2.
 
Old 05-23-2004, 03:17 PM   #8
lramos85
Member
 
Registered: Sep 2003
Location: Riverside, Ca
Distribution: Gentoo, FC3
Posts: 125

Rep: Reputation: 15
Fix:

I had the same problem but what you should do is that when it prompts to associate program or cancel, click on associate program then on the bottom where it says "program to run" enter anything, I entered "rpm" then click ok and close it, then go to the rpm file and right click, then select open with... and then "other aplication..." then there should be a list of applications associated with x-rpm so choose "Install Packages" and click "Modify" then on the list of selections select: "Use default for rpm files" then click done and that should do it for whenever you double click on the rpm file. Hope this help other people.

-Luis R.
 
Old 05-23-2004, 05:22 PM   #9
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Re: Fix:

Quote:
Originally posted by lramos85
I had the same problem but what you should do is that when it prompts to associate program or cancel, click on associate program then on the bottom where it says "program to run" enter anything, I entered "rpm" then click ok and close it, then go to the rpm file and right click, then select open with... and then "other aplication..." then there should be a list of applications associated with x-rpm so choose "Install Packages" and click "Modify" then on the list of selections select: "Use default for rpm files" then click done and that should do it for whenever you double click on the rpm file. Hope this help other people.

-Luis R.
Thanks but when I double click I only get the Open With Dialog and when I enter rpm on top it closes and when I go to open with, there is no "other application..." or anything like that listed there...
 
Old 05-23-2004, 10:23 PM   #10
awtoc123
Member
 
Registered: Apr 2002
Location: China
Distribution: Suse 10
Posts: 225

Rep: Reputation: 30
We are all in the same boat, I thinkit is a bug, and should be reported as such.

I also have to use the shell to install RPMs, and I agree it is in some cases it is a huge advantage to just be able to click, after all REDHAT enterpises AS & WS have the facility, so why not Fedora ? If they took if out then it is a BIG step BACKWARDS for Fedora, all LINUX distros have the facility to just click to install RPMs.
 
Old 05-24-2004, 02:45 AM   #11
rykel
Member
 
Registered: Jan 2004
Location: Singapore
Distribution: Main Distros: Ubuntu & SUSE, OTHERS: MEPIS, FC, Mandriva, Linspire, Xandros, Knoppix
Posts: 58

Rep: Reputation: 15
Hi people.

All went well with my new Fedora Core 2 installation, but alas, when I tried to install an apt rpm using GNOME double-click (like I have always done so in FC1), it came up with the same problem... asking me to associate a program with rpm files...

But which program in the world do I associate them with??

If someone can help with a clear step-by-step instruction, it would be much appreciated, thank you!!


Regards,

Rykel
Singapore
 
Old 05-24-2004, 03:19 AM   #12
rykel
Member
 
Registered: Jan 2004
Location: Singapore
Distribution: Main Distros: Ubuntu & SUSE, OTHERS: MEPIS, FC, Mandriva, Linspire, Xandros, Knoppix
Posts: 58

Rep: Reputation: 15
hi guys,

i am sorry i type faster than i read...

i took iramos85's advice, and now my rpm works... thanks!!!

btw, it's still a pity tat such a basic functionality as double-clicking an rpm to install it has been removed. =)


regards,

rykel
singapore
 
Old 06-07-2004, 12:25 AM   #13
brookstimtimtim
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Can't install rpm's without using shell

In Fedora Core2 the rpm gui is still there you just have to find it. I use KDE and what I did was opened the Control Center and looked under "KDE Componets / File Associations" once there I seach for "rpm" the added this for the command "/usr/bin/system-install-packages %F" , in Core 1 the command was "/usr/bin/redhat-install-packages %F" .
 
Old 06-29-2004, 11:49 PM   #14
suitesixtynine
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
im having the same problem AND im a newbie ... how do i install from shell... i tried the control center way and couldnt get it to work

Last edited by suitesixtynine; 06-29-2004 at 11:50 PM.
 
Old 06-30-2004, 12:03 AM   #15
RagingIfrit
Member
 
Registered: Jun 2004
Location: Baltimore, Maryland
Distribution: Fedora Core 2
Posts: 69

Rep: Reputation: 15
Re: Can't install rpm's without using shell

Quote:
Originally posted by brookstimtimtim
In Fedora Core2 the rpm gui is still there you just have to find it. I use KDE and what I did was opened the Control Center and looked under "KDE Componets / File Associations" once there I seach for "rpm" the added this for the command "/usr/bin/system-install-packages %F" , in Core 1 the command was "/usr/bin/redhat-install-packages %F" .
thats great, but the default X windowing system for Fedora 2 is GNOME. Lets start with that.

Last edited by RagingIfrit; 07-02-2004 at 11:42 PM.
 
  


Reply


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
Can't install rpm's!!! Braveheart1980 Linux - General 8 01-02-2004 05:25 PM
RPM's won't install Hoops66 Red Hat 2 10-16-2003 04:15 PM
RPM's won't install DigiDave Linux - Newbie 10 09-29-2003 05:48 AM
Can't install RPM's kronchev Linux - Software 1 07-30-2003 09:05 AM
rpm's won't install -- help drumma64 Linux - Software 5 06-05-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:56 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