Lazo Lab Sign up

Linux & the Command Line / Power tools

Lesson 21 of 30

Installing software with apt

On Ubuntu and Debian, apt installs and updates software from trusted repositories.

Key points

  • sudo apt update refreshes the list
  • sudo apt upgrade installs updates
  • sudo apt install name
sudo apt update && sudo apt upgrade
sudo apt install htop
Watch a video on thisOpens YouTube search results for “Installing software with apt” in a new tab

Quiz · +10 XP

Which command refreshes the list of available packages?

Log in to save progress and earn XP.