Re: rpm newbie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/21/2004 05:10:18 AM, Ben Anderson wrote:
I'm not trying to
start a flame war or anything (seems like most of the internet links I
found were), but how will I be updating packages on fedora? I think I
have my choice between rpm or apt-get? Is one preferred?

rpm is the fedora package manager.
apt-get and yum are two different front ends to rpm that work with package repositories so that when you request package A the depends upon package B, it will get both for you.


Which is one better?
I prefer yum - it was designed with rpm in mind. apt-get was designed with Debians packaging system in mind and was ported to work with rpm's.


Fedora comes with yum.
I recommend adding the Fedora Extras repository (use Fedora Stable) and the three livna.org repositories (use stable, testing, development)


http://fedora.us/
http://rpm.livna.org/

I've attached my personal FC2 yum.conf file, but those websites above will have instructions for using either yum or apt-get with them.

 If there
are articles or other documentation that you know of, feel free to
answer with a link instead of telling me something I could read
elsewhere.

I'm actually working on writing a short one, but I'm waiting for FC3 to go gold since it uses a different (better imho) config files, where you can add a repository by just putting a file into a directory and not have to edit the main yum.conf file.


But if you google for yum you should find plenty of them.
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20

[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

### additional repositories
#
# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
#
###

[fedora-us-2-stable]
name=Fedora Linux (stable) for Fedora Core 2 -- Fedora US mirror
baseurl=ftp://ftp.ussg.iu.edu/pub/linux/fedora.us/fedora/fedora/2/i386/RPMS.stable

[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl= http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
gpgcheck=1

[livna-unstable]
name=Livna.org Fedora Compatible Packages (unstable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/unstable
gpgcheck=1

[livna-testing]
name=Livna.org Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/testing
gpgcheck=1

#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

#[development]
#name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux