Linux

Check Kernel Version

uname -r

Software Installation (Debian-Based Distro)

  • 1Password: Software Manager if possible, otherwise .deb package
  • LibreOffice: flatpak install flathub org.libreoffice.LibreOffice (Software manager is not latest)
  • Resilio Sync: x64 .deb package plus instructions for running
  • git: sudo apt install git
    • git config --global credential.helper store
  • GitHub: gh (for saving auth credentials)
    • Version in apt will not configure the credential helper for persistent login
  • GitLab: glab, via .deb (amd64 for Intel)
  • nvm: use the install script
  • rbenv: package manager
    • Have to download ruby-build from git to get the latest
    • sudo apt install libffi-dev libyaml-dev
  • Obsidian: Software Manager
  • postgresql:
  • tmux: sudo apt install tmux
    • tmuxinator: gem install tmuxinator
  • VS Codium: apt to get terminal command
  • VS Code (for Elixir): Linux installation instructions
  • zsh: just sudo apt install zsh, oh-my-zsh will set it as the default shell (need to restart afterward)
    • Check with ps -p $$
    • If not, run chsh -s /usr/bin/zsh josh
$ sudo su - postgres
$ createuser josh
$ psql
ALTER USER josh WITH SUPERUSER;

Package Formats

  • Deb
  • RPM
  • Arch
  • Nix
  • Appimage: most deps bundled in, not sandboxes
  • Flatpak: fully isolated sandbox, all deps bundled in, or shared runtimes
  • Snap: can be sandboxed or not, all deps bundled in. Snap server is closed-source