# Ubuntu install guide ## Update & Upgrade ```bash sudo apt update && sudo apt upgrade -y ``` ## Install Packages ```bash sudo apt-get install python3-pip zsh curl wget git sudo apt-get install p7zip-full smplayer cmus speedtest-cli git-gui filezilla pavucontrol ufw servefile nmap fail2ban gimp most colordiff mosh dconf-editor ncdu qcalc jq tor fonts-noto & pip3 install youtube-dl tldr ``` ## External Repositories ### Antimicro ```bash sudo add-apt-repository ppa:mdeguzis/libregeek ``` As of today, a bionic package is still not available, but the artful works!. `sudo nano /etc/apt/sources.list.d/mdeguzis-ubuntu-libregeek-bionic.list` Replace `bionic` with `artful` ```bash sudo apt update sudo apt install antimicro ``` Put config file in `~/.config/antimicro` ### SinkSwitcher ## Web installs - docker: - VSCode: - chrome: - syncthing: - Zsh-syntax-highlighting: ## Edit ~/.zshrc ### Add shortcut "Alt+:" [to iterate through arguments](https://stackoverflow.com/questions/4009412/how-to-use-arguments-from-previous-command/55069846#55069846) ```bash autoload -Uz copy-earlier-word zle -N copy-earlier-word bindkey "^[:" copy-earlier-word ``` ### Aliases ```bash alias lr="ls -hartl" alias youtube-dl720='youtube-dl -f "bestvideo[height<=720]+bestaudio/best[height<=720]"' alias python=python3 alias ipython=ipython3 function mkcd () { mkdir -p "$@" && cd "$@"; } ``` ### Lazy-load nvm ```bash export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . $NVM_DIR/nvm.sh --no-use; # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && . $NVM_DIR/bash_completion; # This loads nvm bash_completion __nvm_load_node () { unalias node npm npx; nvm use 2> /dev/null || nvm use default; } alias node='__nvm_load_node; node $@' alias npm='__nvm_load_node; npm $@' alias npx='__nvm_load_node; npx $@' ``` ### Enable most ```bash export PAGER=most ``` ### Enable zsh plugins ```bash plugins=(git zsh-syntax-highlighting autoswitch_virtualenv) ``` **Note:** Probably need to install them first ## Gnome extensions - Caffeine - ~~Dash to dock `sudo apt remove gnome-shell-extension-ubuntu-dock` ~~ - NetSpeed ## Custom shortcuts - `systemctl suspend` - Cmus ## StartUp - Cmus `gnome-terminal -- cmus`