One command line, everything up to date (apt, dnf, yum, pacman, yaourt, zypper, flatpak, npm and snap)
npm install lkt-system-updateOne command line, everything up to date
!node
- Automatic detects if it's a normal user or root/sudo
- Supports apt, dnf, yum, pacman, yaourt, zypper, flatpak, npm and snap
``bash`
npm install -g lkt-system-update
`bash`
lkt-system-update
As soon as you press Enter, the command will prompt info about what's running out.
If required (not root), password will request.
And will be noticed when finished:
1. OS package engine: apt, yum, pacman...
2. OS package cleaning (apt only)
3. flatpak (only if installed)
4. snap (only if installed)
Options:
| Option | Result |
|-------------------|------------------------------|
| -V, --version | output the version number |
| --no-snap | prevent snap packages update |
| --no-npm | prevent npm packages update |
| -i, --interactive | enables interaction |
| -h, --help | display help for command |
The no snap option exists in case you want to use this command in scheduled scripts because snap API doesn't allow user to skip password authentication.
By default, this command updates the system without the need of user input, but you can be able to manually confirm the updates with the interactive option.
`bashCommon user usage
lkt-system-update