Skip to content

Instantly share code, notes, and snippets.

@Melonangie
Last active February 26, 2024 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Melonangie/b3286f3550fb63d931699c4f31c70907 to your computer and use it in GitHub Desktop.
Save Melonangie/b3286f3550fb63d931699c4f31c70907 to your computer and use it in GitHub Desktop.
Pre-setup M15R6 Nvidia

Pre Installs

sudo apt -y update && sudo apt -y upgrade && sudo apt -y autoremove
sudo apt -y install kitty
sudo apt -y install zsh curl git
chsh -s $(which zsh) 
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo apt -y install build-essential procps file
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
touch ~/.zprofile
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> ~/.zprofile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install gcc zsh-autosuggestions zsh-syntax-highlighting zsh-history-substring-search zsh-completions
rm -f ~/.zcompdump; compinit
chmod go-w '/home/linuxbrew/.linuxbrew/share'
chmod -R go-w '/home/linuxbrew/.linuxbrew/share/zsh'
  • Update and source ~/.zshrc
export PATH=$HOME/.local/bin:$PATH
export PATH=/home/linuxbrew/.linuxbrew/bin:$PATH
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/home/linuxbrew/.linuxbrew/share/zsh-syntax-highlighting/highlighters

source /home/linuxbrew/.linuxbrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /home/linuxbrew/.linuxbrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /home/linuxbrew/.linuxbrew/share/zsh-history-substring-search/zsh-history-substring-search.zsh

  if type brew &>/dev/null; then
    FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
    autoload -Uz compinit
    compinit
  fi
mkdir -p ~/.conda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
chmod +x miniconda.sh
bash ./miniconda.sh -b -u -p ~/.conda
rm -f ./miniconda.sh
~/.conda/bin/conda init zsh

Next Steps

Install nvidia tools manually or using the Data Stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment