- (Optional) Use TUNA repo
wget https://tuna.moe/oh-my-tuna/oh-my-tuna.py
sudo python3 oh-my-tuna.py --global- Install some essential pkgs
sudo apt update && sudo apt install build-essential pkg-config cmake make git screen net-tools curl gcc g++ git wget curl net-tools vim python3 python3-pip openssh-server openssh-client tldr -y- (OPTIONAL) Install zsh
sudo apt install zsh -y
sh -c "$(curl -fsSL https://git.io/zinit-install)"
chsh -s $(which zsh)- (OPTIONAL) Install some fonts
mkdir -p ~/Downloads/fonts_MesloLGS
cd ~/Downloads/fonts_MesloLGS
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf-
For WSL: CUDA WSL
-
For Ubuntu:
NOTE: You MUST install open driver (choose MIT / GPL if you use runfile) for RTX 50-series, while non-free driver is recommended for older Nvidia GPU. Follow the guide from CUDA 12.8:
Add these lines to .bashrc
export PATH="/usr/local/cuda-12/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda-12/lib64:$LD_LIBRARY_PATH"Then:
source ~/.bashrcTest with nvcc -V:
See Conda
(OPTIONAL) Install 1Panel
cd ~/Documents
bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"
sudo apt install ibus-rime
cd ~/Documents && curl -fsSL https://raw.githubusercontent.com/rime/plum/master/rime-install | bash
cd plum && bash rime-install iDvel/rime-ice:others/recipes/full
ibus restart