rpm 패키지 관리자를 사용하여 패키지를 설치하는 데 문제가 있음

rpm 패키지 관리자를 사용하여 패키지를 설치하는 데 문제가 있음

현재 yum이 없는 CentOS 기반 컴퓨터에 패키지를 설치하려고 하므로 rpm을 사용하여 설치해야 합니다. 필요한 rpm 패키지를 구해서 이렇게 설치해 보았습니다.

$ rpm -Uvh cpp-4.9.3-199192.h1.aarch64.rpm libmpc-1.0.1-3.aarch64.rpm
warning: cpp-4.9.3-199192.h1.aarch64.rpm: Header V4 RSA/SHA1 Signature, key ID 255f3799: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
        installing package libmpc-1.0.1-3.aarch64 needs 200KB on the / filesystem
        installing package cpp-4.9.3-199192.h1.aarch64 needs 15MB on the / filesystem

이 패키지가 설치된 위치를 확인한 결과 다음이 발견되었습니다.

$ rpm -ql cpp-4.9.3-199192.h1.aarch64.rpm
warning: cpp-4.9.3-199192.h1.aarch64.rpm: Header V4 RSA/SHA1 Signature, key ID 255f3799: NOKEY
/usr/bin/cpp
/usr/lib/cpp
/usr/libexec/gcc
/usr/libexec/gcc/aarch64-linux-gnu
/usr/libexec/gcc/aarch64-linux-gnu/4.9.3
/usr/libexec/gcc/aarch64-linux-gnu/4.9.3/cc1
/usr/share/info/cpp.info.gz
/usr/share/info/cppinternals.info.gz
/usr/share/locale/be/LC_MESSAGES/cpplib.mo
/usr/share/locale/ca/LC_MESSAGES/cpplib.mo
/usr/share/locale/da/LC_MESSAGES/cpplib.mo
/usr/share/locale/de/LC_MESSAGES/cpplib.mo
/usr/share/locale/el/LC_MESSAGES/cpplib.mo
/usr/share/locale/eo/LC_MESSAGES/cpplib.mo
/usr/share/locale/es/LC_MESSAGES/cpplib.mo
/usr/share/locale/fi/LC_MESSAGES/cpplib.mo
/usr/share/locale/fr/LC_MESSAGES/cpplib.mo
/usr/share/locale/id/LC_MESSAGES/cpplib.mo
/usr/share/locale/ja/LC_MESSAGES/cpplib.mo
/usr/share/locale/nl/LC_MESSAGES/cpplib.mo
/usr/share/locale/pt_BR/LC_MESSAGES/cpplib.mo
/usr/share/locale/ru/LC_MESSAGES/cpplib.mo
/usr/share/locale/sr/LC_MESSAGES/cpplib.mo
/usr/share/locale/sv/LC_MESSAGES/cpplib.mo
/usr/share/locale/tr/LC_MESSAGES/cpplib.mo
/usr/share/locale/uk/LC_MESSAGES/cpplib.mo
/usr/share/locale/vi/LC_MESSAGES/cpplib.mo
/usr/share/locale/zh_CN/LC_MESSAGES/cpplib.mo
/usr/share/locale/zh_TW/LC_MESSAGES/cpplib.mo
/usr/share/man/man1/cpp.1.gz

그리고

rpm -ql libmpc-1.0.1-3.aarch64.rpm
warning: libmpc-1.0.1-3.aarch64.rpm: Header V4 RSA/SHA1 Signature, key ID 255f3799: NOKEY
/usr/lib64/libmpc.so.3
/usr/lib64/libmpc.so.3.0.0
/usr/share/doc/libmpc-1.0.1
/usr/share/doc/libmpc-1.0.1/COPYING.LESSER
/usr/share/doc/libmpc-1.0.1/NEWS
/usr/share/doc/libmpc-1.0.1/README

그런데 설치가 성공한 후에도 위 위치에서 새 패키지와 관련된 파일을 찾을 수 없었습니다. 이전에는 CentOS에 대한 경험이 많지 않았습니다. 어떤 도움이나 조언이라도 대단히 감사하겠습니다.

[편집]사용 후 rpm -Uvh cpp-4.9.3-199192.h1.aarch64.rpm libmpc-1.0.1-3.aarch64.rpm:

$ which cpp
/usr/bin/which: no cpp in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
$ ls -l /usr/lib64/libmpc.so.3
ls: cannot access '/usr/lib64/libmpc.so.3': No such file or directory

관련 정보