How do I install Sublime Text 2/3?I tried but I am getting error

Lenovo-G50-80:~$ get -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - No command 'get' found, but there are 18 similar ones get: command not found gpg: no valid OpenPGP data found.


Solution 1:

Try adding the -O parameter separately. Try this:

wget -q -O - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add