0x6a6f73687561
/
CentOS/RHEL 오래된 커널 제거하기
Search
Share
CentOS/RHEL 오래된 커널 제거하기
요약
package-cleanup --oldkernels
,
dnf remove --oldinstallonly
게시일
2021/03/03
태그
Linux
1 more property
TL;DR
# RHEL, CentOS 5/6/7
sudo
package-cleanup
--oldkernels
# RHEL 8+, Fedora
sudo
dnf remove
--oldinstallonly
Shell
복사
이 명령은 최근 업데이트된 2개의 커널만 남겨두고 나머지 오래된 커널들을 제거한다.
package-cleanup
명령어를 사용할 수 없다면
yum-utils
패키지를 설치한다.
자세한 내용은 여기에서
What is the proper method to remove old kernels from a Red Hat Enterprise Linux system? - Red Hat Customer Portal
How can I remove old kernel packages from a Red Hat Enterprise Linux system? Two kernel packages are appearing in my system, how to remove the older kernel package?
How to Delete Old Unused Kernels in CentOS, RHEL and Fedora
In this article, we will explain how to safely remove old unused kernel images on CentOS, RHEL and Fedora systems. It is important to update kernel before removing.