yum-config-manager: command not found 문제

yum-config-manager: command not found 문제

QA

yum-config-manager: command not found 문제

본문

안녕하세요.

phpMyAdmin 최신버젼을 사용하려고 보니 php7.2부터 가능하다고 하네요.

제 가상서버호스팅에 php버젼 보니 5.4

 

OS 재설치 요청할때 호스팅 회사 직원과 통화할때 웹호스팅에 사용되는 PHP 버젼을 설치해 달라고 했더니 5.4 설치했네요.

같은 회사 제 웹호스팅에 PHP는 7.2

고민끝에 7.4 설치 도전

 

 

구글 검색하여 https://sailer.tistory.com/entry/Cent-OS-7-PHP-%EB%B2%84%EC%A0%84-%EC%98%AC%EB%A6%AC%EA%B8%B054-74

이거 보고 따라하는중 막혔습니다.

 

정말 뭐가 이리도 막히는게 많은지 ㅋㅋ

산넘어 산 산 넘어 산이네요.

자전거 여행할때 산 나오는건 환영하지만 리눅스에서 산 나오는건 별로네요.

 

yum-config-manager --enable remi-php74

여기서 막혔습니다.

-bash: yum-config-manager: command not found 라고 뜨네요.

 

검색해보니 

yum install yum-utils 하면 된다길래 했더니

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for libxml2 which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libxml2 of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude libxml2.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of libxml2 installed, but
            yum can only see an upgrade for one of those architectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of libxml2 installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: libxml2-2.9.1-6.el7.5.i686 != libxml2-2.9.1-6.el7_9.6.x86_64

 

이런 에러를 뿜네요.

 

 

어찌해야할지 알려주시면 감사하겠습니다.

https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.1.tar.xz

이거 wget으로 받아서 압축 풀고 설치했는데도 저럽니다.

 

 

 

 

 

이 질문에 댓글 쓰기 :

답변 1

일단 OS 버젼부터 체크하시고 instruction 찾으세요.

그냥 무심코 yum downgrade linxml2 치니까
원하는 버젼이 딱 설치되네요.
위에 명령러 치고 설치하고 나니 yum-utils도 설치되고
yum-config-manager도 됩니다.
PHP7.4 설치 되었고요.
기존에 사용하던 사이트 불러보니 잘 나옵니다.

답변 고맙습니다. ^^

답변을 작성하시기 전에 로그인 해주세요.
전체 286
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT