Projekt

Allgemein

Profil

Repo virtualbox » Historie » Version 2

Jeremias Keihsler, 17.09.2024 07:20

1 1 Jeremias (Admin) Keihsler
h1. Install virtualbox repository
2
3
h2. Add virtualbox repository
4
5
<pre><code class="bash">
6
cd /etc/yum.repos.d
7
wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
8
</code></pre>
9
10
you can check the content of the repository-file by
11
<pre><code class="bash">
12
cat virtualbox.repo
13
</code></pre>
14
15
the content should look like:
16 2 Jeremias Keihsler
<pre><code class="ini">
17 1 Jeremias (Admin) Keihsler
[virtualbox]
18
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
19
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
20
enabled=1
21
gpgcheck=1
22
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
23
</code></pre>
24
25
h2. Test
26
27
the listing of available repositories should now include @virtualbox@
28
<pre><code class="bash">
29
yum repolist
30
</code></pre>