-
how can the software installed through apt-get or yum under linux extract all relevant files completely and maintain the directory structure
- eg. apt-get install camke /usr/bin /usr/libcmake
how can the software installed through apt-get or yum under linux extract all relevant files completely and maintain the directory structure
- eg. apt-get install camke /usr/bin /usr/libcmake
is simple. dpkg-L cmake
can see all the files released by the cmake package. You have a list of files, and you can work it out separately with either tar or cp.
rpm-ql
has the same effect.
another relatively simple method is apt download cmake
can be downloaded directly to the local deb
package, and then extract the deb package to get a complete directory structure: ar x cmake-xxxx.deb