./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.1.18 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 5.10.36-2-MANJARO.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
解决方法:
Please install the Linux kernel "header" files matching the current kernel
Linux Manjaro安装kernel及Kernel Headers
查找可用内核
pacman -Ss linux-headers
安装linux-headers
pacman -S linuxXY linuxXY-headers
注意:XY为你要安装的版本号,如:
sudo pacman -S linux510 linux510-headers
Please install the gcc make perl packages from your distribution.
安装gcc make perl
sudo pacman -S gcc make perl