Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
46
rated 0 times [  46] [ 0]  / answers: 1 / hits: 278129  / 2 Years ago, mon, april 4, 2022, 10:33:39

I'm new to Ubuntu and would like to know where I can find the location of program files for programs installed from the Ubuntu Software Center or the Terminal.


More From » filesystem

 Answers
3

on the command line, you can use dpkg --listfiles packagename. For instance, dpkg --listfiles firefox. If you want to see what files a package contains without installing it, then you can install apt-file and use that.



But you really shouldn't mess with it. There is usually no reason to manually interfere with the contents of a package. All configuration files for normal applications are placed in the users home directory. You don't have savegames in C:ProgramfilesAppnamesavegames, for instance. They would be placed in /home/username/.local/share/appname/savegames. That way, if you move your home directory to another machine, it keeps all configurations and user data.


[#44120] Wednesday, April 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
howesale

Total Points: 224
Total Questions: 117
Total Answers: 116

Location: Nauru
Member since Thu, May 18, 2023
1 Year ago
;