In some cases, after trying to run some applications on Ubuntu, it requires libudev.so.0 library. Without this package, the application won’t run at all. For example, after downloading Popcorn Time and try to run it, I got the following error on my Terminal
./Popcorn-Time: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory
Ubuntu 16.04 does not shipped with libudev.so.0 package by default. We need to manually install the package first before attempting to reinstall the software that needs this package. Unfortunately, we cannot install libudev.so.0 using apt-get install command.
To solve this problem, first we need to download the package called libudev0_175-0ubuntu9_amd64.deb. This libudev package is available for 32 bit and 32 bit system. You can download and install this package via Terminal using the following command:
64 bit Ubuntu
wget http://mirrors.kernel.org/ubuntu/pool/main/u/udev/libudev0_175-0ubuntu9_amd64.deb sudo gdebi libudev0_175-0ubuntu9_amd64.deb
32 bit Ubuntu
wget http://mirrors.kernel.org/ubuntu/pool/main/u/udev/libudev0_175-0ubuntu9_i386.deb sudo gdebi libudev0_175-0ubuntu9_i386.deb
Once completed, you can try to reinstall the software that requires libudev.so.0 package and now it should works.