View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#50
Originally Posted by TiagoTiago View Post
If the package manager keeps track of where things are installed, any program that would need to know if a given program is installed and where would just check the place where the package manager stores that information.
dpkg -L <packagename>

shows you what and where are the files from this packages.

Originally Posted by TiagoTiago View Post
Regarding DLLs in Windows, in the rare cases i need a program to use an specific DLL instead of the one present in PATH i just put a copy of the DLL in question in the same folder as the executable, and in several instances i've updated a DLL because of one program, and didn't even had to do any tricks to keep other programs working, the newer version of the DLL remained compatible (perhaps nowadays developers are more carefull when releasing newer version of their DLLs? Or perhaps i've just been lucky all these years...)
What I meant is, even if you can select an install directory, you can not
be sure that no other files are installed somewhere else. Setting-/
configurationfiles, links for the programmenu, tempory application folders
are often stored in the windows or root directory and/or the users
directory.
 

The Following User Says Thank You to nicolai For This Useful Post: