| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-18-2012, 10:39 PM
|
#1
|
|
Senior Member
Registered: Dec 2011
Location: Columbia , MD
Distribution: Fedora & Black Opal 64
Posts: 1,591
Rep: 
|
Fedora, Mozilla and Applications
Hi:
I just installed Fedora 17 XFCE on my Vaio-
I know that Yum is a utility that I should be using for things to be installed but I don't know how to use Yum.
Does Yum only perform tasks when in the terminal as a 'Root' user?
Do I need to install Red Hat Package Mgr?
Is this cmd correct?
Code:
su
(type in my password)
yum update firefox
Any help is appreciated; it's a bit overwhelming for me at the moment-
Thanks in advance
Last edited by Ztcoracat; 12-18-2012 at 10:40 PM.
Reason: Code Tags
|
|
|
|
12-18-2012, 10:58 PM
|
#2
|
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,901
|
yes, yum only works as root
but you would run
Code:
su -c 'yum install firefox'
or simply
yes that would work, but it's preferable just to update all packages instead of one at a time.
|
|
|
|
12-18-2012, 11:07 PM
|
#3
|
|
Senior Member
Registered: Dec 2011
Location: Columbia , MD
Distribution: Fedora & Black Opal 64
Posts: 1,591
Original Poster
Rep: 
|
Thanks; frieza for the prompt reply.
Quote:
|
yes that would work, but it's preferable just to update all packages instead of one at a time.
|
So if I understand you I could run:
What does the ( -c ) variable represent?
I have learned a little from the website www.fedoraproject.org. Is there other documentation that you could recommend I read and other websites I could learn from?
Last edited by Ztcoracat; 12-18-2012 at 11:12 PM.
|
|
|
|
12-18-2012, 11:20 PM
|
#4
|
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,901
|
the -c is a swtich, it tells su to run the specified command (which should be in quotes such as
so the command understands that the 'update' directive is part of the yum command and not the su command)
|
|
|
|
12-18-2012, 11:31 PM
|
#5
|
|
Senior Member
Registered: Dec 2011
Location: Columbia , MD
Distribution: Fedora & Black Opal 64
Posts: 1,591
Original Poster
Rep: 
|
Ahhh; didn't know it was a switch-
In the future will I need to use quotes anytime that I use the (-c)switch?
|
|
|
|
12-18-2012, 11:59 PM
|
#6
|
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,901
|
anytime the command includes spaces
for instance
or
would need quotes (single or double work, but there is a subtle difference between the two, though i'm not quite sure how to explain it)
whereas
would not
|
|
|
|
12-19-2012, 12:15 AM
|
#7
|
|
Senior Member
Registered: Dec 2011
Location: Columbia , MD
Distribution: Fedora & Black Opal 64
Posts: 1,591
Original Poster
Rep: 
|
Ok; anytime that the cmd has spaces; got it-
But how come this cmd with 'reboot' would not need the " " quotes?
|
|
|
|
12-19-2012, 12:31 AM
|
#8
|
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,901
|
why? because it is a one word command with no flags
the quotes are just to avoid the su command assuming that extra switches and flags are being passed to SU rather than the command being with su.
|
|
|
|
12-19-2012, 12:54 AM
|
#9
|
|
Senior Member
Registered: Dec 2011
Location: Columbia , MD
Distribution: Fedora & Black Opal 64
Posts: 1,591
Original Poster
Rep: 
|
Oh, so;one word cmd's with no flags should not have ""quotes-
Thank you
I see I have some learning to do in regard to using commands properly with Fedora-
|
|
|
|
12-19-2012, 12:59 AM
|
#10
|
|
Guru
Registered: Aug 2005
Posts: 9,530
|
Hi Ztcoracat
from the destining minority here
As far as i know the firefox on fedora 16 64 bit is the 32 bit
I use the 64 bit build ( and the 64 bit plugins )
This would bypass using yum ( or in my case "zypper" )
Ant would require a manual install
( rather easy )
After Firefox 13 ( we are at 17 now) Firefox will AUTO UPDATE
Now
the fedora repos will be up to date
and the version in the fedora repos ( i think the remove the auto update ???? -- not sure--)
so
if all you do is run
you will be up to date
--- now IF and this is a big if
If you want to manually install FF
post back
i can post the needed instructions for the 64 bit firefox AND the 64 bit plugins
-- you will have to do a small bit of work to get it to work --
|
|
|
|
12-19-2012, 08:00 PM
|
#11
|
|
Senior Member
Registered: Dec 2011
Location: Columbia , MD
Distribution: Fedora & Black Opal 64
Posts: 1,591
Original Poster
Rep: 
|
Thanks John for the confirmation about Firefox.
I'll run:
To keep my system updated
|
|
|
|
12-19-2012, 08:01 PM
|
#12
|
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,901
|
hai
good luck 
i'be been using fedora for years ^^
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|