3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RHEL 7.7へのcompat-libstdc -33のインストール

Last updated at Posted at 2019-11-15

Oracleのインストールの一部として、compat-libstdc -33-3.2.3(x86_64)パッケージをインストールする必要があります。しかし、yumを使ってインストールしようとしているパッケージの種類が変わっても、見つかりません。

[root@ip-xxx-xx-x-xxx ~]# yum install compat-libstdc++-33
Loaded plugins: amazon-id, langpacks, rhui-lb
No package compat-libstdc++-33 available.
Error: Nothing to do
[root@ip-xxx-xx-x-xxx ~]#

RHEL 7.6までは下記のオプションチャンネルや追加チャンネルを有効にすれば、問題なくインストールできますが。。

yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

RHEL 7.7以降は下記二つのリポジトリがなくなった。

rhui-REGION-rhel-server-extras
rhui-REGION-rhel-server-optional

解決案は下記

RHELの新リポジトリを有効にする必要があります。

yum-config-manager --enable rhel-7-server-rhui-optional-rpms

説明:
無効:yum-config-manager --disable リポジトリ
有効:yum-config-manager --enable リポジトリ

確認:

[root@ip-10-1-2-3 ~]# yum search compat-libstdc++-33
Loaded plugins: amazon-id, search-disabled-repos
============================================================== N/S matched: compat-libstdc++-33 ==============================================================
compat-libstdc++-33.i686 : Compatibility standard C++ libraries
compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries

  Name and summary matches only, use "search all" for everything.

repolist確認:

yum repolist all
3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?