0

How to install particular set of files from deb package to /usr/lib ?

1 Answer 1

1
  1. Download the DEB package of your choice, e.g. mc

    apt-get download mc
    
  2. Extract the package

    dpkg -x *.deb mc
    
  3. All files of the package are now in ./mc and you can copy what you need.

7
  • After downloading ms, is it possible to copy file from deb package to /usr/lib ?
    – GTR
    Nov 3, 2015 at 12:47
  • Sure, after downloading and extracting. Now it's a simple file operation.
    – A.B.
    Nov 3, 2015 at 12:48
  • I am facing following error: cp: cannot create regular file ‘/usr/lib/libgmt.a’: Permission denied
    – GTR
    Nov 3, 2015 at 13:02
  • Use sudo to copy the files. Without sudo you have not the necessary rights.
    – A.B.
    Nov 3, 2015 at 13:21
  • I am unable to copy ".so" files.
    – GTR
    Nov 3, 2015 at 13:26

Not the answer you're looking for? Browse other questions tagged .