- 论坛徽章:
- 0
|
安装或卸载软件包方面,yum和apt差不多
yum install xxx apt-get install xxx
yum remove xxx apt-get remove xxx
检索软件包状态方面,我觉得yum就简单清楚多了
比如:
yum list pidgin*
结果:
Installed Packages
pidgin.i386 2.1.1-1.fc7 installed
Available Packages
pidgin-devel.i386 2.1.1-1.fc7 updates
pidgin-encryption.i386 3.0-1.fc7 freshrpms
pidgin-guifications.i386 2.14-2.fc7 fedora
pidgin-libnotify.i386 0.13-1.fc7 updates
pidgin-perl.i386 2.1.1-1.fc7 updates
pidgin-rhythmbox.i386 2.0-1.fc7 fedora
安装的和未安装的列得很清楚,如果想知道单个包的信息
yum info pidgin
结果:
Installed Packages
Name : pidgin
Arch : i386
Version: 2.1.1
Release: 1.fc7
Size : 2.1 M
Repo : installed
Summary: A Gtk+ based multiprotocol instant messaging client
Description:
Pidgin allows you to talk to anyone using a variety of messaging
protocols including AIM, MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu,
ICQ, IRC, Novell Groupwise, QQ, Lotus Sametime, SILC, Simple and
Zephyr. These protocols are implemented using a modular, easy to
use design. To use a protocol, just add an account using the
account editor.
Pidgin supports many common features of other clients, as well as many
unique features, such as perl scripting, TCL scripting and C plugins.
Pidgin is not affiliated with or endorsed by America Online, Inc.,
Microsoft Corporation, Yahoo! Inc., or ICQ Inc.
而apt,也许我使用不熟练的缘故,就不那么简单了,得用apt-cache
apt-cache show pidgin
apt-cache showpkg pidgin
如果要获得安装的情况,得结合dpkg
dpkg -l pidgin
我经常在apt-cache,apt-get,dpkg之间搞得晕头转向,希望熟悉Ubuntu的朋友指点一二。 |
|