#apt #update #upgrade #ubuntu #linux #debian #kali #canonical
FIRST:
**Make sure your system is up-to-date before performing an upgrade by updating your packages:**
`sudo apt update && sudo apt upgrade`
(Also check: [[Updates Ubuntu]] )
1. **Check the current version:**
Run the command:
`lsb_release -a`
This displays information about the distribution, including the release and codename.
2. **Alternative method:**
You can also view the contents of the `/etc/os-release` file:
`cat /etc/os-release`
This file contains variables that provide the version information.
3. **Check for new releases:**
Use the command:
`do-release-upgrade -c`
This checks if a new release is available.
4. **Upgrade to a new release:**
If an upgrade is available and you want to upgrade, run:
`sudo do-release-upgrade`
Follow the on-screen instructions to complete the upgrade process.
[[Updates or Upgrade AIX Server]]
[[pfSense, Update Upgrade]]