Changes between Version 90 and Version 91 of Linux build instructions
- Timestamp:
- Nov 29, 2016 7:11:01 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Linux build instructions
v90 v91 3 3 While we try to not favor any distribution, we only build with certain distributions. These include Debian, Ubuntu and Oracle Linux. Things should not be much different for other distributions though. If you want to supply specific build instructions (especially package names) for other distributions, please contact [wiki:Community the VirtualBox team]. 4 4 5 These instructions will also build the Guest Additions - the Linux parts only, and for the bit count your host system is using. To only build the Additions (this requires a lot less dependencies, though sadly `configure` does not know that) add the make file parameter `VBOX_ONLY_ADDITIONS=1` to the `kmk` command line. To create an Additions disk image installer, do a second `kmk` run with `packing` on the command line. And to do a 32-bit build on a 64-bit host, add the parameter `KBUILD_TARGET_ARCH=x86`. Output goes to the folder `out/linux.*/*/bin/additions`. The Additions built will generally not work on a system older than the one they were built on (e.g. a build on Ubuntu 16.10 will cause problems on an Ubuntu 14.04 guest). Build in a [https://en.wikipedia.org/wiki/Chroot chroot] environment to solve this. 5 == Guest Additions == 6 7 These instructions will also build the Guest Additions - the Linux parts only, and for the bit count your host system is using. To only build the Additions (this requires a lot less dependencies, though sadly `configure` does not know that) add the make file parameter `VBOX_ONLY_ADDITIONS=1` to the `kmk` command line. To create an Additions disk image installer, do a second `kmk` run with `packing` on the command line. And to do a 32-bit build on a 64-bit host, add the parameter `KBUILD_TARGET_ARCH=x86`. Output goes to the folder `out/linux.*/*/bin/additions`. The Additions built will generally not work on a system older than the one they were built on (e.g. a build on Ubuntu 16.10 will cause problems on an Ubuntu 14.04 guest). Build in a [https://en.wikipedia.org/wiki/Chroot chroot] environment or on the target virtual machine to solve this. 6 8 7 9 == Prerequisites ==