質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.47%
Singularity(コンテナ)

Singularity(コンテナ)は、科学・高性能コンピューティング(HPC)環境用に設計されたオープンソースベースのLinuxコンテナソフトウェア。アプリ本体と動作に必要なライブラリ・データをパッケージ化できます。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

yum

yumコマンドは、UNIX系OSのRPMパッケージのインストールなどを行うためのプログラムのことです。

Red Hat Enterprise

Red Hat Enterpriseは、レッドハット社により開発・サポートが行われている業務向けLinuxディストリビューションです。オープンソースで無償で利用することができ、バイナリ版の入手・サポートは有償です。商用ディストリビューションとして人気が高く、代表的なLinuxの選択肢の一つです。

Q&A

解決済

1回答

338閲覧

yum install で「libseccomp-devel」がインストールできません

3booking

総合スコア1

Singularity(コンテナ)

Singularity(コンテナ)は、科学・高性能コンピューティング(HPC)環境用に設計されたオープンソースベースのLinuxコンテナソフトウェア。アプリ本体と動作に必要なライブラリ・データをパッケージ化できます。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

yum

yumコマンドは、UNIX系OSのRPMパッケージのインストールなどを行うためのプログラムのことです。

Red Hat Enterprise

Red Hat Enterpriseは、レッドハット社により開発・サポートが行われている業務向けLinuxディストリビューションです。オープンソースで無償で利用することができ、バイナリ版の入手・サポートは有償です。商用ディストリビューションとして人気が高く、代表的なLinuxの選択肢の一つです。

0グッド

0クリップ

投稿2023/11/20 05:16

実現したいこと

  • [ ]「libseccomp-devel」パッケージをインストールしたい

前提

https://teratail.com/questions/q7urq4lkp31i9q で質問した内容に連なるものなのですが、
RHEL7の環境にsingularityモジュールを追加する時に「libseccomp+headers」が必要と返ってきます。
過去の資料とネットで調べてみた感じでは「libseccomp-devel」パッケージが必要なのかと思われます。
参考 https://github.com/sylabs/singularity/blob/main/INSTALL.md

[root@hoge singularity-ce-3.11.5]# ./mconfig --prefix=/opt/fuga/singularity/3.11.5 Configuring for project `singularity-ce' with languages: C, Golang => running pre-basechecks project specific checks ... => running base system checks ... checking: host C compiler... cc checking: host C++ compiler... c++ checking: host Go compiler (at least version 1.17)... /bin/go checking: host C compiler option -Wall... yes checking: host C compiler option -Werror... yes checking: host C compiler option -Wfatal-errors... yes checking: host C compiler option -Wno-unknown-warning-option... yes checking: host C compiler option -Wstrict-prototypes... yes checking: host C compiler option -Wpointer-arith... yes checking: host C compiler option -Wbad-function-cast... yes checking: host C compiler option -Woverlength-strings... yes checking: host C compiler option -Wframe-larger-than=2047... yes checking: host C compiler option -Wno-sign-compare... yes checking: host C compiler option -Wclobbered... yes checking: host C compiler option -Wempty-body... yes checking: host C compiler option -Wmissing-parameter-type... yes checking: host C compiler option -Wtype-limits... yes checking: host C compiler option -Wunused-parameter... yes checking: host C compiler option -Wunused-but-set-parameter... yes checking: host C compiler option -Wno-discarded-qualifiers... yes checking: host C compiler option -Wno-incompatible-pointer-types... yes checking: host C compiler option -pipe... yes checking: host C compiler option -fmessage-length=0... yes checking: host C compiler option -fPIC... yes checking: host `ar' path... ar checking: host `ld' path... ld checking: host `ranlib' path... ranlib checking: host `objcopy' path... objcopy checking: target C compiler... cc checking: target C++ compiler... c++ checking: target `ar' path... ar checking: target `ld' path... ld checking: target `ranlib' path... ranlib checking: target `objcopy' path... objcopy checking: host compiles static binaries... no checking: target compiles static binaries... no checking: host os type... unix checking: host architecture... x86_64 checking: target architecture... x86_64 checking: host architecture word size... 64 checking: target architecture word size... 64 checking: project version... 3.11.5 checking: project short version... 3.11.5 => running post-basechecks project specific checks ... checking: namespace: CLONE_NEWPID... yes checking: namespace: CLONE_FS... yes checking: namespace: CLONE_NEWNS... yes checking: namespace: CLONE_NEWUSER... yes checking: namespace: CLONE_NEWIPC... yes checking: namespace: CLONE_NEWNET... yes checking: namespace: CLONE_NEWUTS... yes checking: namespace: CLONE_NEWCGROUP... no checking: feature: NO_NEW_PRIVS... yes checking: feature: MS_SLAVE... yes checking: feature: MS_REC... yes checking: feature: MS_PRIVATE... yes checking: user capabilities... yes checking: header linux/securebits.h... yes checking: header linux/capability.h... yes checking: libseccomp+headers... no seccomp headers are required to build Singularity with seccomp support. To disable seccomp support run mconfig using '--without-seccomp'.

発生している問題・エラーメッセージ

yum で「libseccomp-devel」をインストールしようとすると見つからないと返ってきました。

[root@hoge singularity-ce-3.11.5]# yum install libseccomp-devel Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager No package libseccomp-devel available. Error: Nothing to do [root@hoge singularity-ce-3.11.5]# yum search libseccomp-devel Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Warning: No matches found for: libseccomp-devel No matches found [root@hoge singularity-ce-3.11.5]#

リポジトリの設定

/etc/yum.repos.d/epel.repo を確認してみるとepelとepel-debuginfo、epel-sourceの何れも「enabled=0」とありました。

質問したいこと

  1. yumでインストールできないのはリポジトリの設定が無効になっているためと考えますが、合っていますか。
  2. (1.が正しかった場合リポジトリの設定を変更せずに)パッケージをインストールする方法はあるでしょうか。
  3. (1.が正しくなかった場合)パッケージをインストールする方法はあるでしょうか。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

3booking

2023/11/21 00:47 編集

ありがとうございます。 wget → rpm -iv でも試してみようと思います。
guest

回答1

0

ベストアンサー

CentOS7だとBaseパッケージにあります。
yum list libseccomp-devel

libseccomp-devel.i686 2.3.1-4.el7 base

RHEL7に無いとは思えないので、

yumでインストールできないのはリポジトリの設定が無効になっているためと考えますが、合っていますか。

だと思います。epelなのかどうかは調べないと分かりませんが。

yum list libseccomp-devel --enablerepo="epel*"

(1.が正しかった場合リポジトリの設定を変更せずに)パッケージをインストールする方法はあるでしょうか。

「リポジトリの設定を変更せずに」が「設定ファイルを書き換えずに」という意味なら、
yum install libseccomp-devel --enablerepo=リポジトリ名
です。

投稿2023/11/20 16:25

otn

総合スコア84574

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

3booking

2023/11/21 00:53

ありがとうございます。 コマンドも明記して頂いて大変助かりました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.47%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問