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으로 받아서 압축 풀고 설치했는데도 저럽니다.