Hello,
I installed a program and I want to know which directories created by that program.
Any idea?
Thank you.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
The directories that related to a executable file.
-
- Posts: 932
- Joined: 2020-05-03 14:16
- Has thanked: 7 times
- Been thanked: 65 times
Re: The directories that related to a executable file.
It depends how did You installed the program...
If from a deb package:
1. The easiest way: Synaptic->RMB->Package_Properties->Installed_Files
2. Unpack the package and check the directory structures -> they are merged with the root file system
If from a deb package:
1. The easiest way: Synaptic->RMB->Package_Properties->Installed_Files
2. Unpack the package and check the directory structures -> they are merged with the root file system
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
The_full_story and Nothing_have_changed
-
- Posts: 932
- Joined: 2020-05-03 14:16
- Has thanked: 7 times
- Been thanked: 65 times
Re: The directories that related to a executable file.
IMO it's not clear what the OP is asking for, for Me it sounds like "what directories were created by the installation process?"
But if the question is: "what directories are created when the program is executed?" then there's no simple answer - this entirely depends on the program and on its configuration -> what in turn means, that it depends on user preferences.
One of possible solutions is to search for hard-coded paths within the program code, f.e.:but then You have to search for non-standard directories in a list of strings - and the list can be very long...
But if the question is: "what directories are created when the program is executed?" then there's no simple answer - this entirely depends on the program and on its configuration -> what in turn means, that it depends on user preferences.
One of possible solutions is to search for hard-coded paths within the program code, f.e.:
Code: Select all
strings /usr/bin/sudo | grep /
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
The_full_story and Nothing_have_changed
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: The directories that related to a executable file.
Exactly, ,not clear what the OP is asking for
What program,?by hack3rcon » 2020-07-18 09:10
Hello,
I installed a program and I want to know which directories created by that program.
==========edit==========
Apart from not being clear, the way I interpret this is that they (OP) want to see the directories and files, created when the package is installed, WHY ? not sure they don't say, but I am guessing maybe they want to modify something and can not find it, or are not sure that the program even installed, who knows ? It is interesting to me, because sometimes when I install a new program/package, indeed it can be difficult to 'find' or 'locate' all the files related to that package. Sometimes, the 'man <package-name>' is of use. After all said and done, my answer is : There are various ways to locate various files and directories, one just needs to "search", but google is not the only search method, To search the system, and use the various commands available, or tools, eg: synaptic package manager, 'man synaptic'
apt and aptitude. Same, 'man'
Then of course if one can not remember commands (like me) , a online search engine is your helper, @OP note my key words here:
Code: Select all
command to list the directories and files created when a linux package is installed
Code: Select all
find / -name "apt" -ls
Another:https://www.tecmint.com/list-files-inst ... -in-linux/
Code: Select all
$ dpkg -L apache2
https://www.debian.org/doc/manuals/debi ... h_aptitude
Is very detailed, the OP or anyone else should read it , if they use aptitude,
There are more methods mentioned in the search results, some have examples.
===================== edit 2 ------------------------------------
https://wiki.debian.org/apt-file
The OP might find it usefull
Last edited by cuckooflew on 2020-07-19 18:31, edited 1 time in total.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
-
- Posts: 677
- Joined: 2018-05-10 19:34
- Location: Some where out west
- Been thanked: 1 time
Re: The directories that related to a executable file.
Then, there is this:Step 1 https://packages.debian.org/stable/
===========================================
step 2 Select the package you want to know about EG: IN Administration Utilities
I want to see what directories and files this :
Step 3: https://packages.debian.org/stable/admin/9mount
Down at the bottom, look for your architecture, and on the right there is
a links to :https://packages.debian.org/buster/amd6 ... t/filelist
You will see the list:
===========================================
step 2 Select the package you want to know about EG: IN Administration Utilities
I want to see what directories and files this :
So click the package name, and it takes you to step 39mount (1.3+hg20170412-1)
Plan 9 filesystem (v9fs) user mount utilities
Step 3: https://packages.debian.org/stable/admin/9mount
Down at the bottom, look for your architecture, and on the right there is
a links to :https://packages.debian.org/buster/amd6 ... t/filelist
You will see the list:
There you go, .....File list of package 9mount in buster of architecture amd64
/usr/bin/9bind
/usr/bin/9mount
/usr/bin/9umount
/usr/share/doc/9mount/changelog.Debian.gz
/usr/share/doc/9mount/changelog.gz
/usr/share/doc/9mount/copyright
/usr/share/lintian/overrides/9mount
/usr/share/man/man1/9bind.1.gz
/usr/share/man/man1/9mount.1.gz
/usr/share/man/man1/9umount.1.gz
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!