Do you really, deeply, like PulseAudio not? Do you want to prevent it running, or better, even existing on your Debian system? Does apt-get still insist on pulling it as a dependency of something else? Does it get really, really frustrating when it randomly kills your ALSA mixer setup and stops working when any app decides to start it?
Say no more!
This creates a local repository with pulseaudio .deb
package that contains
precisely nothing (except for symlinks to /bin/true
in place of PA binaries):
- Clone and
cd
the repository cd pulseaudio/
debuild -us -uc
will create the dummy packages (in the parent directory). If you don't havedebuild
, install it usingapt-get install devscripts
- Install the local debian repository:
apt-get install local-apt-repository
- Copy the newly created packages to your local repo:
cd ..; cp pulseaudio_*.* /srv/local-apt-repository/
(you'll needsudo
or other root) systemctl restart local-apt-repository
will reindex the packagesapt-get update
will pull your new repo to your system's APT catalogapt-get install --only-upgrade pulseaudio
should now install the dummy PA version.- That's it ma, no pulseaudio!
For (depraved) stuff that really requires PulseAudio, you can install this beautiful wrapper:
https://github.com/i-rinat/apulse
This will break PA-dependent stuff in weird ways, possibly with linking errors. I put it together in like 10 minutes so feel free to tell me what I did totally wrong.
Version number was carefully chosen to be a tiny bit higher than most PA versions.