How and where to install packages downloaded in Unit 3? (LFS-7)
As mentioned in the book we need to install the packages as lfs user, but when I try to install it shows error permission denied (first unzip bunzip2 -dv,and then extracting tar -xvf file.tar). Even though i made lfs owner (using chown -v lfs $LFS/sources).
Is it that one needs to apply patches before extraction? If so please help me how?
Thus, i extracted the binutils-2.21.1a.tar.bz2 and installed it in root. When i do following
root@ubntu:/sources# tree
I can see the directory expanded of instaled binutils-2.21.1a.tar.bz2.
But
lfs@ubntu:/sources$ tree
It shows error opening directory next to binutils-2.21.1, though I can see all the packages in tree.
As the situation says I may not have authority to handle /sources directory. But, the command chown -v lfs $LFS/sources made lfs as the owner of directory.
So how should i install the downloaded packages?
Last edited by kpj10; 01-30-2012 at 01:50 PM.
|