|
![]() |
Overclock.net - Overclocking.net > Overclock.net Forum > FAQs | |
Info: What is this YUM thing in Fedora, and how do I use it?
|
||
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||
|
makin' the big noise
![]() |
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 Code:
yum install packagename Code:
yum update packagename * To see what updates are available, you can do: Code:
yum check-update Code:
yum search 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 The old version I had here was for FC3. :o
Last edited by Chipp : 05-28-07 at 08:54 AM |
|||||||||
|
|
|
#2 (permalink) | |||||||||||||
|
Going Broke Overclocking
![]() |
Interesting... another good reason to get of my but and get back into Linux
__________________Thanks!
|
|||||||||||||
|
|
|
#3 (permalink) | |||||||||
|
makin' the big noise
![]() |
Glad it did something for somebody!
__________________
|
|||||||||
|
|
|
#4 (permalink) | |||||||||||||
|
Going Broke Overclocking
![]() |
Give me some time to get my boxes straightened out and reorganized... I'll need the help ;)
__________________
|
|||||||||||||
|
|
|
#5 (permalink) | |||||||||
|
makin' the big noise
![]() |
I'll be here.
__________________
|
|||||||||
|
|
|
#6 (permalink) | |||||||||||||
|
XBox 360 Gamer
![]() |
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.
Last edited by Chim3ra : 08-25-05 at 02:18 AM |
|||||||||||||
|
|
|
#7 (permalink) | |||||||||||||
|
Photography nut
![]() |
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.
|
|||||||||||||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|