Virtualbox On CentOS 7

Home » CentOS » Virtualbox On CentOS 7
CentOS 5 Comments

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?

Thanks & Regards, Matthias

5 thoughts on - Virtualbox On CentOS 7

  • 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.

  • Hello,

    Am Samstag, den 12.07.2014 um 12:11 -0700 schrieb Greg Bailey:

    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@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@ws1 Downloads]#


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

  • Ah, I think I misunderstood. So far my vbox/CentOS-7 experiments have been using CentOS-6 (or Win-7) as the host and C-7 as the guest.