Debian Fresh Install
When setting up a fresh Debian installation for a workspace, the exact requirements depend on your use case. Below is a categorized list of common tools and software you might need for a general-purpose or developer-oriented workspace.
1. System Essentials
Install basic utilities and tools for system management:
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl wget git vim nano htop neofetch build-essential net-tools unzip zip software-properties-common
2. Development Tools
For developers, consider installing compilers, interpreters, and libraries:
• General Development:
sudo apt install -y gcc g++ make cmake python3 python3-pip default-jdk
• Version Control:
sudo apt install -y git mercurial
• Database Clients/Servers:
sudo apt install -y mysql-client postgresql-client sqlite3
• Editors & IDEs:
Install your preferred editor or IDE:
• Visual Studio Code:
sudo apt install -y software-properties-common apt-transport-https
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
sudo sh -c ‘echo “deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main” > /etc/apt/sources.list.d/vscode.list’
sudo apt update
sudo apt install -y code
• Vim (with GUI):
sudo apt install -y vim-gtk3
3. Networking Tools
For testing and monitoring network connections:
sudo apt install -y ssh openssh-server nmap traceroute tmux
4. Web Development Tools
• Node.js and NPM:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install -y nodejs
• PHP:
sudo apt install -y php php-cli php-curl php-mysql php-xml
• Apache/Nginx:
sudo apt install -y apache2 nginx
• Docker:
sudo apt install -y ca-certificates curl gnupg
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER
5. Virtualization and Containers
For running virtual machines or containers:
• QEMU/KVM:
sudo apt install -y qemu qemu-kvm libvirt-daemon virt-manager
• Docker Compose:
sudo apt install -y docker-compose
6. Productivity Tools
Install essential productivity tools:
• Office Suite:
sudo apt install -y libreoffice
• PDF Tools:
sudo apt install -y evince
• File Manager:
sudo apt install -y thunar
7. GUI Tools (if using a desktop environment)
For graphical applications:
• GNOME Tweaks:
sudo apt install -y gnome-tweaks
• Media Players:
sudo apt install -y vlc
8. Optional Tools
Depending on your needs:
• Code Linters/Formatters:
pip3 install pylint black
npm install -g eslint prettier
• Cloud CLI Tools:
• AWS CLI:
curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awscliv2.zip”
unzip awscliv2.zip
sudo ./aws/install
• GCP CLI:
sudo apt install -y google-cloud-sdk
• Communication Tools:
Install Slack, Discord, or Zoom via .deb packages or Snap.
9. System Optimization
• Enable Firewall:
sudo apt install -y ufw
sudo ufw enable
• Enable Swap (if needed):
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
Final Steps:
- Reboot System:
sudo reboot
- Test and verify the tools installed to ensure everything is working.