This is a quick tutorial how to install the newest version of VSCode on the Devuan/xfce Linux that is on the Chalmers computers. A similar approach should work with pretty much any program you want to install.
- Open the Terminal
- Download the latest VSCode (the .tar.gz file!):
curl -o ~/vscode.tar.gz -L "https://code.visualstudio.com/sha/download?build=stable&os=linux-x64"
- Extract VSCode:
tar -xf ~/vscode.tar.gz
- Add VSCode to the PATH variable:
echo 'export PATH="$HOME/VSCode-linux-x64:$PATH"' >> ~/.bashrc
(or~/.zshrc
if you use ZSH) - Restart the Terminal
- Now the program can be started in the terminal using
code
orcode {working_directory_path}
- add a single
&
after the command to not block the terminal
- add a single
- Remove the downloaded package:
rm -f ~/vscode.tar.gz