Skip to content

How to update your Ubuntu server packages

FULL-STACK WEB DEVELOPMENT BOOTCAMP

2024 COHORT SIGNUPS END TOMORROW

I have a few VPS based on Ubuntu and I have an alert on my calendar to login from time to time and update the packages and keep up with security fixes.

Hereโ€™s the sequence I use (itโ€™s mostly a note to myself for the next time I forget)

Connect as root to the server, then you run:

apt-get update

to get the packages index updates.

Then run:

apt-get upgrade

to actually update the packages.

Then, if needed (depends on the kind of packages that needed an update), reboot the system:

reboot
  • Learn modern web development in my BOOTCAMP (SIGNUP END TOMORROW FEB 20, 2024)
  • THE VALLEY OF CODE (+ PRO), your web development manual
  • I wrote 15+ coding BOOKS, all available in THE VALLEY OF CODE PRO
  • Indie solopreneur internet business masterclass SOLO LAB (summer 2024)