[CentOS] Virtualbox on CentOS 7

Sun Jul 13 06:24:43 UTC 2014
Matthias Petermann <matthias at petermann-it.de>

Hello,

Am Samstag, den 12.07.2014 um 12:11 -0700 schrieb Greg Bailey:
> On 07/12/2014 12:02 PM, Fred Smith wrote:
> > On Sat, Jul 12, 2014 at 07:55:52PM +0200, Matthias Petermann wrote:
> >> Hi there,
> >>
> >> because I just noticed that there is still no RPM package for RHEL 7/
> >> CentOS 7 for Virtualbox .... what is the safest and cleanest way to
> >> install Virtualbox on CentOS 7? Has anyone already done and can make a
> >> recommendation?
> > I always just download it from virtualbox.org, also making sure to
> > get the extensions package for the same veresion, also from
> > virtualbox.org.
> >
> > they offer binaries for all the "big" linux versions, inncluding .RPM
> > for RHEL/Oracle Linux, and you would use that one for Centos.
> >
> > What they don't have yet, is the "guest additions" for EL7. I assume
> > that will become available when Oralce Linux 7 becomes available.
> >
> 
> The guest additions should be available soon.  There's an RC of 4.3.14 
> available, and so far the video driver support for an EL7 guest seems to 
> work OK for me.
> 
> More info at:
> 
> https://forums.virtualbox.org/viewtopic.php?f=1&t=62506
> 

thank you both for the advice. Can you tell me where exactly they have
got the appropriate RPMs to CentOS 7 from?

The closest I can find in under

	https://www.virtualbox.org/wiki/Linux_Downloads

but the RPMs for Enterprise Linux are only available for the 6 Series.

When trying to install such a RPM I get an error message which
consequently complains that Python is installed in the wrong version.
This is probably an easy problem to solve, but I'd like to avoid to
contaminate my installation with third party packets when it is
"official" is a way.

Thanks in advance and best regards,
Matthias



[root at ws1 Downloads]# yum install VirtualBox-4.3-4.3.12_93733_el6-1.x86_64.rpm 
Geladene Plugins: fastestmirror, langpacks
VirtualBox-4.3-4.3.12_93733_el6-1.x86_64.rpm wird untersucht: VirtualBox-4.3-4.3.12_93733_el6-1.x86_64
VirtualBox-4.3-4.3.12_93733_el6-1.x86_64.rpm wird zum Installieren markiert
Abhängigkeiten werden aufgelöst
--> Transaktionsprüfung wird ausgeführt
---> Paket VirtualBox-4.3.x86_64 0:4.3.12_93733_el6-1 markiert, um installiert zu werden
--> Abhängigkeit python(abi) = 2.6 wird für Paket VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 verarbeitet
Loading mirror speeds from cached hostfile
 * base: mirror.eu.oneandone.net
 * epel: mirrors.n-ix.net
 * extras: mirror.eu.oneandone.net
 * updates: mirror.eu.oneandone.net
--> Abhängigkeit libpng12.so.0(PNG12_0)(64bit) wird für Paket VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 verarbeitet
--> Abhängigkeit libpng12.so.0()(64bit) wird für Paket VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 verarbeitet
--> Abhängigkeit libpython2.6.so.1.0()(64bit) wird für Paket VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 verarbeitet
--> Transaktionsprüfung wird ausgeführt
---> Paket VirtualBox-4.3.x86_64 0:4.3.12_93733_el6-1 markiert, um installiert zu werden
--> Abhängigkeit python(abi) = 2.6 wird für Paket VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 verarbeitet
--> Abhängigkeit libpython2.6.so.1.0()(64bit) wird für Paket VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 verarbeitet
---> Paket libpng12.x86_64 0:1.2.50-6.el7 markiert, um installiert zu werden
--> Abhängigkeitsauflösung beendet
Fehler: Paket: VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 (/VirtualBox-4.3-4.3.12_93733_el6-1.x86_64)
            Benötigt: python(abi) = 2.6
            Installiert: python-2.7.5-16.el7.x86_64 (@base/$releasever)
                python(abi) = 2.7
                python(abi) = 2.7
Fehler: Paket: VirtualBox-4.3-4.3.12_93733_el6-1.x86_64 (/VirtualBox-4.3-4.3.12_93733_el6-1.x86_64)
            Benötigt: libpython2.6.so.1.0()(64bit)
 Sie können versuchen, mit --skip-broken das Problem zu umgehen.
 Sie könnten Folgendes versuchen: rpm -Va --nofiles --nodigest
[root at ws1 Downloads]# 



-- 
Matthias Petermann <matthias at petermann-it.de> | www.petermann-it.de
GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572  C3D7 7B1D A3C3 5C3E 6D75