|
Component |
edoc platform (On-Premises) (Ubuntu) |
|---|---|
|
Version |
20 - 24 |
|
Created on |
|
|
Last modified on |
No Workflow Applied |
|
Review status |
No Workflow Applied |
|
KB article number |
832635056 |
Summary
In this article you will learn how to update the operating system packages on your Ubuntu system (edoc platform).
Important requirements
You need SSH access to the server via a user who is authorized to use the sudo command or is in the sudo group.
In addition, you should have a basic knowledge of Linux and be able to assess the effects and background of sudo commands.
Solution
After you have logged on to the edoc platform server, do the following:
-
Update package lists.
-
Update installed packages.
-
Remove old packages that are no longer required.
Here's how
-
Update the package lists with the following command:
Bashsudo apt update -
Update the packages with the following command:
Bashsudo apt dist-upgrade -yYou may receive messages that configuration files have been modified. You can normally retain the modified file.
-
Remove the packages that are no longer required with the following command:
Bashsudo apt autoremove -y -
Use the following command to check whether a restart of the server is required if no restart is displayed:
Bashsudo cat /var/run/reboot-required
If a reboot is required, execute the reboot with the command sudo reboot.