mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-26 06:17:01 +00:00
System
- Check for package update
This commit is contained in:
parent
7aba786152
commit
cbe90cb99f
@ -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*
|
||||||
|
Loading…
Reference in New Issue
Block a user