Sunday, December 27, 2020

Chapter 22 : Compile and Install File - Cross Compiling Temporary Tools

Hi,

In this chapter we are going to compile and install file package.

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

Unpack the package and change directory.
$ tar -xvf file-5.39.tar.gz
$ cd file-5.39

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

Compiling the package
$ make -j4

Installing the package
$ make DESTDIR=$LFS install

You can have a detailed explanation about this package compiling and installation at the below mentioned location.




No comments:

Post a Comment

Installing Python and Creating Virtual Environment for Pip for package installations in Ubuntu

Hi, In this post we are going to look at how to install Python and PIP and installing packages in virtual environments.. Without wasting...