Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-17-2009, 01:00 PM   #16
Registered: Jan 2009
Location: Isle of Lewis
Distribution: Gentoo, Crunchbang (XFCE)
Posts: 133

Original Poster
Blog Entries: 1

Rep: Reputation: 18

I was logging in as ROOT USER. I tried using both su and sudo, but for some reason yum would not even search for packages, far less install them. However I found this advice on another website that in several of the Fedora 10 distros you had to run the command yum update before you could use it. I was not aware of this as this is my first time ever using Fedora.
Old 02-17-2009, 03:11 PM   #17
Registered: Oct 2008
Location: Upstate NY
Distribution: Arch Linux
Posts: 99

Rep: Reputation: 17
Yeah, yum update syncs the repos.

If you're logged in as root, you don't need su or sudo. su changes users, and if you run it without other parameters, changes to root (with password, of course). sudo lets you run one command as root. If you are root, no need.
Old 02-17-2009, 05:41 PM   #18
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,454

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
sudo is not setup by default if you want to use it YOU must set it up
use " su - " ( with the dash)

yum is the name of the program
yum  ( all this will do is display a simple HELP list)
yum update ( will run the update)
-- see --
yum --help ( for a list of commands )
 -- like --
yum grouplist 
yum repolist
yum install  < package name> ( without the <> ) 
yum erase < package name> ( without the <> )
If you're logged in as root, you don't need su or sudo.
On fedora 10 YOU CAN NOT login as root using the gui , unless you hack fedora 10 and that can cause a bunch of odd behavior .

and have you installed the rpmfusion repo ,if not go through this guide/help page


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
Gentoo, iwconfig, ndiswrapper, internet connection sharing, and an MTU problem... Devcon Linux - Networking 3 04-21-2009 02:30 AM
Installing NDISwrapper in Kubuntu via Adept without internet connection Ronson Linux - Newbie 0 06-25-2008 11:27 AM
Getting ndiswrapper after netinst install, not internet connection Plastech Debian 3 05-16-2007 03:01 PM
installing ndiswrapper WITH NO INTERNET CONNECTION!!!! thealphajustin Linux - Hardware 6 09-27-2006 06:03 AM
broadcom/ndiswrapper/mandrake 10 - connection up but no internet jpgillivan Linux - Laptop and Netbook 8 09-29-2004 02:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration