PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > How to get a list of installed packages
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

How to get a list of installed packages

Réponse
 
LinkBack Outils de la discussion
Vieux 08/09/2007, 15h40   #1
Franz Edler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to get a list of installed packages

Hi,

Sorry if the question is too simple. I just started with debian-etch.
I now tried to figure out how I can get a list of actually installed
packages.
Is there a simple answer?

Regards
franz


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/09/2007, 15h50   #2
Kamaraju S Kusumanchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get a list of installed packages

Franz Edler wrote:

> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?



dpkg --get-selections > installed_packages_list.txt

Another option that you migt want to look at is dpkg --set-selections. Both
the options are explained in the dpkg manual. You can also find some tips
in the "Debian Reference" book (apt-get install debian-reference-en)

hth
raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/09/2007, 16h00   #3
Kumar Appaiah
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get a list of installed packages

On Sat, Sep 08, 2007 at 03:30:14PM +0200, Franz Edler wrote:
> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?


Yes. dpkg -l

A better answer would be dpkg -l|awk 'NR > 5 { print $2}'

HTH.

Kumar
--
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/09/2007, 16h10   #4
Jerome BENOIT
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get a list of installed packages

Hi,

short answer:

dpkg --get-selections

Jerome


Franz Edler wrote:
> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?
>
> Regards
> franz
>
>


--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/09/2007, 16h30   #5
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get a list of installed packages

On Sat, Sep 08, 2007 at 03:30:14PM +0200, Franz Edler wrote:
> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?


'aptitude search ~i' or in interactive mode press 'l' and then use the
same '~i'.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG4q+6qJyztHCFm9kRAtZpAKCRAGxsiuSAfLKfcr4o/n8iNUIqDgCgomfE
zlhKHAdvoRY+T9Bu+OHjtJQ=
=9UU7
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 08/09/2007, 16h50   #6
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get a list of installed packages

On Sat, Sep 08, 2007 at 03:30:14PM +0200, Franz Edler wrote:
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?
>


Do you really want a list of all the packages installed on your system
or, if you use aptitude to resolve dependencies, do you want a list of
packages that you specifically wanted installed (and forget about those
installed merely to resolve dependancies?

If the latter:

#aptitude search '~i!~M'

That's installed (~i) but not (!) automatically (~M).

Its a much shorter list.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h41.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10974 seconds with 14 queries