LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Original Poster
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
Ranguvar
Member
 
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
Guru
 
Registered: Aug 2005
Posts: 12,906

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
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
Code:
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 <> )
Quote:
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
http://www.mjmwired.net/resources/mjm-fedora-f10.html
and
http://www.dnmouse.org/
 
  


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


All times are GMT -5. The time now is 02:57 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