Skip to main content

One post tagged with "Ubuntu"

Ubuntu tips and tricks

View All Tags

Things to Do After Installing Ubuntu

· 2 min read
Hieu Nguyen
Senior Software Engineer

Things to Do After Installing Ubuntu

In this post, I want to share the things I usually do after installing Ubuntu.

Update and upgrade package

Update and upgrade your system to keep your software up to date.

sudo apt update

sudo apt upgrade -y

Remove unused packages

This command helps clean up unused packages and free disk space.

sudo apt autoremove

Install compilation tools

Install the basic compilation tools required to build software from source.

# Install essential build tools (gcc, make, etc.)
sudo apt install build-essential

# check
gcc --version
g++ --version

Install network tool

Provides legacy networking commands such as ifconfig and netstat

# Install network utilities like ifconfig, netstats
sudo apt install net-tools

# check ip
ifconfig

Install firewall

Install a user-friendly firewall tool to helps secure your Ubuntu system and control incoming and outgoing network traffic.

# Install UFW firewall
sudo apt install ufw

# Check status firewall
sudo ufw status verbose

# If you use SSH remotely, allow SSH before enabling the firewall
sudo ufw allow ssh # (skip this step if you are using Ubuntu as a desktop client)

# enalbe firewall
sudo ufw enable

# Control ufw via GUI
sudo apt install gufw

Other Useful Tools

## Optional but Recommended

# Install Git
sudo apt install git

# Config git
git config --global user.name "Your Name"
it config --global user.email "your.email@example.com"

# Install curl, wget
sudo apt install curl
sudo apt install wget

Thanks for reading, I hope you find this helpful.