LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-11-2003, 05:35 AM   #1
ronss
Member
 
Registered: Mar 2002
Location: phoenix,az
Distribution: red hat linux enterprise-centos
Posts: 766

Rep: Reputation: 31
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
 
Old 11-11-2003, 05:44 AM   #2
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Rep: Reputation: 30
yum is already installed...

apt can be downloaded from freshrpms.net and a lot of other sites...
 
Old 11-11-2003, 05:48 AM   #3
ronss
Member
 
Registered: Mar 2002
Location: phoenix,az
Distribution: red hat linux enterprise-centos
Posts: 766

Original Poster
Rep: Reputation: 31
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??
 
Old 11-11-2003, 05:51 AM   #4
ronss
Member
 
Registered: Mar 2002
Location: phoenix,az
Distribution: red hat linux enterprise-centos
Posts: 766

Original Poster
Rep: Reputation: 31
found this-
http://www.linuxcompatible.org/story23298.html
 
Old 11-11-2003, 06:25 AM   #5
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
http://www.xades.com/proj/fedora_repos.html
 
Old 11-11-2003, 07:07 AM   #6
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Rep: Reputation: 30
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).
 
Old 11-11-2003, 07:14 AM   #7
bxb32001
Member
 
Registered: May 2001
Location: Beijing
Distribution: Fedora, Knoppix
Posts: 204

Rep: Reputation: 30
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 ;-)
 
  


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
Yum / Apt-get mikedeatworld Fedora 17 12-01-2005 08:31 AM
yum against APT programmershous Linux - Software 6 06-20-2005 08:45 AM
yum vs apt-get eranb2 Debian 2 02-27-2005 09:26 AM
yum vs apt-get eranb2 Red Hat 1 02-25-2005 01:11 PM
YUM vs APT-GET prismra Linux - Newbie 12 06-30-2004 03:00 PM


All times are GMT -5. The time now is 12:11 PM.

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