N
N
nano_e_t_42016-05-28 19:30:42
Debian
nano_e_t_4, 2016-05-28 19:30:42

How to view the system contents of a package?

Hello everyone
Tell me, who knows - how you can see the system contents of the package, namely pre / post scripts, dependencies, and so on. The package is not in the repositories (it was collected by a former colleague). It needs to be rebuilt.
How to look at the installation files in Google, too, has not yet been found. If anyone knows please tell me
thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Zhivotnev, 2016-05-29
@inkvizitor68sl

If the package is installed - then ls /var/lib/dpkg/info/packagename.*
If there is a .deb file on the disk itself, then:
ar -x file.deb
tar -xvf control.tar.gz
tar -xvf data.tar. gz

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question