You are not logged in.

#1 2007-12-14 15:53:28

terreiro
Member
Registered: 2007-08-23
Posts: 5

How to know which packages are installed

Hi,

Sorry if there is already an answer for this, but I could not find it.

Is there an easy way to know/list all the installed packages on the system? I mean, using the pacman with some switch combinations to get all the installed packages, like, for instance, as it is possbile with yum: "yum list installed"

Thank you for your feedback.

--
Jose Terreiro


Jose Terreiro

Offline

#2 2007-12-14 16:25:14

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: How to know which packages are installed

pacman -Q ?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2007-12-15 00:59:50

ebirtaid
Member
From: USA
Registered: 2007-11-18
Posts: 52

Re: How to know which packages are installed

terreiro wrote:

Hi,

Sorry if there is already an answer for this, but I could not find it.

Is there an easy way to know/list all the installed packages on the system? I mean, using the pacman with some switch combinations to get all the installed packages, like, for instance, as it is possbile with yum: "yum list installed"

Thank you for your feedback.

--
Jose Terreiro

when you said you couldn't find it, did you try man pacman?

Offline

#4 2007-12-15 01:03:48

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: How to know which packages are installed

shining wrote:

pacman -Q ?

Wow. I've always done

pacman -Qs .

, but this is a more elegant way of doing things. Thanks!

Offline

#5 2007-12-15 01:08:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: How to know which packages are installed

My method is ...pacman -Q |less....... and scroll with the uo/dwn arrows.

EDIT 

pacman -Q |less

Last edited by lilsirecho (2007-12-15 01:42:00)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB