-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from jdno/document-apt-update
Document how to update packages on dev-desktops
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# How to Update System | ||
|
||
Periodically, it is necessary to update the packages on the dev desktops as well | ||
as the operating system itself. | ||
|
||
## Update Packages | ||
|
||
Updating the packages is a straightforward process. Simply run the following | ||
commands to first update the package index and then upgrade the packages: | ||
|
||
```shell | ||
sudo apt update | ||
sudo apt upgrade | ||
``` | ||
|
||
We have overwritten the `motd` configuration, which might cause a prompt. Answer | ||
the prompt with `N` (the default) to keep our configuration. | ||
|
||
After the packages have been updated, it is a good idea to reboot the machine to | ||
ensure that all services are running with the latest versions: | ||
|
||
```shell | ||
sudo reboot now | ||
``` | ||
|
||
Optionally, you can also run the following command to remove any packages that | ||
are no longer needed: | ||
|
||
```shell | ||
sudo apt autoremove | ||
``` |