Loading…

Kali Linux – difference between update and upgrade

Before any installation in Kali Linux, or Linux in general, the operating system should be updated.
This is usually done through the terminal with an update and an upgrade command. But what are the differences? And is the succession important?

How to install Kali Linux on the Raspberry Pi, I’ll show you in this tutorial – Installing Kali Linux on the Raspberry Pi
If you want to install Kali Linux as the only operating system on a hard disk, check out this tutorial – Kali Linux Hard Disk Installation

You should first perform an update and then upgrade before each installation. Neither command executes the other automatically. However, the right order of success is important.

  • apt-get update updates the list of available packages and their versions. But the command does not install or update packages:
    apt-get update
  • apt-get upgrade actually installs newer versions of the packages you have installed:
    apt-get upgrade
  • Running the reorder upside down will result in no newer packages being installed. If you do not want to memorize the sequence, it’s even easier. The following command performs an update first and then upgrades:
    apt-get update && upgrade