Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th November 2006, 04:19 AM
mrpervie Offline
Registered User
 
Join Date: Nov 2006
Posts: 26
Smile could somone give m e a simple walkthrew on how to install an rpm and then run

new to fedora and im not quite sure how the file system works nor do i know what program to open rpms with i know u can install in your console by typing rpm -i <path> but then how do u set an icon and/or run the program
if it helps im trying to install opera.rpm if you need additional information about my configuration just let me know what u need to know id like to get this done as easy and quick as possible thanks guys
Reply With Quote
  #2  
Old 28th November 2006, 04:20 AM
mrpervie Offline
Registered User
 
Join Date: Nov 2006
Posts: 26
oh and if i just double click it it wants me to open it with a program but im not sure what i want to open it with so quit tellin me to double click =p
Reply With Quote
  #3  
Old 28th November 2006, 04:47 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Since you mentioned opera.rpm... once you install it, you can forget about rpm. You don't open rpms after you install them. The program name will simply be opera. You should be able to find it in the menu. opera should be under internet (though I'm not familiar with gnome menu setup), or just type opera in a terminal and opera should start.
If you want a desktop icon, rightclick on the desktop and click new and choose link to application. or something similar. Then just fill in the blanks. You may need to know the path to the app. In most cases it will be /usr/bin/application-name, but there should be a browse button to link it for you.
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #4  
Old 28th November 2006, 04:51 AM
nick.stumpos's Avatar
nick.stumpos Offline
Registered User
 
Join Date: Feb 2005
Location: Lansing, Mi
Age: 28
Posts: 2,222
you should be able to right click on the desktop and create a launcher, then fill in the aunch command that you would use in a terminal, i believe for orpera it is just opera, to be able to double click rpms and have them install right click on the rpm go to properties then opens with, then add then custom, and type system-install-packages
__________________
As always
Love, Life, Loyalty, Wisdom, Knowledge, And Understanding
FC6: Common Questions answered
Reply With Quote
  #5  
Old 28th November 2006, 05:05 AM
mrpervie Offline
Registered User
 
Join Date: Nov 2006
Posts: 26
awsome im starten to get the hang of this....
Reply With Quote
  #6  
Old 28th November 2006, 05:14 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Isn't it just kewel?
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #7  
Old 28th November 2006, 05:41 AM
mrpervie Offline
Registered User
 
Join Date: Nov 2006
Posts: 26
i love this u have no idea...time to move on to bigger and better things....ok now about cedega lol.....how do i install somthing thats not an rpm? like tgz...thats like linux archive or zipped orsomthing?
Reply With Quote
  #8  
Old 28th November 2006, 05:45 AM
mrpervie Offline
Registered User
 
Join Date: Nov 2006
Posts: 26
k i downloaded it to /root/downloads/transgamming.Cedega i just want wine tho im not tryin to get any games started dont worry =P.....ok in there theres ,cedega-engine-5.2-local-update.i386.cpkg,cedega-small-5.2-1.i386.rpm...oh chit i guess the rpm is in here LOL!
Reply With Quote
  #9  
Old 28th November 2006, 05:45 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Nickisgod1, you are much better at "communicating" this stuff so if you don't mind, take it away.
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #10  
Old 28th November 2006, 05:47 AM
fozner Offline
Registered User
 
Join Date: Aug 2005
Posts: 163
If you have Fedora, it is better to fetch your rpms using yum. That way they will download any additional dependencies you might need.

For example, to install the game, torcs:

Code:
su
yum install torcs
exit
Now you can run it by typing torcs.

What most folks don't know is many packages also install other runnable software.
To find out what came with torcs, take a look at the rpm package with a command like:
rpm -q --filesbypkg torcs | grep /bin

Code:
torcs                     /usr/bin/accc
torcs                     /usr/bin/nfs2ac
torcs                     /usr/bin/nfsperf
torcs                     /usr/bin/texmapper
torcs                     /usr/bin/torcs
torcs                     /usr/bin/trackgen
If you don't like messing around at the command line, install yumex. It's a graphical front-end to yum.

References:
man yum
man rpm
man grep
man yumex
Reply With Quote
  #11  
