以下内容只针对于 Ubuntu/Debian,推荐使用 Ubuntu Jammy 或者 Ubuntu Focal
- 换源
- zsh & powerlevel10k
- 语言包 & 搜狗输入法
- cpp: run
sudo apt install build-essential -y
- miniconda & cuda & pytorch
- nvm & node
Reference:
1
| wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
|
- java & jenv
Reference:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| sudo apt-get update && sudo apt-get install -y wget apt-transport-https sudo mkdir /etc/apt/keyrings/ sudo wget -O /etc/apt/keyrings/adoptium.asc https://packages.adoptium.net/artifactory/api/gpg/key/public echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://mirrors.tuna.tsinghua.edu.cn/Adoptium/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | sudo tee /etc/apt/sources.list.d/adoptium.list sudo apt-get update sudo apt-get install temurin-8-jdk temurin-11-jdk temurin-17-jdk
git clone https://github.com/jenv/jenv.git ~/.jenv
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(jenv init -)"' >> ~/.bash_profile
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc echo 'eval "$(jenv init -)"' >> ~/.zshrc
dirname $(dirname $(readlink -f $(which java))) jenv add "$(dirname $(dirname $(readlink -f $(which java))))"
jenv versions
jenv global 11
|
8、PHP & phpenv
用 phpstudy
或者 宝塔
吧,编译要搞死人