Repo virtualbox » Historie » Version 1
Jeremias Keihsler, 12.01.2017 09:24
| 1 | 1 | Jeremias Keihsler | h1. VirtualBox repository |
|---|---|---|---|
| 2 | |||
| 3 | h2. download 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=RHEL/CentOS-$releasever / $basearch - VirtualBox |
||
| 19 | baseurl=http://download.virtualbox.org/virtualbox/rpm/rhel/$releasever/$basearch |
||
| 20 | enabled=1 |
||
| 21 | gpgcheck=1 |
||
| 22 | gpgkey=http://download.virtualbox.org/virtualbox/debian/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> |