Ticket #3774: mcedit - fix mouse active area for maximize / close buttons
[midnight-commander.git] / doc / INSTALL.FAST
blob77d97feea33e2bc5bfa70202f5fc15b4c32cd35c
1 Read the INSTALL file for the complete instructions. 
3 GNU Midnight Commander requires glib2.
5 GNU Midnight Commander uses the S-Lang screen library by default. It
6 tries the S-Lang library installed on the system.  If it's not found,
7 the included S-Lang sources are used.  It is also possible to use
8 ncurses as the screen library.
10 1. Configure the package for your system.
12 Normally, you just `cd' to the package main directory and type
13 `./configure'.
15 The most often needed options to configure are following:
17 `--prefix=PATH'
18         By default, `make install' will install the package's files
19         in `/usr/local/bin', `/usr/local/man', etc. or to `/usr/bin',
20         `/usr/man', etc. depending on the location of an old mc binary.
21         If you have none in your system, default will be `/usr/local'.
22         You can specify an installation prefix other than default by
23         giving `configure' the option `--prefix=PATH'.
25 `--with-screen={slang|ncurses}'
26         Choose the library used to manage interaction with the terminal.
27         `slang' means S-Lang library already installed on the system,
28         `ncurses' means ncurses library already installed on the system.  
29         The installed S-Lang library is used by default if found.
31 You may also want to specify CFLAGS for the compiler, even if it finds
32 itself some defaults by typing e.g.
34 ./configure CFLAGS=-O3
36 2. Type `make' to compile the package.
38 3. Type `make install' to install programs, data files, and
39 documentation.  You may need to run this command as root.
41 If you're on a GNU/Linux system, this will install the `cons.saver'
42 utility, which allows the Midnight Commander to save and restore the
43 screen contents.  This utility can be installed setuid root, but it's
44 only needed on systems where users cannot access /dev/vcsaN, where N is
45 the virtual console number, on which the uses is logged on.
47 If you're making a mc binary distribution for other people and want to
48 package the whole installed tree, use `make install DESTDIR=PATH', which
49 will make PATH the root for installation.
51 4. Type `mc' and enjoy!