I'm new and I want to know how do I update Ubuntu Linux for security and application fix/upgrades using the ssh command line? How can I install updates via the command line option?
Asked
Active
Viewed 1,493 times
1
-
1The same way you would do at the local system? There are no specific commands for doing it remotely. – ChanganAuto Jun 08 '21 at 17:27
2 Answers
3
"how do I update Ubuntu Linux for security and application fix/upgrades?"
A stock install of Ubuntu Desktop and Ubuntu Server will handle deb package security upgrades automatically. The system will also handle ALL snap package upgrades automatically. No user interaction is needed.
A stock install of Ubuntu Desktop will prompt you to install non-security deb upgrades when they are available.
Ubuntu Server lacks the desktop upgrade prompt, obviously. See https://help.ubuntu.com/community/AptGet/Howto for details on how to use the apt
application to install/remove/upgrade deb packages.

user535733
- 62,253
-
1
-
-
1@heynnema seems like the OP's vague question can be interpreted many ways. – user535733 Jun 08 '21 at 20:35
1
The basic CLI commands to use locally, or over SSH, would be...
sudo apt update
sudo apt upgrade
reboot
# if required

heynnema
- 70,711