- Check for package update
This commit is contained in:
bonnie 2020-07-19 22:40:49 +08:00
parent 7aba786152
commit cbe90cb99f

View File

@ -1957,6 +1957,14 @@ apt list --installed
yum list installed yum list installed
``` ```
##### Check for package update
```bash
apt list --upgradeable
# or
sudo yum check-update
```
##### Run yum update excluding a package (e.g. do not update php packages) ##### Run yum update excluding a package (e.g. do not update php packages)
```bash ```bash
sudo yum update --exclude=php* sudo yum update --exclude=php*