mkdocs-benoit.jp.net/docs/Howtos/HowtoCentOS.md
2021-12-01 07:00:24 +00:00

22 lines
458 B
Markdown

# HowtoCentOS
Copy to clipper
```console
cat <file> | pbcopy
```
Upgrade from 8 to Stream.
```console
# dnf install centos-release-stream && dnf update
```
Exclude path when unpacking package. Useful for unprivileged containers.
```console
# dnf reinstall --downloadonly filesystem
# find /var/cache -iname "*filesy*"
# rpm -ivh --excludepath=/proc --excludepath=/sys /var/cache/dnf/baseos-504ddb1bf3482a98/packages/filesystem-3.8-3.el8.x86_64.rpm
```