๐Ÿ›  How to Install Essential Tools Using Package Managers on Ubuntu and CentOS

Mayank PandeyMayank Pandey
3 min read

Setting up a fresh Linux environment? Whether you're a developer, sysadmin, or power user, having the right tools at your fingertips makes all the difference. In this guide, weโ€™ll show you how to install a comprehensive list of essential tools on Ubuntu and CentOS using their respective package managers.


โœ… Tools Covered

Here's a list of tools we'll install:

ToolDescription
curlTransfers data from or to a server
gitDistributed version control system
vimHighly configurable text editor
htopInteractive process monitor
wgetRetrieves files via HTTP, HTTPS, FTP
net-toolsLegacy network tools (e.g. ifconfig)
build-essential / Development ToolsCompiler and build tools
unzipExtracts .zip files
treeDirectory tree viewer
tmuxTerminal multiplexer
nmapNetwork scanner
python3 & pipPython language & package manager
dockerContainerization platform (optional)

๐Ÿ“ฆ Installation on Ubuntu (APT)

Start with an update:

sudo apt update && sudo apt upgrade -y

Now install all the tools:

sudo apt install -y \
  curl git vim htop wget net-tools \
  build-essential unzip tree tmux nmap \
  python3 python3-pip

Installing Docker on Ubuntu

sudo apt install -y ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
  sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
  https://download.docker.com/linux/ubuntu $(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 docker-buildx-plugin docker-compose-plugin

๐Ÿ“ฆ Installation on CentOS (YUM/DNF)

Update system:

sudo yum update -y   # or use dnf for CentOS 8+

Enable EPEL (for some packages like htop, nmap):

sudo yum install -y epel-release

Install the tools:

sudo yum groupinstall -y "Development Tools"
sudo yum install -y \
  curl git vim htop wget net-tools \
  unzip tree tmux nmap python3 python3-pip

Installing Docker on CentOS

sudo yum install -y yum-utils
sudo yum-config-manager \
    --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum install -y docker-ce docker-ce-cli containerd.io

# Start Docker
sudo systemctl start docker
sudo systemctl enable docker

๐Ÿ” Verifying Installations

Test your tools:

curl --version
git --version
vim --version
htop --version
wget --version
ifconfig   # from net-tools
gcc --version  # build tools
python3 --version
pip3 --version
docker --version

๐Ÿ“ Conclusion

With these commands, you've equipped your Ubuntu or CentOS system with powerful tools for software development, networking, system management, and automation. Whether you're debugging, coding, or deploying containers, you're now ready to roll.

0
Subscribe to my newsletter

Read articles from Mayank Pandey directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mayank Pandey
Mayank Pandey