patching a Debian installation package2021-03-01
Using Debian as a base operating system means you have a rock solid operating system to work off of. However, it also means, things move a little slowly.
Especially when it comes to supporting the latest and greatest libraries and frameworks. I've had issues with installing Slack on Debian with respect to the
libappindicator3-1 library support on Debian 11 Bullsye.
Unpack the deb file in question.
dpkg-deb -x slack-desktop-LATEST-VERSION-PLATFORM.deb unpack
dpkg-deb --control slack-desktop-LATEST-VERSION-PLATFORM.deb unpack/DEBIAN
Edit the file named
controland replace the unsupported library with a supported version/alternative
Repackage the contents of the folder
unpackalong with the updated
dpkg -b unpack slack-desktop-LATEST-VERSION-PLATFORM-PATCHED.deb
Install as usual
dpkg -i slack-desktop-LATEST-VERSION-PLATFORM-PATCHED.deb