#4953 closed defect (fixed)
yum repo for fedora-based distros
Reported by: | Alexey Kuznetsov | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 3.0.6 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description (last modified by )
Hi i asking repo for yum based distros!
yum repo done by:
- http://www.playonlinux.com/en/
- http://www.google.com/linuxrepositories/yum.html
- http://blogs.adobe.com/acroread/2008/02/adobe_reader_now_available_via.html
and may others.
but only one repo is installed by correct way, by rpm is:
if you need assistance feel free to ask.
Change History (21)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Thanks for these links! We will indeed consider create an RPM repository.
comment:3 by , 16 years ago
All these links are apparently for Fedora, my hope is that we can unify this procedure and apply it to Mandriva and OpenSUSE as well.
comment:4 by , 16 years ago
i think so, they SHOULD be same.
one note: the right way to install new repo on client machine is by one command: sudo rpm -i http://virtualbox.org/..... some sites say about 'vi' command and manualy creating config file in /etc/yum.repo... its wrong.
for ex. google still do not put repo info into rpm...
here is right way example: http://rpmfusion.org/Configuration
comment:5 by , 16 years ago
also is nice to see virtualbox-additions rpm in yum repo. which can make automaticaly (it user controlled option) update to last version of additions.
1) guest os:
- sudo rpm -i http://download.virtualbox.org/yum.repo.rpm
- sudo yum install virtualbox-additions # dkms depends
2) guest os:
- sudo sh /media/VBOXADDITIONS/*.sh
host os:
- sudo rpm -i http://download.virtualbox.org/yum.repo.rpm
- sudo yum install virtualbox
comment:6 by , 16 years ago
Now there is a repository for Fedora, RHEL and openSUSE. See the download instructions at the Linux downloads page.
comment:7 by , 16 years ago
thank frank. why you do not put .repo file into .rpm like rpmfusion.org does?
comment:8 by , 16 years ago
- also .repo file should contain right repo name in first section (in your repo file it called [base]):
[virtualbox]
- it should have gpg link to pgp sing public key. it allow yum packager to autoimport from repository.
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-[REPONAME]
- please put .repo file into rpm, and put this rpm into virtualbox repository. this action will allow easy auto update .repo file by updating repo.rpm in your repository (no manual update\download require).
comment:9 by , 16 years ago
more details:
your rpm.repo should be called like virtualbox-release.rpm and contain those files:
/etc/pki/rpm-gpg/RPM-GPG-KEY-virtualbox /etc/yum.repos.d/virtualbox.repo
where virtualbox.repo is:
[virtualbox] name=VirtualBox sun-tra-la-la (or just VirtualBox) baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualbox
comment:10 by , 16 years ago
virtualbox-release.rpm should be placed in http://download.virtualbox.org/virtualbox/rpm/fedora/11.91/i386/' and 'http://download.virtualbox.org/virtualbox/rpm/fedora/11.91/x86_64/'.
tx.
comment:11 by , 16 years ago
virtualbox.repo section name fixed, the virtualbox-release.rpm files will follow later.
follow-up: 13 comment:12 by , 16 years ago
fedora 12 will be i686 optimized. so, better to have i686 folder instead i386 and i586
comment:13 by , 16 years ago
Replying to axet:
fedora 12 will be i686 optimized. so, better to have i686 folder instead i386 and i586
What benefit do we get from the renaming of that folder?
comment:15 by , 16 years ago
hmm, i think one benefit: if you can rebuild virtualbox for i686 processor it cat work a little bit faster. and you probably need to put it to the i686 folder.
comment:16 by , 16 years ago
playonlinux now moved to rpm based .repo file.
look at: http://rpm.playonlinux.com/
same as rpmfusion: http://rpmfusion.org/Configuration
same as adobe flash player: http://get.adobe.com/flashplayer/thankyou/?installer=Flash_Player_10_for_Linux_%28YUM%29
comment:17 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Such a repository is available since months.
comment:20 by , 3 years ago
http://download.virtualbox.org/yum.repo.rpm
Is a dead link. Is there a link for the latest repo?
EDIT: Oh PS I need the repo to install the Guest Additions in a guest VM, not for VirtualBox itself. https://forums.virtualbox.org/viewtopic.php?f=6&t=104811&p=520841#p520841
comment:21 by , 3 years ago
Description: | modified (diff) |
---|
Hi operation420.net,
See "RPM-based Linux distributions" section on https://www.virtualbox.org/wiki/Linux_Downloads for the info on how to configure repository. We do not provide a separate package for Additions, but rather ship them as an ISO image which includes installers for all supported platforms at once.
Create yum repo is very easy and funny.
You can done it in three steps:
http://fedoraproject.org/wiki/Extras/CreateRepo