Skip to content

Instantly share code, notes, and snippets.

@reyesyang
Last active March 22, 2024 04:21
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/c8cab0502d7f374efe48276712dc209a to your computer and use it in GitHub Desktop.
Save reyesyang/c8cab0502d7f374efe48276712dc209a to your computer and use it in GitHub Desktop.
Init 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
# Install tools
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-jetbrains-mono fonts-firacode
# 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
echo 'You need restart to make $SHELL effect'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment