Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
131
rated 0 times [  131] [ 0]  / answers: 1 / hits: 246985  / 2 Years ago, mon, november 29, 2021, 2:49:22

After installing apps via apt-get install -app name-. Where does the files get copied to? Are the copied to just one location or multiple locations? And if so how do I find this out?



Here's an example:



enter image description here


More From » apt

 Answers
6

Ask the package management what files the package contains:



dpkg -L <packagename>


This shows the files simply copied to those locations. These files are marked as managed by the package management, so don't touch them.



Additionally, sometimes some files are created/modified by pre-/postinstall and pre-/postrm scripts included in the package. You can find the scripts in /var/lib/dpkg/info/ once the package is installed.


[#27364] Tuesday, November 30, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
herfor

Total Points: 490
Total Questions: 101
Total Answers: 110

Location: Guadeloupe
Member since Mon, Jan 24, 2022
2 Years ago
;