How do I install Ubuntu on a new machine?

Published on
222words
2 min read
How do I install Ubuntu on a new machine?
Authors

Viet-Anh maintains this note as an instruction to install Ubuntu on a new machine and setup development environment as fast as possible. This note contains my autonomous scripts, and instructions to install necessary packages that I often use.

  • Supported Ubuntu versions: 20.04 -> 24.04. These instructions may work with other versions too.

Install most packages using a script

Below is my script to quickly install my environment with popular packages. You can copy and modify it a little to fit yours. You can save this script as install_ubuntu_packages.sh and use command sh install_ubuntu_packages.sh to install these packages.

Setup other packages