Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Overclock.net Forum > FAQs

 
 
LinkBack Thread Tools
Old 05-23-05   #1 (permalink)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Coral Gables FL
Posts: 16,400
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
Default Info: What is this YUM thing in Fedora, and how do I use it?

In Fedora Core, and Fedora-based distrobutions, there is a nifty little terminal program called YUM, which is short for Yellowdog Updater Modified. YUM is a program for package management, or downloading, installing, and removing software. Yum is great because it not only gets the file you want, but all of that file's dependancies, as well.

If you have ever tried to use an RPM to install something, you may have gotten an error that some other files are missing. That is what YUM fixes.

Some Basic Commands to use YUM are, at the terminal as Root:

*To see a list of the available software:

Code:
yum list available
* To install some software, you type:

Code:
yum install packagename
* To update some software, you type:

Code:
yum update packagename
If you leave out "packagename" yum will update all your software.
* To see what updates are available, you can do:

Code:
yum check-update
* To search for a package, you can do:

Code:
yum search
There is a configuration file for YUM here as an attacment that will greatly increase your download speeds as it uses mirrors instad of the RedHat servers. You will need to download it and rename it "yum.conf". Then, put it in /etc/ and overwrite the existing file.

Good Luck!

NOTE: To login as a Root user, type su root at a terminal. You will have to change the root password to what you want in the User Control Panel if you don't know it already, though.

Other note:
The text below goes into your /ect/ folder. (Rename it yum.conf)
Code:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800



# The below are FC6 official repos that are rather useful
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

[extras-debuginfo]
name=Fedora Extras $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-debug-$releasever&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

[extras-source]
name=Fedora Extras $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-source-$releasever&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1



# This is the development repo. I generally keep it disabled, # but it's usefull for things like Firefox 2.

[development]
name=Fedora Core - Development
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
enabled=0
gpgcheck=0

[development-debuginfo]
name=Fedora Core - Development - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch
enabled=0
gpgcheck=0

[development-source]
name=Fedora Core - Development - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
enabled=0
gpgcheck=0



# And finally, Livna. 3rd party repo that is very useful for  # drivers. 
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
	http://rpm.livna.org/fedora/$releasever/$basearch/
	http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
	http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
	http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
	http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
	ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-6
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
	http://rpm.livna.org/fedora/$releasever/$basearch/debug/
	http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
	http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
	http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
	http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/debug/
	ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
	http://rpm.livna.org/fedora/$releasever/SRPMS/
	http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
	http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
	http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
	http://mirror.atrpms.net/livna/fedora/$releasever/SRPMS/
	ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
That is for Fedora Core 6.

The old version I had here was for FC3. :o
__________________
System: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
1280x800 LCD

Last edited by Chipp : 05-28-07 at 08:54 AM
Chipp is online now Overclocked Account Chipp's Gallery  
Old 07-20-05   #2 (permalink)
Going Broke Overclocking
 
The Duke's Avatar
 
amd nvidia

Join Date: Jul 2004
Location: Burbs of Detroit
Posts: 41,719

FAQs Submitted: 1
Trader Rating: 25
Default allo

Interesting... another good reason to get of my but and get back into Linux
Thanks!
__________________
System: Crosshair
CPU
5000 BE
Motherboard
ASUS Crosshair
Memory
2x1G G Skill HZ DDR2-800
Graphics Card
8800GT
Hard Drive
250G Seagate 7200.10
Sound Card
TB SC
Power Supply
SS DA750
Case
MM UFO
CPU cooling
Ultra 120 (lapped)
GPU cooling
stock
OS
XP SP2
Monitor
22'' ws Acer AL22233W
2 Million+ Folding at Home points
The Duke is offline Overclocked Account  
Old 07-20-05   #3 (permalink)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Coral Gables FL
Posts: 16,400
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
Default allo

Glad it did something for somebody!
__________________
System: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
1280x800 LCD
Chipp is online now Overclocked Account Chipp's Gallery  
Old 07-20-05   #4 (permalink)
Going Broke Overclocking
 
The Duke's Avatar
 
amd nvidia

Join Date: Jul 2004
Location: Burbs of Detroit
Posts: 41,719

FAQs Submitted: 1
Trader Rating: 25
Default allo

Give me some time to get my boxes straightened out and reorganized... I'll need the help ;)
__________________
System: Crosshair
CPU
5000 BE
Motherboard
ASUS Crosshair
Memory
2x1G G Skill HZ DDR2-800
Graphics Card
8800GT
Hard Drive
250G Seagate 7200.10
Sound Card
TB SC
Power Supply
SS DA750
Case
MM UFO
CPU cooling
Ultra 120 (lapped)
GPU cooling
stock
OS
XP SP2
Monitor
22'' ws Acer AL22233W
2 Million+ Folding at Home points
The Duke is offline Overclocked Account  
Old 07-20-05   #5 (permalink)
makin' the big noise
 
Chipp's Avatar
 
intel nvidia

Join Date: Dec 2004
Location: Coral Gables FL
Posts: 16,400
Blog Entries: 29

FAQs Submitted: 18
Hardware Reviews: 3
Trader Rating: 12
Default

I'll be here.
__________________
System: Precision M4400
CPU
2.4ghz P8600
Motherboard
Dell
Memory
2x2gb DDR2 800
Graphics Card
Quadro FX770M
Hard Drive
160gb 7200 RPM
Sound Card
E-Mu 0404 USB
OS
Windows 7
Monitor
1280x800 LCD
Chipp is online now Overclocked Account Chipp's Gallery  
Old 08-24-05   #6 (permalink)
XBox 360 Gamer
 
Chim3ra's Avatar
 
intel nvidia

Join Date: Mar 2005
Location: Rota, Espana
Posts: 4,370

Rep: 431 Chim3ra is a proven memberChim3ra is a proven memberChim3ra is a proven memberChim3ra is a proven memberChim3ra is a proven member
Unique Rep: 279
FAQs Submitted: 7
Trader Rating: 3
Default

Great FAQ, maybe could add one thing though. For us Linux-noobs, who don't know what root is yet. Maybe edit it to say Login as root? Other than that it works. I'm updating my system now.

Edit: I know this is nit-picky but the file goes in the /etc/ folder.
__________________
System: The Stocker
CPU
Q9300
Motherboard
EVGA 750 SLI FTW
Memory
4GB G.Skill DDR2-800
Graphics Card
EVGA 9800 GTX KO
Hard Drive
Seagate Barracuda ES.2 ST3250310NS
Sound Card
SB X-FI Platinum
Power Supply
FSP Epsilon 600
Case
Antec P180
CPU cooling
Xigmatek HDT-S1283
GPU cooling
Stock
OS
Windows Vista SP1
Monitor
Dell 2405 FPW

Last edited by Chim3ra : 08-25-05 at 02:18 AM
Chim3ra is offline Overclocked Account Chim3ra's Gallery  
Old 05-08-06   #7 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,485

Rep: 409 dangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven member
Unique Rep: 215
FAQs Submitted: 7
Trader Rating: 0
Default

Nice FAQ.
and for the person above: Root user is like the admin of the system. Usually to install anything you must be root user.
__________________
System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64 & Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline Overclocked Account dangerousHobo's Gallery  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



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


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.12498 seconds with 8 queries