Old 28th November 2006, 06:03 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
This could not be more true, but sometimes you have to compile (or build your own rpm) so it's something everone should know. So here goes.
For a .tgz or .tar.gz, first unpack with
Code:
tar zxvf filename.tar.gz
then cd to the newly created dir and look for INSTALL and README and read them. Generall the installation will be 3 or 4 steps first is ./configure. If that completes without errors, next is make, if that completes witout errors you can run the program from that dir to check it out. If you are happy with it as root do make install. make install is not necessary if you just want to run the app locally (from it's own dir). Not all .tar.gz files are of the compile type. that's why you need to look for INSTALL or README. some are .sh or .bin and need to be made executable [CODE]chmod +x filename.bin (or .sh) nd then run with ./filename (I'm not 100% sure on the .bin)

For .tar.bz, it's basically the same but instead of tar zxvf it's tar jxvf

But as fozner said, always yum whenever possible. "Tarballs" will not get updated through yum and need to be managed by you. They need to be updated by you and need to be removed by you so it's also a good idea to keep the original "unpacked" dir around for uninstalling (if there is a make uninstall in the dir).

EDIT: The chmod command probably needs to be chmod u+x filename and there is also a number system for chmod but I don't use it enough to be familiar. I'll read it and remember the convention for a couple of days, then it's gone
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted

Last edited by u-noneinc-s; 28th November 2006 at 06:07 AM.
Reply With Quote
  #12  
Old 28th November 2006, 06:31 AM
nick.stumpos's Avatar
nick.stumpos Offline
Registered User
 
Join Date: Feb 2005
Location: Lansing, Mi
Age: 28
Posts: 2,222
Quote:
Originally Posted by u-noneinc-s
This could not be more true, but sometimes you have to compile (or build your own rpm) so it's something everone should know. So here goes.
For a .tgz or .tar.gz, first unpack with
Code:
tar zxvf filename.tar.gz
then cd to the newly created dir and look for INSTALL and README and read them. Generall the installation will be 3 or 4 steps first is ./configure. If that completes without errors, next is make, if that completes witout errors you can run the program from that dir to check it out. If you are happy with it as root do make install. make install is not necessary if you just want to run the app locally (from it's own dir). Not all .tar.gz files are of the compile type. that's why you need to look for INSTALL or README. some are .sh or .bin and need to be made executable [CODE]chmod +x filename.bin (or .sh) nd then run with ./filename (I'm not 100% sure on the .bin)

For .tar.bz, it's basically the same but instead of tar zxvf it's tar jxvf

But as fozner said, always yum whenever possible. "Tarballs" will not get updated through yum and need to be managed by you. They need to be updated by you and need to be removed by you so it's also a good idea to keep the original "unpacked" dir around for uninstalling (if there is a make uninstall in the dir).

EDIT: The chmod command probably needs to be chmod u+x filename and there is also a number system for chmod but I don't use it enough to be familiar. I'll read it and remember the convention for a couple of days, then it's gone
good point about building rpms, i think i will add that to my how-to, i doubt you need to set the suid bit on most progs so the u probably isnt necessary, and finally the number system is really easy to remember if you know how it is based. its just in this order
owner group other
and the numbers are based on binary in this order
read write execute
so
111=7 , 110=6 101=5
so with the perms 765
the owner can read write and execute the file
the group can read and write to the file
and all others can read and execute the file
__________________
As always
Love, Life, Loyalty, Wisdom, Knowledge, And Understanding
FC6: Common Questions answered
Reply With Quote
  #13  
Old 28th November 2006, 06:49 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Sorry Nickisgod1 but you just confused the h e double hockey sticks out of me. I've never seen the 111=7 , 110=6 101=5.
I remember 1=r 2=w 4=x so to take it farther 3=rw 5=rx 6=wx 7=rwx (on a "per ugo" basis so that 777 would be rwxrwxrwx or ugo+rwx
Is this also correct? I find this formula semi easy to remember, but it doesn't just come to me. I have to think about it.
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #14  
Old 28th November 2006, 07:05 AM
nick.stumpos's Avatar
nick.stumpos Offline
Registered User
 
Join Date: Feb 2005
Location: Lansing, Mi
Age: 28
Posts: 2,222
yup thats corect the 111 is just the binary representaion
001=1
010=2
011=3
100=4
101=5
110=6
111=7
__________________
As always
Love, Life, Loyalty, Wisdom, Knowledge, And Understanding
FC6: Common Questions answered
Reply With Quote
  #15  
Old 28th November 2006, 07:14 AM
u-noneinc-s's Avatar
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,862
Thanks, now it makes more sense. Gotta save that away somewhere.
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
Reply

Tags
install, rpm, run, simple, somone, walkthrew

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hopefully Simple Install Question daviddoria Installation and Live Media 7 6th January 2008 12:22 AM
RPM Give strange Error during Install piga Using Fedora 6 24th September 2007 04:43 PM
Installing GUI FC4 after simple install dashdanw EOL (End Of Life) Versions 4 22nd November 2006 03:51 AM
Need somone? ricanelite Mac Chat 3 21st April 2006 10:07 PM


Current GMT-time: 11:14 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat