sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Update Ubuntu deb instructions on website for Sublime Text and Sublime Merge

Open halfbyte opened this issue 1 year ago • 1 comments

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

halfbyte avatar Mar 04 '24 14:03 halfbyte

Where are you seeing the deprecation warning?

BenjaminSchaaf avatar Mar 05 '24 01:03 BenjaminSchaaf

Closing due to inactivity.

BenjaminSchaaf avatar Oct 27 '25 04:10 BenjaminSchaaf