Na área de trabalho surgirá o ícone da imagem VBOXADDITIONS_2.1.4_42893 (neste caso, VBox versão 2.1.4).
No terminal:
$ cd /media/VBOXADDITIONS_2.1.4_42893/
Para instalar o pacote:
$ sudo sh ./VBoxLinuxAdditions-x86.run
A primeira mensagem de erro que surge é a seguinte:
Please install the build and header files for your current Linux kernel.Isto pode ser resolvido com a instalação do pacote kernel-devel:
The current kernel version is xxxxxx.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
$ sudo yum install kernel-devel
(No caso do ubuntu, poderíamos usar o comando $ sudo aptitude install build-essential kernel-header-`uname -r`)
Tornando a tentar rodar o pacote de instalação VBoxLinuxAdditions, a segunda mensagem de erro diz respeito à falta do compilador gcc:
Please install the GNU compiler.
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.
Resolvemos com a instalação do gcc:
$ sudo yum install gcc
Após a instalação desses pacotes, poderemos novamente rodar:
$ sudo sh ./VBoxLinuxAdditions-x86.run
E bastará reiniciar a máquina para ter os adicionais funcionando.

Nenhum comentário:
Postar um comentário