LinuxQuestions.org
Review your favorite Linux distribution.
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 12-18-2012, 10:39 PM   #1
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,185
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 12-18-2012, 10:58 PM   #2
frieza
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: 3,104

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
yes, yum only works as root
but you would run
Code:
su -c 'yum install firefox'
or simply
Code:
su -c 'yum update'
yes that would work, but it's preferable just to update all packages instead of one at a time.
 
Old 12-18-2012, 11:07 PM   #3
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,185
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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:
Code:
su yum update ?
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.
 
Old 12-18-2012, 11:20 PM   #4
frieza
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: 3,104

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
the -c is a swtich, it tells su to run the specified command (which should be in quotes such as
Code:
su -c 'yum update'
so the command understands that the 'update' directive is part of the yum command and not the su command)
 
Old 12-18-2012, 11:31 PM   #5
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,185
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Ahhh; didn't know it was a switch-
In the future will I need to use quotes anytime that I use the (-c)switch?
 
Old 12-18-2012, 11:59 PM   #6
frieza
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: 3,104

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
anytime the command includes spaces

for instance
Code:
su -c 'yum update'
or
Code:
su -c 'fdisk -l'
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

Code:
su -c reboot
would not
 
Old 12-19-2012, 12:15 AM   #7
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,185
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Ok; anytime that the cmd has spaces; got it-

But how come this cmd with 'reboot' would not need the " " quotes?
Code:
su -c reboot
 
Old 12-19-2012, 12:31 AM   #8
frieza
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: 3,104

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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.
 
Old 12-19-2012, 12:54 AM   #9
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,185
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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-
 
Old 12-19-2012, 12:59 AM   #10
John VV
Guru
 
Registered: Aug 2005
Posts: 13,057

Rep: Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741Reputation: 1741
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
Code:
su -
yum update
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 --
 
Old 12-19-2012, 08:00 PM   #11
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,185
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Thanks John for the confirmation about Firefox.

I'll run:
Code:
su yum update
To keep my system updated
 
Old 12-19-2012, 08:01 PM   #12
frieza
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: 3,104

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
hai
good luck
i'be been using fedora for years ^^
 
  


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
LXer: Easily Install Extra Applications In Fedora Using Autoplus Or Fedora Utils LXer Syndicated Linux News 0 07-05-2011 11:30 AM
Mozilla Firefox 3.0.4; few applications in 'applications' tab of 'preferences'; SW12. mitchellray Linux - Newbie 1 03-27-2009 08:56 PM
Mozilla applications freeze on Debian kdogksu Linux - Software 2 06-20-2006 08:57 AM
Added new printers, but they do not show up un Mozilla or other applications SROSeaner Linux - Newbie 5 09-10-2004 01:44 PM
mozilla cant open quicktime applications Xris718 Linux - General 1 02-13-2004 02:06 PM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration