mkdocs-benoit.jp.net/docs/Howtos/HowtoCentOS.md
2022-07-21 07:53:26 +00:00

489 B

HowtoCentOS

List versions of a package.

# yum list <package> --show-duplicates

Upgrade from 8 to Stream.

# dnf install centos-release-stream && dnf update

Exclude path when unpacking package. Useful for unprivileged containers.

# 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