]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - doc/INSTALL
xfs_scrub: remove moveon from progress report helpers
[thirdparty/xfsprogs-dev.git] / doc / INSTALL
CommitLineData
fc49813f
NS
1This document describes how to configure and build the open source XFS
2commands and utilites ("xfsprogs") from source, and how to install and
3run them.
4
93d9f139
NS
5See the README file in the top level directory for details about how
6to contribute to the XFS project.
7
8
9Linux Instructions
10==================
11
fc49813f
NS
120. If you have the binary rpm, simply install it and skip to step 2 (below).
13 The rpm command to do this is:
f937adac
NS
14 # rpm -Uvh xfsprogs-*.rpm
15 [and optionally, for the development libraries and headers]
16 # rpm -Uvh xfsprogs-devel-*.rpm
fc49813f
NS
17
18 The Debian command to do this is:
fc49813f 19 # apt-get install xfsprogs
f937adac
NS
20 [and optionally, for the development libraries and headers]
21 # apt-get install xfslibs-dev
fc49813f
NS
22
231. Configure, build and install the package
24
25 The xfsprogs package uses autoconf/configure and expects a GNU build
26 environment (your platform must at least have both autoconf and gmake).
27 You will also need to have installed either the e2fsprogs-devel package
28 (on an RPM based system) or the uuid-dev package (on a Debian system)
29 as some of the commands make use of the UUID library provided by these.
30
10a41599 31 To build the package and install it manually, use the following steps:
fc49813f 32
f937adac
NS
33 # make
34 # su root
35 # make install
36 [and optionally, for the development libraries and headers]
37 # make install-dev
fc49813f
NS
38
39 Note that there are so many "install" variants out there that we
40 wrote our own script (see "install-sh" in the top level directory).
41
42 If you wish to turn off debugging asserts in the command build and
43 turn on the optimizer then set the shell environment variables:
44
f937adac 45 OPTIMIZER=-O1
fc49813f
NS
46 DEBUG=-DNDEBUG
47
93d9f139 48 before running make or Makepkgs.