LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2010, 02:14 AM   #1
Akatsuki
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Finding files that relates to certain applications


Hello everyone,

I'm wondering if you can share some tips in regards to finding .conf files in programs when installing using package managers.

I'm scratching my head on the fact that when you install a program through yum/apt-get, I don't know what and where the software is being installed at. In Windows, I know that when it installs an application, it goes into the Program Files directory, it's that simple.

I know Linux has predefined directories for applications but sometimes it installs configuration files in /etc or some other locations in /usr which I have a tough time sifting through.

Is there a way to trace what .conf or any files for that matter which relates to what software that needs it? It's just hard for me to understand what file relates to what application at the moment. As much as I would like to learn more about Linux, this process for me takes up alot of time. I hope you can help me out on this one.

Thanks,
 
Old 01-28-2010, 03:13 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
This post is related to deb packages.

Files from an installed deb package can be listed with

Code:
dpkg -L pacakgename
The inverse can be done with apt-file:
Code:
apt-file update
apt-file search /path/to/some/file
Config files are a little trickier.. can't remember exactly how to get a list of a packages config files. However, you should always read the documentation in:
Code:
/usr/share/doc/packagename
especially the README.Debian file. This will usually give information about configuring your installation of the package.

Evo2.
 
  


Reply

Tags
file, management


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding total free memory available for use by applications. Shashank Rachamalla Linux - General 1 08-17-2009 10:25 AM
Finding multiple files with ascending numerical files extensions unim21 Linux - Newbie 3 04-23-2009 08:50 PM
when finding files in Konqueror, why use the files index? newbiesforever Linux - General 4 03-20-2009 10:06 AM
Finding files and then finding content within those files... Maeltor Linux - Software 5 03-13-2007 01:06 PM
different problem, prolly relates to first in some way TheCafFiend Linux - Newbie 2 01-27-2002 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration