How to detect what file was installed?

2012-11-07 Thread houkensjtu
Hi debianer! I am rather new to linux and debian. Here is my stupid question: Usually I use aptitude to search for a package, and install and uninstall packages. My problem is, I can't figure out what files apt copied into my computer, and where were those files installed. I know I can use the

Re: How to detect what file was installed?

2012-11-07 Thread Karl E. Jorgensen
On Wed, Nov 07, 2012 at 10:25:52AM +, houkensjtu wrote: Hi debianer! I am rather new to linux and debian. Here is my stupid question: I do not believe in the existence of stupid questions. But stupid *answers* really do exist. Usually I use aptitude to search for a package, and install

Re: How to detect what file was installed?

2012-11-07 Thread Jon Dowland
Karl's answer is very thorough for your other questions, On Wed, Nov 07, 2012 at 02:25:52AM -0800, houkensjtu wrote: I know I can use the which command to detect where a executable file reside in, but how about all the other stuff? Take a look at locate. -- To UNSUBSCRIBE, email to

Re: How to detect what file was installed?

2012-11-07 Thread Frank McCormick
On 12-11-07 09:06 AM, Jon Dowland wrote: Karl's answer is very thorough for your other questions, On Wed, Nov 07, 2012 at 02:25:52AM -0800, houkensjtu wrote: I know I can use the which command to detect where a executable file reside in, but how about all the other stuff? Take a look at

Re: How to detect what file was installed?

2012-11-07 Thread Lars Noodén
If you know the package name that was installed you can use dpkg-query --listfiles to show all the files that came with the package. Regards, /Lars -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org