Skip to content

Instantly share code, notes, and snippets.

@liangqi
Last active June 16, 2025 10:35
Show Gist options
  • Save liangqi/c94fa90090d4e53321ab62b627d72a55 to your computer and use it in GitHub Desktop.
Save liangqi/c94fa90090d4e53321ab62b627d72a55 to your computer and use it in GitHub Desktop.
debian: (not shudders by default)
su
usermod -a -G sudo liangqi
sudo apt install openssh-server net-tools
sudo systemctl enable ssh
sudo systemctl start ssh
sudo apt install -y zsh build-essential perl python3 git
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
plugins=(git colored-man-pages colorize pip python brew macos zsh-syntax-highlighting zsh-autosuggestions)
plugins=(git colored-man-pages colorize pip python zsh-syntax-highlighting zsh-autosuggestions)
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
sudo apt install -y open-vm-tools open-vm-tools-desktop
sudo snap install cmake --classic
sudo apt install ninja-build
sudo apt install vim
# for App Center from Ubuntu 24.04
sudo snap install snap-store
sudo systemctl disable systemd-networkd-wait-online
https://askubuntu.com/questions/1511087/systemd-networkd-wait-online-service-timing-out-during-boot
Enable deb-src from 24.04 and later
https://askubuntu.com/questions/1512042/ubuntu-24-04-getting-error-you-must-put-some-deb-src-uris-in-your-sources-list
sudo apt-get build-dep qt5-default
sudo apt-get build-dep qt4-default
sudo apt-get build-dep qtbase5-dev
sudo apt-get build-dep qtbase-opensource-src
sudo apt-get build-dep qt6-base-dev
sudo apt-get build-dep qt6-imageformats-dev qt6-svg-dev qt6-declarative-dev qt6-virtualkeyboard-dev qt6-wayland-dev qt6-multimedia-dev
sudo apt-get install libxcb-xinerama0-dev
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt-get install libdbus-1-dev libglib2.0-dev libatspi2.0-dev
sudo apt install xtrace xdotool wmctrl
sudo apt install mesa-utils
sudo apt install libmd4c-html0-dev
debian: sudo apt install libfreetype-dev libfontconfig-dev
sudo apt install htop neofetch
sudo apt install ibus-pinyin
sudo apt-get install ubuntu-restricted-extras
* for wayland
sudo apt install libwayland-dev libwayland-egl1-mesa libwayland-server0 libgles2-mesa-dev libxkbcommon-dev
sudo apt install libxcomposite-dev libxcomposite1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment