Difference between revisions of "Kernel Compilation"

From ArchWiki
Jump to: navigation, search
m (nitpicking...)
(Using the Arch User Repository: rw)
Line 13: Line 13:
 
====Using the Arch User Repository====
 
====Using the Arch User Repository====
  
There are packages in the [[AUR]] with alternate kernel configurations and patches. You can install them as is, or use them as a basis for your custom package instead of starting with the PKGBUILD for the official {{Pkg|linux}} package. See [[Kernels#Found in the AUR]].
+
There are packages in the [[AUR]] with alternate kernel configurations and patches. You can install them as is, or use them as the basis for your custom package instead of starting with the PKGBUILD for the official {{Pkg|linux}} package. See [[Kernels#Found in the AUR]].
  
 
===Traditional===
 
===Traditional===

Revision as of 20:46, 17 November 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Arch Linux provides for several methods of kernel compilation.

Methods

Using the Arch Build System (recommended)

Using the Arch Build System is recommended to take advantage of the high quality of the existing linux PKGBUILD and the benefits of package management. The PKGBUILD is structured so that you can stop the build after the source is downloaded and configure the kernel.

See Kernel Compilation/Arch Build System.

Using the Arch User Repository

There are packages in the AUR with alternate kernel configurations and patches. You can install them as is, or use them as the basis for your custom package instead of starting with the PKGBUILD for the official linux package. See Kernels#Found in the AUR.

Traditional

Alternatively, you can compile a kernel without the Arch Build System (the traditional method). This method involves manually downloading a source tarball, and building in your home directory as normal user. Once configured, two compilation/installation methods are offered; the traditional manual method as well as makepkg/pacman.

An advantage of the traditional method is that it will work on other Linux distributions.

See Kernel Compilation/Traditional or Kernel Compilation/Alternative Manual Method (should be merged).

Scripted

A script is available which automates the traditional non-Arch Build System compilation method. See Kernel Compilation/Script.

Proprietary NVIDIA driver

See NVIDIA#Alternate install: custom kernel for instructions on using the proprietary NVIDIA driver with a custom kernel.

See also