How do I extract all the files of the software installed by apt-get?

  • 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 
Mar.16,2021

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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e41c59-44960.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e41c59-44960.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?