Monday 6 June 2016

Easy way to determine missing file on Ubuntu

If you experience something like the following:

libXi.so.6: cannot open shared object file: No such file or directory 
apt-file can come in very handy,


sudo apt-get install apt-file 
then the following commands to identify and install the correct object containing the missing file.

sudo apt-get install apt-file 
apt-file update
apt-file search libXi.so.6 
libxi6: /usr/lib/x86_64-linux-gnu/libXi.so.6
sudo apt-get install libxi6  

No comments:

Post a Comment