본문 바로가기
OS/linux

yum dnf 종속성 문제 해결 방법 --allowerasing 옵션

by hyunsoft 2020. 9. 21.

centos8의 패키지 관리 명령어, yum과 100%호환됨.

dnf install --allowerasing 패키지명 으로 실행하면 종속성 해결을 위해 기존 설치된 패키지를 삭제하고 종속성이 해결된 패키지를 설치함.

 

 

종속성을 해결하기 위해 설치된 패키지를 지울 수 있습니다. 이 옵션은 제거할 패키지가 명시적으로 정의되지 않은 yum swap 명령의 대안으로 사용할 수 있습니다.

 

 

 

 

전체 옵션 확인 사이트 https://dnf.readthedocs.io/en/latest/command_ref.html

 

DNF Command Reference — dnf latest documentation

For an explanation of , and see Specifying Packages. Alias Command Allows the user to define and manage a list of aliases (in the form ), which can be then used as dnf commands to abbreviate longer command sequences. For examples on using the alias command

dnf.readthedocs.io

 

728x90

댓글