So Slack. Slack gives some ways to install Slack on Linux: RPM, and from the Snap Store. I am using Pop OS!, so RPM is an alien package, but Slack from the Snap Store has a bug and refuses to run if you have a company SSO login. I was able to get away by modifying the case of the startup command line arguments, but at some point, it completely broke.
I had been using Slack for some period on the web, but something stopped working on the web.
The last resource I used to convert RPM to DEB worked, but there’s one annoying thing: Pop OS! already has a Slack package, so some tools are for lazy admins. As a result, my update button is always red since the system thinks it needs to update the Slack package.
Ok, here is the full solution with the help of ChatGPT, of course.
Install Alien to convert RPM to DEB: Open a terminal and run the following commands:
sudo apt update
sudo apt install alien
Download the Slack RPM package Convert the RPM package to a DEB package:
sudo alien --to-deb --scripts slack-4.29.149-0.1.el8.x86_64.rpm
Extract the contents of the converted .deb file:
dpkg-deb -R slack_4.29.149-1.1_amd64.deb slack-deb
Edit the control file:
nano slack-deb/DEBIAN/control
Change the Package line from slack
to slack-im
. Save the changes and exit the editor.
Rebuild the .deb package with the new control file:
dpkg-deb -b slack-deb slack-im_4.29.149-1.1_amd64.deb
Install the renamed Slack IM package:
sudo dpkg -i slack-im_4.29.149-1.1_amd64.deb
sudo apt-get install -f