Repo virtualbox » Historie » Version 2
Jeremias Keihsler, 17.01.2019 08:36
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/fedora/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 | 2 | Jeremias Keihsler | name=Fedora $releasever - $basearch - VirtualBox |
19 | baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch |
||
20 | 1 | Jeremias Keihsler | enabled=1 |
21 | gpgcheck=1 |
||
22 | 2 | Jeremias Keihsler | repo_gpgcheck=1 |
23 | 1 | Jeremias Keihsler | gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc |
24 | </code></pre> |
||
25 | |||
26 | h2. Test |
||
27 | |||
28 | the listing of available repositories should now include @virtualbox@ |
||
29 | <pre><code class="bash"> |
||
30 | 2 | Jeremias Keihsler | dnf repolist |
31 | 1 | Jeremias Keihsler | </code></pre> |