update, upgrade summary

Target

In the first place

When trying to install something on Linux

sudo apt update
sudo apt upgrade

That guy often appears. That is an article called "What is it?"

Difference between update and upgrade

update Update the list of installable packages. Only the "list" is updated.

upgrade Update the installed packages. Of course, if the package list has not been updated, it cannot be updated, so it must be used together with update.

bonus

sudo apt dist-upgrade

Also the command to be. It updates packages, removes unnecessary packages, and updates the kernel. Perhaps this is more convenient than just upgrading.

Source

Recommended Posts

update, upgrade summary
django update
samba summary
Bayes update
Django Summary
python-pptx summary
Linux Summary
Python summary
Django Summary
pyenv summary
yum and apt update / upgrade are different
String summary 1
Python update (2.6-> 2.7)
pytest summary
matplotlib summary
update dataframe