Repo virtualbox » Historie » Version 2
Jeremias Keihsler, 17.09.2024 07:21
1 | 1 | Jeremias Keihsler | h1. Install virtualbox repository |
---|---|---|---|
2 | |||
3 | h2. Add virtualbox repository |
||
4 | |||
5 | <pre><code class="bash"> |
||
6 | dnf config-manager --add-repo=https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo |
||
7 | </code></pre> |
||
8 | |||
9 | you can check the content of the repository-file by |
||
10 | <pre><code class="bash"> |
||
11 | cat /etc/yum.repos.d/virtualbox.repo |
||
12 | </code></pre> |
||
13 | |||
14 | the content should look like: |
||
15 | <pre><code class="ini"> |
||
16 | [virtualbox] |
||
17 | name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox |
||
18 | baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch |
||
19 | enabled=1 |
||
20 | gpgcheck=1 |
||
21 | repo_gpgcheck=1 |
||
22 | gpgkey=https://www.virtualbox.org/download/oracle_vbox_2016.asc |
||
23 | |||
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> |