Version 10 vs 11
Version 10 vs 11
Content Changes
Content Changes
{nav icon=home, name=Main Page >
icon=thumbs-o-up, name=General Recommendations >
name=Upgrading packages}
Updating list of packages and upgrading them
---
NOTE: Always do update and upgrade before installing any package.
== Update software repos ==
Run in [[ PureOS/Desktop/Terminal emulator]] (type the text and press {key ENTER}) following command:
{icon terminal}`sudo apt update`
You will be asked for your password type it in and hit {key ENTER}. When the command finishes, your software repos (information about available packages-applications which can be installed) will be updated.
== Upgrade system ==
Run (type the text and press {key ENTER}):
{icon terminal}`sudo apt upgrade`
NOTE: You can also execute {icon terminal}`sudo apt full-upgrade` to force all packages to upgrade.
You will be asked for your password type it in and hit {key ENTER}.
Then you will be asked to proceed, just press {key ENTER} if you want this, press {key n} and then {key ENTER} if you don't.
When the command finishes, all the packages you installed will be upgraded to their latest versions available. Sometimes it is advisable to restart your computer.
== One-line command ==
One-line command to update repos and upgrade system afterwards:
{icon terminal}`sudo apt update && sudo apt full-upgrade`
{nav icon=home, name=Main Page >
icon=thumbs-o-up, name=General Recommendations >
name=Upgrading packages}
Updating list of packages and upgrading them
---
NOTE: Always do update and upgrade before installing any package.
== Update software repos ==
Run in [[ PureOS/Desktop/Terminal emulator]] (type the text and press {key ENTER}) following command:
{icon terminal}`sudo apt update`
You will be asked for your password type it in and hit {key ENTER}. When the command finishes, your software repos (information about available packages-applications which can be installed) will be updated.
== Upgrade system ==
Run (type the text and press {key ENTER}):
{icon terminal}`sudo apt upgrade`
NOTE: You can also execute {icon terminal}`sudo apt full-upgrade` to force all packages to upgrade.
You will be asked for your password type it in and hit {key ENTER}.
Then you will be asked to proceed, just press {key ENTER} if you want this, press {key n} and then {key ENTER} if you don't.
When the command finishes, all the packages you installed will be upgraded to their latest versions available. Sometimes it is advisable to restart your computer.
== One-line command ==
One-line command to update repos and upgrade system afterwards:
{icon terminal}`sudo apt update && sudo apt full-upgrade`