Saturday, December 26, 2020

Chapter 5 : Automating Export of LFS Environment Variable

 Hi,

In this post/chapter I am going to talk about how the export the environment variable required to build a linux system from scratch.

This post/chapter is going to be the shortest of all still it is mandatory for the process.

Start your virtual host from your virtual box, and login as the user.

After you login, Open a terminal and edit the ".profile" of the user using the following command.

$ vi .profile

Append the file with the following...

export LFS=/mnt/lfs

Save the file and exit.

Well that is it, next time you login you do not have to worry about exporting this variable again, this variable is made available when the profile of the user is loaded.




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...