In this chapter we are going to compile and install Tar Package.
Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 1.32
- You should be logged in as lfs user, when you perform the actions described here.
- Change directory to the sources folder (/mnt/lfs/sources)
- Please check http://linuxfromscratch.org/lfs/view/stable/chapter06/tar.html for more details.
Unpack the package tarball and change directory.
$ tar -xvf tar-1.32.tar.xz
$ cd tar-1.32
Prepare the package for compilation.
$ ./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
--bindir=/bin
Compiling the package.
$ make -j4
Installing the package.
$ make DESTDIR=$LFS install
No comments:
Post a Comment