You are not logged in.

#1 2010-01-13 23:29:05

xiaweitang
Member
Registered: 2010-01-03
Posts: 61

How to find out what files a package has installed?

Sometime you installed a package, but you don't know the name of the command to run and you don't know the name and location of the configuration files. There are conventions but is there a way to show those information explicitly?

Offline

#2 2010-01-13 23:43:04

aberkoke
Member
From: Murcia - España
Registered: 2010-01-13
Posts: 25

Re: How to find out what files a package has installed?

You can try, for example

$locate firefox

and you will see all files about firefox.

I think this is better:

 pacman -Ql firefox

Last edited by aberkoke (2010-01-13 23:45:42)

Offline

#3 2010-01-13 23:45:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,406
Website

Re: How to find out what files a package has installed?

pacman -Ql <pkg>

Offline

#4 2010-01-13 23:48:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to find out what files a package has installed?

xiaweitang, please read the pacman man page.

Offline

#5 2010-01-14 00:03:34

xiaweitang
Member
Registered: 2010-01-03
Posts: 61

Re: How to find out what files a package has installed?

aberkoke wrote:

You can try

$locate

for example. you write

$locate firefox

and you will see all files about firefox.

That's a partial solution. Suppose I installed a package called gtk-vim, but the binary is gvim and I didn't know that. If I use

locate gtk-vim

it will not find "gvim".
Besides, different packages may install files with names identical or partially identical. What I want to find out is what files a specific package installed or removed, or changed, just like the deb package manager in ubuntu.

Offline

#6 2010-01-14 00:06:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to find out what files a package has installed?

Yes, locate is the wrong answer here - the right answer is above, and can also be found in the man page that you just read. tongue

Offline

#7 2010-01-14 18:24:14

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: How to find out what files a package has installed?

I think, pacman -Qdt is the thing, you need.

Offline

#8 2010-01-14 21:17:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: How to find out what files a package has installed?

ZaQ - he wants the filelist for an installed package. Allan already gave the right answer above.

Maybe you'd like the read the pacman man page too? smile

Offline

#9 2010-01-15 13:27:30

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: How to find out what files a package has installed?

tomk wrote:

ZaQ - he wants the filelist for an installed package. Allan already gave the right answer above.

Maybe you'd like the read the pacman man page too? smile

Maybe.

Or I should improve my english hmm

Sry for the missing post...

Offline

Board footer

Powered by FluxBB