My Debian Setup

This is how i like to setup a fresh install of Debian (Ubuntu) based distributions.

List of Tools

  • nala ​ - A front-end for apt (package manager)
  • eza ​ - A modern replacement for ls
  • zoxide ​ - A smarter cd written in rust
  • ranger ​ - Console file manager with VI key bindings
  • bat ​ - A cat replacement with syntax highlighting and Git integration.
  • neovim ​ - Vim-fork focused on extensibility and usability
  • lazygit ​ - A simple TUI for git
  • fzf ​ - A general-purpose command-line fuzzy finder.
  • btop ​ - Resource monitor that shows usage and stats for processor, memory, disks, network and processes.

Commands

  • Updating the index and upgrading all the packages
  • Installs the nala front end for apt & update the mirror
sudo apt update
sudo apt upgrade
sudo apt install nala
sudo apt install git curl exa zoxide ranger bat neovim fzf btop 
Additional Steps Necessary

You need to perform additional commands to install the following packages

  • Add my alias.sh file to .bashrc, this adds some Quality of Life Aliases
cat << 'EOF' > ~/.alias
# ===== QoL Aliases =====
alias cls="clear"
alias vim="nvim"
alias cat="batcat"
alias f="fzf"
alias r="ranger"
alias z="zoxide"
alias refresh="source ~/.bashrc"

# ===== EXA Aliases =====
alias l="exa --icons --sort Name"
alias ls="exa --icons --grid --classify --colour=auto --sort=type --group-directories-first --header --modified --created --binary --group"
alias ll="exa --icons --sort Name --long --header"
alias la="exa --icons --sort Name --long --all --header"
alias lr="exa --icons --sort Name --long --recurse --header"
alias lra="exa --icons --sort Name --long --recurse --all"
alias lt="exa --icons --sort Name --long --tree --header"
alias lta="exa --icons --sort Name --long --tree --all"
EOF

grep -qxF 'source ~/.alias' ~/.bashrc || echo 'source ~/.alias' >> ~/.bashrc
source ~/.bashrc

Future Scope

  • After a while, i usually switch to zsh ​ as my shell but i have not made my guide for it
  • I use ohmyzsh ​ / oh-my-bash ​ to customize my prompt
  • For ubuntu, i remove snap support & use Flatpak