Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know how to show the paths where I installed a package with dpkg:

$ dpkg -L gnome

How can I do that with aptitude?

share|improve this question
4  
Why do you want to use aptitude when it's perfectly possible with dpkg? I din't even know it was possible. Thanks for that. –  RobinJ Feb 24 '12 at 17:42
1  
@RobinJ dpkg -S (what package does a file or directory belong to?) and apt-file (like dpkg -S and dpkg -L, but also for packages that are not installed) are other useful commands –  Lekensteyn Feb 24 '12 at 18:51
add comment

1 Answer 1

dpkg is a lower-level tool that needs to know where files are extracted and such, but aptitude and apt handle packages as a whole (using package names) and therefore don't provide a method for showing filenames.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.