Skip to content
Adam Conkey edited this page Dec 30, 2022 · 27 revisions

Linux Setup

Writing Disk Image

I use balenaEtcher on MacOS to write a disk image to a USB flash drive.

Install Software

Install Chrome

cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current.amd64.deb

snap Installs

sudo snap install slack spotify
sudo snap install emacs --classic

apt Installs

sudo apt install \
    build-essential \
    cargo \
    curl \
    git \
    htop \
    texlive-full \
    tmux \
    xclip

cargo Installs

cargo install dutree

exa (pretty ls)

sudo add-apt-repository ppa:spvkgn/exa
sudo apt update
sudo apt install exa

bat (pretty cat)

Note it's possible to do an apt install, but I've had panic problems with that, and apt will install it as batcat to avoid a name conflict, so it's best to just grab the deb manually:

  1. Download the latest version from Releases with a _amd64.deb extension.
  2. Install adapting to your version number: sudo dpkg -i bat-musl_0.22.1_amd64.deb

NVIDIA Driver

  1. Enter your GPU information here to figure out which run file to download.
  2. sudo apt purge nvidia* if there were any drivers already installed on the machine.
  3. Reboot machine and enter TTY terminal with Ctrl + Alt + F2
  4. Run the script:
    cd ~/Downloads
    sudo chmod +x NVIDIA-Linux-x86_64-525.60.11.run  # Whatever your file is named
    sudo ./NVIDIA-Linux-x86_64-525.60.11.run
  5. Follow the prompts until it succeeds, and reboot.

SSH Keys

  1. Do ssh-keygen and follow prompts, use defaults.
  2. Copy public key to clipboard: xclip -sel c < ~/.ssh/id_rsa.pub
  3. Add the key where you need it, e.g. GitHub
Clone this wiki locally