

Sudo apt-get install virtualbox-guest-x11įound on How do I install Guest Additions in a VirtualBox VM? Sudo apt-get install build-essential linux-headers-$(uname -r) I have done so successfully in the recent past using : bash Because that is most easy to reproduce and to document. In the same way, select Drag & Drop and choose the Bidirectional option.I would like to install Virtualbox guest addition using the terminal. Step 6: Enable Share Clip and Drag & Drop featuresĬlick on the Devices given in the Oracle VirtualBox menu and then click Share Clipboard and select “ Bidirectional“. Now, in your terminal mount the CDROM that contains the script to install Virtual Guest Additions on AlmaLinux sudo mkdir -p /mnt/cdrom Go to the Virtualbox menu > Device and then select the “Install Guest Additions CD Image…” option. Step 4: Insert Install Guest Additions CD Image Thus, it is better to run the Kernel update command before restarting the system sudo dnf update kernel-* Give your permission to install by typing Y and hit the Enter Key.Īlthough, the system will perform the update of the kernel automatically to make the changes, however, sometimes it may not. sudo dnf install gcc make perl kernel-devel kernel-headers bzip2 dkms The next thing is with the help of the EPEL repository we will install several tools kernel and DKMS (Dynamic Kernel Module Support) to build and install the Kernel module required to install the Guest Addition feature VirtualBox on AlmaLinux 8 distro. Open Command terminal and first-run system update command that is: sudo dnf updateĪfter that add the Extra Packages for Enterprise Linux, in short, known as EPEL using a simple command: sudo dnf install epel-release Second Method VirtualBox Guest Additions installation on AlmaLinux 8 Step 1: Add Epel Repository
