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

16 lines
405 B
Markdown
Raw Normal View History

2020-12-09 02:06:04 +00:00
# HowtoCentOS
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
```