I am an advanced user and want to access the files of an app. I would like to know the directories in which apps and their data are stored. If they are stored in multiple directories then you may give me all the directories in which they are stored.
I am an advanced user and want to access the files of an app. I would like to know the directories in which apps and their data are stored. If they are stored in multiple directories then you may give me all the directories in which they are stored.
If you are an "advanced user" surely you would already know?
There are no hard and fast rules.
The easiest way I can think of using the GUI, as I expect that is what you want, is to install synaptic, then view the installed files data in the properties of a particular installed application.
If you are advanced enough to use the CLI, then:
To see all the files the package installed onto your system, do this:
dpkg-query -L <package_name>
To see the files a .deb file will install
dpkg-query -c <package_name.deb>
To see the files contained in a package NOT installed, do this once (if you haven't installed apt-file already:
sudo apt-get install apt-file
sudo apt-file update
then
apt-file list <package_name>
Last edited by wyliecoyoteuk; January 1st, 2014 at 01:26 PM.
****************************
****************************
The sig between the asterisks is SO COOL that only REALLY COOL people can even see it!
Just needed a refresh. I had forgot it, wyliecoyoteuk. By the way, thanks.
If you are looking for an application's configuration file, then they are hidden files in the user's home folder. They are called dot files because they have a dot ( . ) at the front of the file name and that dot hides the file from File Manager unless we set the File Manager View options to Show Hidden files.
Regards.
It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
Ubuntu user #33,200. Linux user #530,530
Moved to Absolute Beginners.
https://help.ubuntu.com/community/Li...emTreeOverview
https://en.wikipedia.org/wiki/Filesy...archy_Standard
Apps are usually stored in:
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin - it is somewhat common to see applications in here
- /sbin
- /bin
- /usr/games - where games are stored
- /usr/local/games - more games
If not, they might be stored (somewhere) in /opt (normally used when building software or installing software not from Launchpad Personal Package Archives or the standard ubuntu repositories)
Last edited by Jonathan Precise; January 2nd, 2014 at 01:12 AM. Reason: Clarification ("They" -> "Apps") ; Omitted "be" (might ^ stored)
-Jonathan
Status: CELEBRATING 2016!!! (Offline )
The listed bin directories above are where the various executables are usually stored.
Configuration files are more commonly found in
/etc
/usr/share
and /home/username/.*(the * in this case represents most of the folders that are hidden in the home folder, the most common folder the store configuration data is the .config folder, but some apps have there own, like mozilla/firefox.)
Most apps store the saved bits and pieces in the same areas.
Splat Double Splat Triple Splat
Earn Your Keep
Don't mind me, I'm only passing through.
Once in a blue moon, I'm actually helpful.
Bookmarks