3

I have installed pulseaudio-module-bluetooth using apt.

$ type pulseaudio-module-bluetooth
bash: type: pulseaudio-module-bluetooth: not found
$ which pulseaudio-module-bluetooth
$ whereis pulseaudio-module-bluetooth
pulseaudio-module-bluetooth:

Clearly, I'm looking for the wrong thing. The package does not simply install a command that is the same name as the package. Alright, then.

I want to find out what all commands (or executables) this package installed, and their locations.

The answers to "How to get information about deb package archive?" tell me how to find the files installed by the package if I have a .deb file. I'm not installing directly from a .deb file, though. I'm using apt. Where is the .deb file that that used? Is there a copy on my system somewhere that I can query with the commands in the answers to that question? Where?

If there isn't a local copy on my system, can I get one with apt? How?

Is there some handy apt (or similar) command that wraps this up for me, so that I do not have to run dpkg-deb directly? What is it?

Can I find the package's file list entirely on-line, without explicitly downloading any .deb files and before installing anything with apt? How?

5

I think there is an existing answer to your question (which isn’t How to get information about deb package archive?), but I can’t find it.

To list the contents of an installed package, use dpkg -L:

dpkg -L pulseaudio-module-bluetooth

If you want to list the contents of a package before installing it, install apt-file, then run apt update, and

apt-file list pulseaudio-module-bluetooth

will list the contents of the package without downloading it or installing it.

You can also view the contents of a package from its web page; look for “list of files” links at the bottom of the page.

  • On running the mentioned commands, I found that this package has only shared objects .so files and documentation files. So, does this means that there is no associated executable? I was expecting an executable as in the description it says that it is a sound server for POSIX systems. – Nikhil Jan 27 at 17:50
  • Also, in this case how can I make sure that the installed package is working properly? In this case wether the shared objects are being identified and used by the system? – Nikhil Jan 27 at 17:52
  • 2
    The sound server is PulseAudio, which is installed by the pulseaudio package. pulseaudio-module-bluetooth is a PulseAudio module. To check it’s being used, run pactl list modules and look for Bluetooth modules (module-bluetooth-policy, module-bluetooth-discover, module-bluez5-discover). – Stephen Kitt Jan 27 at 17:57
0

There is a few approaches here. One of easiest is to download specific package:

cd /tmp/ && apt download pulseaudio-module-bluetooth

and list package content by:

dpkg -c pulseaudio-module-bluetooth-{version_stuff}.deb |grep bin
  • 1
    This answer is just complicating. Dpkg - L package_name is more than enough for listing the contents of installed packages – Rui F Ribeiro Jan 27 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.