Ask Your Question
0

I cant turn on or install yum!

asked 2012-11-01 17:22:40 -0600

ed.ch. gravatar image

is it sopposed to be al ready downloaded or do i have to download it?

PLEASE HELP!!!

edit retag flag offensive close merge delete

Comments

@davidva: can you please post your comment as an answer so he can mark it as correct?

FranciscoD_ gravatar imageFranciscoD_ ( 2012-11-03 23:33:40 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-12-11 22:43:40 -0600

Jomoos gravatar image

updated 2012-12-11 22:44:39 -0600

yum is a console based application and is automatically installed during a fedora installation. So, you don't need to do anything special to make yum available on your system. But to use yum to install packages, you either need to know the password for root user or have sudo privilege. From fedora documentation:

Installing Software with yum


Unlike PackageKit, where the system administrator may choose to allow non-administrative users to install software, yum requires administrator authentication. There are three ways this can be done:

  • You may switch to the root user with the su command:

    [jjmcd@Cimbaoth ~]$ su -
    Password: 
    [root@Cimbaoth ~]# yum install xastir
    Loaded plugins: presto, refresh-packagekit
    ...
    

    This is the least desireable method. You must enter the root password, and you can easily forget that you are operating as root. As the root user you can do unlimited damage.

  • You may use the su command with the -c switch. This allows you to enter the single yum command as root, but immediately switches back to your normal user:

    [jjmcd@Cimbaoth ~]$ su - 'yum install fldigi'
    Password: 
    Loaded plugins: presto, refresh-packagekit
     ...
    

    Notice that you must surround the command with quotation marks or apostrophes. This still requires you to type the password, and is somewhat more annoying to type, but does not leave you as root ready to do damage.

  • If the adminstrator has set you up in the sudoers file, you may use the sudo command:

    [jjmcd@Cimbaoth ~]$ sudo yum install wxapt
    Loaded plugins: presto, refresh-packagekit
    ...
    

    This has several advantages; you don't need to type the password, you are not left in a dangerous position, and if desired, the administrator can limit you to a select set of commands so you do not inadvertently cause damage. However, it does require setup ahead of time.

yum may determine that additional packages must be installed. yum will list these packages and calculate the total size of the download. It will then ask you whether you want to actually download and install this package or group of packages:

Answer Y or N depending on whether you want to download and install the group of packages.

edit flag offensive delete link more
0

answered 2012-11-02 12:35:31 -0600

brad_b82 gravatar image

yum is console based. Do like davidva said, type su then hit enter first. Enter root password. Now you can do your yum install coolprogram. Do the deed, then type exit to leave su.

yum extender is a graphical counterpart of yum. When you run it, it will ask you for root password.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-01 17:22:40 -0600

Seen: 624 times

Last updated: Dec 11 '12