On Thu, 2007-02-08 at 23:49 +0100, Bernard wrote: > Hi there ! > > Newcomer on Debian (former user of RedHat 7.2), I find the Debian packages > kind of hard to manage. With RedHat "rpm", I could find very easily > whether a package was installed or not, what was the version number etc.. > With Debian, I have not yet found the way to go ; I suppose that I should > read a greater number of pages, but there is so much doc that it is not > easy to find the right one right away. > > #apt-cache search package_name > > gives me some information on said package, but not the version number. In > fact, I suspect that this command does not read in my local base, but in > the distant servers, so that I don't know if a given package is being > installed on my system or not. > > For instance : > > #apt-cache search hplip
This will give you info on the package before it is even installed: apt-cache show hplip > My first question will be : > > How to check whether hplip (or any other package) is installed on my > system or not ? dpkg -l hplip > The second question : how to investigate what packages are installed in my > system, with all informations (package name, version etc...) dpkg -l packagename Or if you want to see what is installed period (from the command line) dpkg -l | less If you want to list the files installed: dpkg -L packagename for pretty GUI stuff: synaptic Cheers. -- [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup
signature.asc
Description: This is a digitally signed message part