6.35. Installing E2fsprogs-1.27

Estimated build time:           2 minutes
Estimated required disk space:  21 MB

6.35.1. Installation of E2fsprogs

Install E2fsprogs by running the following commands:

mkdir ../e2fsprogs-build &&
cd ../e2fsprogs-build &&
../e2fsprogs-1.27/configure --prefix=/usr --with-root-prefix="" \
   --enable-elf-shlibs &&
make &&
make install &&
make install-libs &&
install-info /usr/share/info/libext2fs.info /usr/share/info/dir

6.35.2. Command explanations

--with-root-prefix="": The reason for supplying this option is because of the setup of the e2fsprogs Makefile. Some programs are essential for system use when, for example, /usr isn't mounted (like the e2fsck program). These programs and libraries therefore belong in directories like /lib and /sbin. If this option isn't passed to e2fsprogs' configure, it places these programs in /usr which is not what we want.

--enable-elf-shlibs: This creates shared libraries that some programs in this package can make use of.

make install-libs: This installs the shared libraries that are built.

6.35.3. Contents of e2fsprogs-1.25

6.35.3.2. Descriptions

6.35.4. Dependencies

E2fsprogs-1.25 needs the following to be installed:


bash: sh
binutils: ar, as, ld, ranlib, strip
diffutils: cmp
fileutils: chmod, cp, install, ln, mkdir, mv, rm, sync
gcc: cc, cc1, collect2, cpp0
glibc: ldconfig
grep: egrep, grep
gzip: gzip
make: make
gawk: awk
sed: sed
sh-utils: basename, echo, expr, hostname, uname
texinfo: makeinfo
textutils: cat, tr