mkdocs-benoit.jp.net/docs/Howtos/HowtoCentOS.md

22 lines
458 B
Markdown
Raw Normal View History

2020-12-09 02:06:04 +00:00
# HowtoCentOS
2021-12-01 07:00:24 +00:00
Copy to clipper
```console
cat <file> | pbcopy
```
2020-12-09 02:06:04 +00:00
Upgrade from 8 to Stream.
2021-02-20 06:06:15 +00:00
```console
# dnf install centos-release-stream && dnf update
2020-12-09 02:06:04 +00:00
```
Exclude path when unpacking package. Useful for unprivileged containers.
2021-02-20 06:06:15 +00:00
```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
2020-12-09 02:06:04 +00:00
```