Skip to content

Instantly share code, notes, and snippets.

@reyesyang
Last active March 22, 2024 05:11
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 reyesyang/7d0ba0cb2d2b69bf2908b710a27efff4 to your computer and use it in GitHub Desktop.
Save reyesyang/7d0ba0cb2d2b69bf2908b710a27efff4 to your computer and use it in GitHub Desktop.
Initialize WSL Ubuntu
sudo apt update
# Install compile toolchain
sudo apt-get install autoconf patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev \
libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev ntpdate
# Support AppImages app, Such as jetbrains-toolbox
sudo add-apt-repository universe
sudo apt install libfuse2
# Install tools
# sudo apt install mysql-client mysql-server redis
sudo apt install vim tmux net-tools mysql-client mysql-server redis git tig tree htop neofetch
# Install fonts
sudo apt install fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji fonts-jetbrains-mono fonts-firacode
# Install GNOME Apps
# sudo apt install gnome-console nautilus gnome-text-editor gnome-system-monitor gnome-keyring language-selector-gnome language-pack-zh-hans
# Install IM
sudo apt install fcitx5 fcitx5-chinese-addons
# Install oh-my-zsh
sudo apt install zsh autojump
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
echo 'Update zshrc plugins to active autojump zsh-autosuggestions'
sudo apt upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment