sublime_text
sublime_text copied to clipboard
Update Ubuntu deb instructions on website for Sublime Text and Sublime Merge
Problem description
The current description on both the Sublime Text homepage as well as the Sublime Merge homepage is outdated.
gpg keys are supposed to be no longer stored in the trusted.gpg.d folder and the path to the keyring used should be specified in the apt config.
Preferred solution
I've adapted the full workflow from looking at the current Docker Engine description and tested it locally on Ubuntu 22.04 LTS.
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg -o /etc/apt/keyrings/sublime.asc
sudo chmod a+r /etc/apt/keyrings/sublime.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/sublime.asc] https://download.sublimetext.com/ apt/stable/" | \
sudo tee /etc/apt/sources.list.d/sublime-hq.list > /dev/null
sudo apt-get update
Alternatives
The current description leads to deprecation warnings under current versions of Ubuntu so I am not sure alternatives are really viable here.
Additional Information
No response
Where are you seeing the deprecation warning?
Closing due to inactivity.