PDA

View Full Version : HOWTO Double Click Install of .RPM Packages


jeffc313
February 14th, 2006, 05:48 PM
This is mostly (ok, almonst word for word, but its for rpms:KS ) taken from here http://ubuntuforums.org/showthread.php?p=637765#post637765
ok, here goes.
first you want the package alien
sudo apt-get install alien
this package will allow you to change rpms to debs and so on and so fourth.

next: Open Applications>System Tools>Applications Menu Editor
next: Click System Tools then New Entry
next:Create the Entry as Follows

Name: RPM Installer
Comment: (blank)
Command: sudo alien -i
Icon: No Icon (or choose one that you like, i like the picture of tux :))
Check the box that says run in terminal

then:Right Click on a .rpm file and select Properties (if you dont have one, download one here http://www.grisoft.cz/softw/70/filedir/inst/lnx_lws_stf__7_1-23.dir/avglinux-7.1-23_avi0672.i386.rpm)

Click Open With then Add. Select RPM Installer from the menu and click add.

next Make sure that "Open With" now has RPM Installer selected (select it if it hasn't) then click close

Open Applications>System Tools>Applications Menu Editor again. Then System Tools. Uncheck the checkmark near RPM Installer (this will remove it from the visible menu while keeping the necessary .desktop file)

Test by double clicking the .rpm package. A terminal will open, ask for your password, then install the package.

Assuming it all went smoothly, you should be all set.

Cariboo1938
January 30th, 2007, 03:26 PM
.......Assuming it all went smoothly, you should be all set.Try to revive the thread!
Hi jeff, I wonder if your HOWTO would work with an Edgy-Ubuntu6.10-amd64 system too???

yopnono
January 30th, 2007, 05:35 PM
Add -c to include scripts from the rpm as well, recommended.

Cariboo1938
January 30th, 2007, 05:41 PM
Add -c to include scripts from the rpm as well, recommended.Thanks yopnono!
As I'm a bit slow and not really an Linux expert, I need to know where to add the -c. Maybe you find a minute to give me more details on that.

yopnono
January 30th, 2007, 06:00 PM
alien -ci

If you like to know more about the different alien options just type alien --help

Cariboo1938
January 30th, 2007, 09:03 PM
Thank you, yopnono!
So far so good, I installed 'alien' with some dependencies without error.
Now I wanted to do the next step:
....next: Open Applications>System Tools>Applications Menu Editor
next: Click System Tools then New Entry
next:Create the Entry as Follows

But I don't find 'Applications Menu Editor' under -->Application -->SystemTools
What can I do to find it?

smartboyathome
April 29th, 2007, 09:18 PM
I tried this on Feisty, but it didn't work. How do I do it?

jeffc313
July 24th, 2007, 11:25 PM
I tried this on Feisty, but it didn't work. How do I do it?

what part didnt work. sorry I forget to check my tutorial. If its about the menu editor, its now called alacarte. Just type alacarte in terminal to launch it.