Skip to content

Instantly share code, notes, and snippets.

@hitorilabs
Last active February 15, 2024 01:45
Show Gist options
  • Save hitorilabs/cd8896fbedcd5d77a73f10310db18493 to your computer and use it in GitHub Desktop.
Save hitorilabs/cd8896fbedcd5d77a73f10310db18493 to your computer and use it in GitHub Desktop.

ubuntu packages to install fresh

  • sudo apt install rsync tmux git build-essential gcc-12 g++-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
  • from source python + cmake
    • sudo apt install pkg-config libssl-dev
    • optional sudo apt install libffi-dev libbz2-dev zlib1g-dev liblzma-dev libsqlite3-dev libreadline-dev libncurses-dev
    • DO NOT try to change the system python installation, it has certain libraries it depends on (i.e. Quirks, click, etc.). Default PATH will prefer /usr/local/bin over /usr/bin and it's easier to pop open virtual environments by specifying the command w/ the full version number.
  • llvm + clang + libc++ + ... (https://apt.llvm.org)
    • (2023/11/12)
      • bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
      • clang-format clang-tidy clang-tools clang clangd libc++-dev libc++1 libc++abi-dev libc++abi1 libclang-dev libclang1 liblldb-dev libllvm-ocaml-dev libomp-dev libomp5 lld lldb llvm-dev llvm-runtime llvm python3-clang
  • rust (https://www.rust-lang.org/tools/install)
  • nvidia drivers + cuda
  • sudo ufw default deny incoming + sudo ufw allow OpenSSH
  • sudo apt install zfsutils-linux + nfs-kernel-server
  • neovim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment