update for rename of docs/user/DebugKernelCrashDumps.mdwn to docs/user/list/DebugKern...
[ikiwiki.git] / docs / handbook / handbook-x-install.mdwn
1 \r
2 ----\r
3 \r
4 # 5.3 Installing X11 \r
5 \r
6  **X.org**  or  **XFree86™**  may be installed on DragonFly. DragonFly doesn't force a default implementation, but recommends  **X.org** .  **X.org**  is the X server of the open source X Window System implementation released by the X.Org Foundation and is based on the code of  **XFree86 4.4RC2**  and !X11R6.6.  **X.org**  is currently available in the DragonFly pkgsrc framework.\r
7 \r
8 To build and install  **X.org**  from the pkgsrc framework:\r
9 \r
10     \r
11     # echo "X11_TYPE=modular" >> /etc/mk.conf\r
12 \r
13 \r
14 \r
15 Now 5 different packages need to be built and installed:\r
16 \r
17     \r
18     # cd /usr/pkgsrc/x11/modular-xorg-server\r
19     # bmake install clean\r
20     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-drivers\r
21     # bmake install clean\r
22     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-fonts\r
23     # bmake install clean\r
24     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-libs\r
25     # bmake install clean\r
26     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-apps\r
27     # bmake install clean\r
28 \r
29 \r
30 \r
31 Alternatively, X11 can be installed directly from packages. Binary packages to use with [pkg_add(1)](http://leaf.dragonflybsd.org/cgi/web-man?command#pkg_add&section1) tool are also available for X11. \r
32 \r
33 The following example assumes `PKG_PATH` has been set to the URL of an existing online binary pkgsrc archive.  A complete URL for a given package will also work as an argument.\r
34 \r
35 So to fetch and install the package of  **X.org** , assuming PKG_PATH is set as above, type:\r
36 \r
37     \r
38     # pkg_add modular-xorg-server\r
39     # pkg_add modular-xorg-drivers\r
40     # pkg_add modular-xorg-libs\r
41     # pkg_add modular-xorg-apps\r
42     # pkg_add modular-xorg-fonts\r
43 \r
44 \r
45 \r
46  **Note:** The examples above will install the complete X11 distribution including the server, drivers, fonts etc. Separate packages and ports of X11 are also available.\r
47 \r
48 The rest of this chapter will explain how to configure X11, and how to set up a productive desktop environment.\r
49 \r
50 \r
51 ----\r
52 \r
53 \r