Sunday, December 27, 2020

Chapter 21 : Compile and Install Diffutils - Cross Compiling Temporary Tools

Hi,

In this post we are going to see compiling and installing diffutils package.

Note :
- Please check the version of the package when you compile and install, at the time of writing the package was at version 3.7
- You should be logged in as lfs user, when you perform the actions described here.
- Change directory to the sources folder (/mnt/lfs/sources)

Unpacking the tarball and change directory
$ tar -xvf diffutils-3.7.tar.xz
$ cd diffutils-3.7

Preparing the package for compiling
$ ./configure --prefix=/usr --host=$LFS_TGT

Compiling the package
$ make -j4

Installing the package
$ make DESTDIR=$LFS install




No comments:

Post a Comment

How to change the root password in linux when it is forgotten/to change

This blog is all about changing the root password of the Linux system when it is forgotten or to reset the password...   Let's get it ...