yumを使用したOracle Linux 7へのVirtualBoxのインストール

yumを使用したOracle Linux 7へのVirtualBoxのインストール

Oracle Linux(Red Hat Enterprise Linux Serverバージョン7.9(Maipo))が正しく実行されていますが、yumを使用してVirtualBoxをインストールしようとしています。

存在するこのページ指示だけが見つかります。

Users of Oracle Linux 6 and 7 can use the Oracle Linux yum  repository and enable the  ol6_developer channel for Oracle Linux 6 or the  ol7_developer channel for Oracle Linux 7. 

私にはこれらのファイルがあります

ls -1 /etc/yum.repos.d/

epel-yum-ol7.repo
oracle-linux-ol7.repo
oracle-softwarecollection-ol7.repo
pgdg-redhat-all.repo
uek-ol7.repo
virt-ol7.repo

したがって、ol7_developerを有効にするすべてのコマンドは、

yum-config-manager --enable ol7_developer

違いはないようです。

それでは、この問題を解決する方法は?

ベストアンサー1

リポジトリを手動で作成します。次の行を追加します/etc/yum.repos.d/ol7_developper.repo

[ol7_developer]
name=Oracle Linux $releasever Development Packages ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

または、以下をインストールしてくださいrpm

wget https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/VirtualBox-6.1-6.1.2_135662_el7-1.x86_64.rpm
wget http://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/containerd-1.2.0-1.0.4.el7.x86_64.rpm
sudo rpm -ivh VirtualBox-6.1-6.1.2_135662_el7-1.x86_64.rpm
sudo rpm -ivh containerd-1.2.0-1.0.4.el7.x86_64.rpm

おすすめ記事