On Sat, 2005-03-12 at 20:08 +0800, Mark Quitoriano
wrote:> may i ask what''s the centos apt address?
>
I changed the name of this thread so I can explain where apt is and when
it can be used in CentOS.
Apt is currently only supported in CentOS-4 and only on the i386 arch.
apt, apt-devel and synaptic are "extras" packages for CentOS-4.0 i386.
That means they are included and will be supported (by me) as long as
they are maintained upstream. They are not included on the install
ISOs. They are currently not built for any other arch except i386.
They may be built for ppc when it is released.
You should use the apt products provided by the Extras, as they are
compatible with CentOS-4 ... dag''s apt for EL4 should also work, though
I haven''t tested it.
Why is apt support only provided for i386? I want to use it with XXXX
arch .... read on :)
!!!WARNING!!!
Apt _CAN_NOT_ do multilib arches properly!
!!!WARNING!!!
What is a multilib arch? Some arches (like x86_64 and ia64, and maybe
ppc and s390x when released) have the ability to run both 32bit (or
31bit for s390) and 64bit programs. This requires that the libraries
for both the 32bit arch and the 64bit arch be present at the same time.
They have the same name, only the arch is different (in the case of
x86_64, there are i386, i686 packages for 32bit and x86_64 packages for
64bit). Apt does not properly calculate dependencies for multilib
arches (it will use either the 32bit or the 64bit package to meet both
dependencies)... it is therefore only currently provided for and
supported on i386.
-----------------------------------------
You can get apt for CentOS-4 i386 here:
http://mirror.centos.org/centos/4.0/extras/i386/RPMS/
or you can make sure that extras are enabled in your
"/etc/yum.repos.d/CentOS-Base.repo" and then get apt (for i386) with
the
command:
yum install apt synaptic
(if you want apt-devel, add it after synaptic ... if you don''t want
synaptic, use only "yum install apt")
Once apt is installed, you need to edit your "/etc/apt/sources.list"
file and pick a mirror near you. Here is a working config from my test
machine (in case of wrapping, each entry is one line) :
rpm http://caos.oregonstate.edu centos/4/apt/i386 os updates extras addons
Here are a couple other Tier 1 CentOS mirrors that work:
"USA"
rpm http://mirrors.versaweb.net cAos/centos/4/apt/i386 os updates extras addons
rpm http://www.gtlib.cc.gatech.edu pub/cAos/centos/4/apt/i386 os updates extras
addons
"EU"
rpm http://www.sunsite.org.uk sites/mirror.caosity.org/cAos/centos/4/apt/i386 os
updates extras addons
rpm http://caos.crazyfrogs.org centos/4/apt/i386 os updates extras addons
"Asia"
rpm http://mirror.be10.com centos/4/apt/i386 os updates extras addons
rpm http://ftp.riken.jp Linux/caos/centos/4/apt/i386 os updates extras addons
rpm http://download.centos.ru centos/4/apt/i386 os updates extras addons
"AU"
rpm http://mirror.pacific.net.au linux/cAos/centos/4/apt/i386 os updates extras
addons
the above mirrors were picked at random ... to pick a mirror near you, see the
full mirror list here:
http://www.centos.org/modules/tinycontent/index.php?id=13
Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :
http://lists.caosity.org/pipermail/centos/attachments/20050312/42d18a1a/attachment.bin