removed
[ikiwiki.git] / docs / handbook / handbook-x-install.mdwn
1 # Installing X11 
2
3 **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.
4
5 To build and install  **X.org**  from the pkgsrc framework:
6
7
8
9     
10
11     # echo "X11_TYPE=modular" >> /etc/mk.conf
12
13
14 Now 5 different packages need to be built and installed:
15
16     # cd /usr/pkgsrc/x11/modular-xorg-server
17     # bmake install clean
18     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-drivers
19     # bmake install clean
20     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-fonts
21     # bmake install clean
22     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-libs
23     # bmake install clean
24     # cd /usr/pkgsrc/meta-pkgs/modular-xorg-apps
25     # bmake install clean
26
27
28
29 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&section=1) tool are also available for X11. 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. So to fetch and install the package of  **X.org** , assuming PKG_PATH is set as above, type:
30
31
32
33     
34
35     # pkg_add modular-xorg-server
36     # pkg_add modular-xorg-drivers
37     # pkg_add modular-xorg-libs
38     # pkg_add modular-xorg-apps
39     # pkg_add modular-xorg-fonts
40
41
42 **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.