[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to check whether a package has been installed

Martin Paraskevov wrote:

rpm lets you check whether a packege has been installed.
is this possible to do with apt-get or some other tool as well?

Here are a couple, not to mention the various GUIs:

rickmlinux:~# dpkg --get-selections|grep apt
apt                                             install
apt-utils                                       install
aptitude                                        install
gnome-apt                                       install
synaptic                                        install

rickmlinux:~# dpkg -s apt Package: apt
Status: install ok installed
Priority: important
Section: base
Installed-Size: 3664
Maintainer: APT Development Team <deity@lists.debian.org>
Architecture: i386
Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
Provides: libapt-pkg-libc6.3-5-3.3
Depends: libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.4.1-3), libstdc++5 (>= 1:3.3.4-1)
Suggests: aptitude | synaptic | gnome-apt | wajig, dpkg-dev, apt-doc
Description: Advanced front-end for dpkg
This is Debian's next generation front-end for the dpkg package manager.
It provides the apt-get utility and APT dselect method that provides a
simpler, safer way to install and upgrade packages.
APT features complete installation ordering, multiple source capability
and several other unique features, see the Users Guide in apt-doc.


Reply to: