Working with Sentos packages
Amos Shapira
amos.shapira at gmail.com
Wed Jan 27 06:55:15 IST 2010
2010/1/27 Geoff Shang <geoff at quitelikely.com>
>
> On Tue, 26 Jan 2010, Ori Berger wrote:
>
>> rpm == dpkg
>> yum == apt
>>
>> apt-cache search = yum list / yum list | grep ....
>> apt-get install = yum install
>
> thanks to everyone who wrote me about this. I should have remembered yum.
>
> When I run something like:
>
> yum list |grep -i vorbis
>
> I get the following output:
>
> libvorbis.i386 1:1.1.2-3.el5_4.4 installed
> libvorbis-devel.i386 1:1.1.2-3.el5_4.4 updates
> vorbis-tools.i386 1:1.1.1-3.el5 base
>
> 'installed' is pretty obvious, but what to the others mean? Or does it matter?
The others are the names of the repositories they were found on. Look
under /etc/yum.repos.d/.
It doesn't matter much.
"man yum" is worth studying carefully, it has lots of gems in it.
BTW - I'm not sure that "apt-cache search" is the same as "yum list |
grep" - apt-cache search looks for multiple keywords in the
description as well (unless you do "apt-cache -n ..."), "yum list"
just lists package names. You can use "yum whatprovides" to search for
files (a bit like apt-file).
>
> Geoff, who is surprised there doesn't seem to be an Icecast package in the Sentos repository.
It's Centos (Community ENTerprise OS). And you should check rpmforge
and EPEL for anything you can't find on "vanilla" centos.
BTW - I see an icecast package for CentOS in the EPEL repository:
# yum info icecast
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* epel: mirror.aarnet.edu.au
* rpmforge: fr2.rpmfind.net
Excluding Packages in global exclude list
Finished
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
1680 packages excluded due to repository priority protections
Available Packages
Name : icecast
Arch : x86_64
Version : 2.3.2
Release : 4.el5
Size : 558 k
Repo : epel
Summary : ShoutCast compatible streaming media server
URL : http://www.icecast.org/
License : GPLv2
Description: Icecast is a streaming media server which currently supports Ogg
: Vorbis and MP3 audio streams. It can be used to create an Internet
: radio station or a privately running jukebox and many things in
: between. It is very versatile in that new formats can be added
: relatively easily and supports open standards for commuincation and
: interaction.
--Amos
More information about the Linux-il
mailing list