LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   apt -yum (http://www.linuxquestions.org/questions/fedora-35/apt-yum-114721/)

ronss 11-11-2003 05:35 AM

apt -yum
 
i know that these options are available for fedora, where do i find infor about them. is it hidden somewhere on ther fedora home page

bxb32001 11-11-2003 05:44 AM

yum is already installed...

apt can be downloaded from freshrpms.net and a lot of other sites...

ronss 11-11-2003 05:48 AM

thanks , i was thinking there was so info about using apt-yum on the fedora home page, will keep looking. not to sure how to use yum??

ronss 11-11-2003 05:51 AM

found this-
http://www.linuxcompatible.org/story23298.html

wiraone 11-11-2003 06:25 AM

http://www.xades.com/proj/fedora_repos.html

bxb32001 11-11-2003 07:07 AM

Okay, sorry I was brief....

Here's one you should read http://www.fedora.us/wiki/FedoraHOWTO

From the site itself:

Quote:

HOWTO use apt-get

apt-get update
Download package lists. Packages change several times daily, so do this often.
apt-get dist-upgrade
Update all packages.
apt-get install <packagename>
Install/upgrade specific package(s) (and its dependencies, if missing any).

apt-cache search <word>
Search all known packages entries (descriptions etc) for <word>.
apt-cache show <packagename>
Show basic information about a package.

There's more...

Quote:

HOWTO use yum

yum check-update
See if there are updated packages available.
yum update
Update all installed packages that have a newer version available.
yum install <packagename>
Install specific package (and its dependencies, if missing any).

bxb32001 11-11-2003 07:14 AM

A few things to add....

First you should do all of it as root... just type 'su', and then your root password.

Second, you need to tell 'apt' and 'yum' where to get the rpms from. To get you started here is my apt sources ( /etc/apt/sources.list )

Quote:

# List of available apt repositories available from ayo.freshrpms.net.
# This file should contain an uncommented default suitable for your system.
#
# See http://ayo.freshrpms.net/ for a list of other repositories and mirrors.
#
# $Id: sources.list.i386,v 1.2 2003/11/06 21:05:23 dude Exp $

# Fedora Linux 1
rpm http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
#rpm http://ayo.freshrpms.net fedora/linux/1/i386 extras alternatives
#rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 core updates freshrpms
#rpm-src http://ayo.freshrpms.net fedora/linux/1/i386 extras alternatives

rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing
rpm-src http://rpm.livna.org/ fedora/1/i386 stable unstable testing

# Misc Fedora Core 1
rpm http://mirrors.kernel.org/fedora/fedora/ fedora/1/i386 os updates stable
#rpm-src http://mirrors.kernel.org/fedora/fedora/ fedora/1/i386 os updates stable
rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/ fedora/1/i386 os updates stable
#rpm-src ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/ fedora/1/i386 os update
rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/ fedora/1/i386 os updates stable
#rpm-src http://mirrors.usc.edu/pub/linux/fedora/fedora/ fedora/1/i386 os updates stable
Now here's my yum sources ( /etc/yum.conf ):

Quote:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
gpgcheck=1
tolerant=1
exactarch=1

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

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

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

[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core

#[extras]
#name=Fedora Linux $releasever - $basearch - extras
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/extras

#[alternatives]
#name=Fedora Linux $releasever - $basearch - alternatives
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/alternatives

[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms

[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
you should be okay with these to start with ;-)


All times are GMT -5. The time now is 07:19 AM.