The snap version of Slack does not work with my setup, something is broken with the studio’s 2FA. I need to make the RPM version of Slack work. Here are the steps, so next time when I need to update Slack, I can find it here.
Download the RPM from the Slack website. Currently, it is slack-4.36.140-0.1.el8.x86_64.rpm
.
Run the following bash commands:
sudo alien -g slack-4.36.140-0.1.el8.x86_64.rpm
cd slack-4.36.140
sudo emacs debian/control # change slack -> slack-im
sudo emacs debian/changelog # change slack -> slack-im
sudo fakeroot debian/rules binary
sudo dpkg -i ../slack-im_4.36.140-1.1_amd64.deb