LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora, Mozilla and Applications (http://www.linuxquestions.org/questions/fedora-35/fedora-mozilla-and-applications-4175442080/)

Ztcoracat 12-18-2012 10:39 PM

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

frieza 12-18-2012 10:58 PM

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.

Ztcoracat 12-18-2012 11:07 PM

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?

frieza 12-18-2012 11:20 PM

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)

Ztcoracat 12-18-2012 11:31 PM

Ahhh; didn't know it was a switch-
In the future will I need to use quotes anytime that I use the (-c)switch?

frieza 12-18-2012 11:59 PM

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

Ztcoracat 12-19-2012 12:15 AM

Ok; anytime that the cmd has spaces; got it-:hattip:

But how come this cmd with 'reboot' would not need the " " quotes?
Code:

su -c reboot

frieza 12-19-2012 12:31 AM

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.

Ztcoracat 12-19-2012 12:54 AM

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-

John VV 12-19-2012 12:59 AM

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

Ztcoracat 12-19-2012 08:00 PM

Thanks John for the confirmation about Firefox.

I'll run:
Code:

su yum update
To keep my system updated

frieza 12-19-2012 08:01 PM

hai
good luck ;)
i'be been using fedora for years ^^


All times are GMT -5. The time now is 08:16 PM.