How to install particular set of files from deb package to /usr/lib ?
1 Answer
Download the DEB package of your choice, e.g.
mc
apt-get download mc
Extract the package
dpkg -x *.deb mc
All files of the package are now in
./mc
and you can copy what you need.
-
After downloading ms, is it possible to copy file from deb package to /usr/lib ?– GTRNov 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– GTRNov 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 -