Repo virtualbox » Historie » Version 1
Jeremias Keihsler, 12.01.2017 11:21
1 | 1 | Jeremias 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 | <pre><code class="bash"> |
||
17 | [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 | the listing of available repositories should now include @virtualbox@ |
||
27 | <pre><code class="bash"> |
||
28 | yum repolist |
||
29 | </code></pre> |