Contents

Development tools

Compilers, Editors, IDEs, Runtimes, etc.

For Ubuntu and derivatives

Install the needed tools to add deb repositories

1
sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release

Basic compiler set

gcc and friends.

  • Ubuntu and derivatives
    1
    
    sudo apt install build-essential
    
  • Arch and derivatives
    1
    
    sudo pacman -S base-devel
    
  • Windows
    1
    
    choco install mingw
    

Docker with optional nvGPU support

  • Ubuntu: Setup deb repository
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
    
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    
    sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io
    
    # CUDA runtime support
    distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
    curl -fsSL https://nvidia.github.io/nvidia-docker/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-docker-keyring.gpg
    curl -fsSL https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list > /dev/null
    
    sudo apt update && sudo apt install nvidia-container-toolkit
    sudo systemctl restart docker
    
  • pacman1
    1
    2
    3
    4
    5
    6
    
    sudo pacman -S docker
    sudo systemctl enable --now docker.service
    
    # CUDA runtime support
    paru -S nvidia-container-toolkit
    sudo systemctl restart docker
    

Test your installation

1
2
3
sudo docker docker run hello-world

sudo docker run --gpus all nvidia/cuda:11.0-base nvidia-smi

Gitkraken

Free Git GUI for Windows, Mac, Linux.2

  • Download and install offical binaries2
  • snap
    1
    
    sudo snap install gitkraken --classic
    
  • AUR
    1
    
    paru -S gitkraken
    
  • choco
    1
    
    choco install gitkraken
    

NodeJS

NodeJS is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

VS code

Visual Studio Code3 is a lightweight but powerful source code editor which runs on your desktop and is available for Linux, macOS and Windows.

  • Download and install offical binaries3
  • snap
    1
    
    sudo snap install code --classic
    
  • choco
    1
    
    sudo snap install code --classic
    
  • Setup deb repository in Ubuntu
    1
    2
    3
    4
    5
    
    curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/packages.microsoft.gpg
    
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list > /dev/null
    
    sudo apt update && sudo apt install code
    
If deleting files in VS code is wacky

Set this parameter in ~/.profile

1
export ELECTRON_TRASH=gio  # or kioclient5

  1. https://wiki.archlinux.org/title/Docker ↩︎

  2. https://www.gitkraken.com/ ↩︎

  3. https://code.visualstudio.com ↩︎