Apt-get Update Vs Apt-get Upgrade: What’s the Difference | LinuxSimply

preview_player
Показать описание

Explore the key differences between 'apt-get update' and 'apt-get upgrade' in the world of Debian-based Linux distros through this video. Learn how these two commands work and when to use them effectively to keep your Linux system up-to-date and healthy.

Content Index
0:00 Introduction
0:21 What Does Apt-get Update Do?
0:46 What Does Apt-get Upgrade Do?
1:11 Apt-get Update Vs Apt-get Upgrade
1:58 How to Use ‘apt-get update’ Command
2:18 How to Use ‘apt-get upgrade’ Command
2:38 Special Options With ‘sudo apt-get upgrade’ Command
2:55 Use ‘–yes’ or ‘-y’ Option With apt-get upgrade Command
3:12 Use ‘–dry-run’ or ‘-s’ Option With apt-get upgrade Command

Instructor Details
Ayesha Tun Nashrah

Commands Used
----------------------
1. sudo apt-get update
2. sudo apt-get upgrade
3. sudo apt-get upgrade -y
4. sudo apt-get upgrade -s
------------------------------------------------------------------

Read Full Article:
Apt-get Update Vs Upgrade [What’s the Difference]

Follow Us

#linux
#linuxsimply
#linuxtutorial
#apt
#update
Рекомендации по теме
Комментарии
Автор

It's safe to say that today, most people using Debian-based systems are using the shortened commands:

apt update - replaces apt-get update

apt upgrade - replaces apt-get upgrade

and to chain them together, you get something like this on Debian:
apt update && apt upgrade -y && apt autoclean -y

For Ubuntu based distributions that have sudo pre-installed and rely on snaps
sudo apt update && sudo apt ugprade -y && sudo apt autoclean -y && sudo snap refresh

This command, on an Ubuntu system will update repositories, upgrade packages, clean old packages and update snaps.

Practical-IT