Can I locate a shared object file within a remote repository inside my system's sources?
For example, on my computer I can search:
dpkg -S libgazebo_ros_gpu_laser.so
The query returns the name of the package containing the file, if the package is installed.
Is there a way for me to search the system's remote sources and identify which package contains libgazebo_ros_gpu_laser.so
so that I can install it with apt-get install
afterwards?
apt-file search 'libgazebo_ros_laser.so'
but this didn't return a find. Do you think the answer help me to search the packages provided by the repositories listed insources.list.d
? – fabian Nov 21 '20 at 17:29sources.list.d
contains a file/etc/apt/sources.list.d/ros-latest.list
which holds the packages containing the filelibgazebo_ros_laser.so
– fabian Nov 21 '20 at 17:44apt search
, and a bit of detective work: A bit of Google-fu looking forlibgazebo_ros_gpu_laser
turns up the package name to try. – user535733 Nov 21 '20 at 19:11