http://linux-cisco.blogspot.com/2008/01/fedora-8virtualbox.html
>rpm -ivh VirtualBox-4.0-4.0.2_69518_fedora14-1.i686.rpm
錯誤:相依性偵測失敗:
libQtCore.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtGui.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtNetwork.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libQtOpenGL.so.4 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
libSDL-1.2.so.0 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
download "oracle_vbox.asc" key for virtualbox:
http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
>su - apt-key add oracle_vbox.asc
否則會出現類似警告
warning: VirtualBox-3.2-3.2.6_63112_fedora13-1.i686.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
update fedora:
>yum update
install Qt:
>yum install qt
>yum install qt-devel
錯誤:相依性偵測失敗:
libSDL-1.2.so.0 被 VirtualBox-4.0-4.0.2_69518_fedora14-1.i686 所需要
yum install SDL
錯誤:can't create transaction lock on /var/lib/rpm/.rpm.lock (沒有此一檔案或目錄)
只要用最高權限安裝就不會出現了
DKMS packeage install:
http://linuxhub.net/2009/08/install-dkms-virtualbox-driver-not-installed-error-after-updating-to-new-linux-kernel/
>yum install dkms
error:
ref:http://webcache.googleusercontent.com/search?q=cache:79uWE8G1FjsJ:fedoraforum.org/forum/showthread.php%3Ft%3D255773+fedora+virtualbox+Error!+Your+kernel+source+for+kernel+2.6.35.6-45.fc14.i686+cannot+be+found+at+/lib/modules/2.6.35.6-45.fc14.i686/build+or+/lib/modules/2.6.35.6-45.fc14.i686/source.&cd=2&hl=zh-TW&ct=clnk&gl=tw&client=firefox-a&source=www.google.com.tw
fedora virtualbox Error! Your kernel source for kernel 2.6.35.6-45.fc14.i686 cannot be found at /lib/modules/2.6.35.6-45.fc14.i686/build or /lib/modules/2.6.35.6-45.fc14.i686/source.
>yum install kernel-devel kernel-headers gcc
>yum groupinstall 'Development Tools'
>/etc/init.d/vboxdrv setup
fedora13成功範例
http://forums.fedoraforum.org/showthread.php?t=245638
沒有留言:
張貼留言