Linux, terminal and Git

Stage 1 · Lesson 6 of 8

Updating and installing packages

Set up your machine

Before installing anything, update. On , in or on a desktop, sudo apt update refreshes the list of packages your knows about. sudo apt upgrade then installs newer versions of what you already have.

On a Mac, brew update and brew upgrade do the same for Homebrew. Then install your first tools, such as git, curl, jq and tree, through the package manager rather than from download pages. Regular updates bring security fixes and avoid strange version mismatches.

Common traprunning apt install without updating first and getting "unable to locate package", or ignoring updates for months.

A question to check yourself, an AI practice session and 1 cheat sheet entry come when you add the roadmap to your account. Add it

Resources for this stage

Start with

Keep handy

  • The most thorough Linux reference there is, useful whichever distribution you run

  • The editor used through this roadmap, with official set-up guides for each operating system

Also worth your time

  • A map of the whole Linux topic, to see how much there is beyond this stage

Mark this stage as not done?