LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Can't install rpm's without using shell (https://www.linuxquestions.org/questions/fedora-35/can%27t-install-rpm%27s-without-using-shell-183481/)

niteshadw 05-19-2004 07:10 PM

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

jailbait 05-19-2004 09:36 PM

"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

awtoc123 05-20-2004 11:46 AM

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

Xyre 05-20-2004 03:13 PM

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

niteshadw 05-20-2004 03:24 PM

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.

awtoc123 05-21-2004 01:03 AM

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.

aesahaettr 05-21-2004 02:30 AM

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.

lramos85 05-23-2004 03:17 PM

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.

niteshadw 05-23-2004 05:22 PM

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...

awtoc123 05-23-2004 10:23 PM

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.

rykel 05-24-2004 02:45 AM

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

rykel 05-24-2004 03:19 AM

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

brookstimtimtim 06-07-2004 12:25 AM

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" .

suitesixtynine 06-29-2004 11:49 PM

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

RagingIfrit 06-30-2004 12:03 AM

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.


All times are GMT -5. The time now is 09:31 AM.