Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is just a guess, but your posts consistently show that you allow no space between your "tar" command and the options. You installed the proper software, i.e., XZ. Thus "tar -xvf" should now work for everything left in the book. Tar will select the necessary tool for you. If the syntax is wrong, nothing will work. Try again with a space between the "tar" and the "-".
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
That might work for gz and bz2, depending on the host distro. There are some weird customized tar commands out there. But standard tar requires that the compression type dependant switch (z for gzip and j for bzip2) be given. (I assume you know the x switch is 'extract'). The Xz compression is so new it's unlikely his tar knows about it. Anyway, I just build lfs7.0 and I had the same problem. The only solution I found was the one I gave. Btw, you can do the same with tar.gz and tar.bz2 files, using gunzip and bunzip2 respectively.
XZ support in tar is now 3 years old, but I know some still rely on tar-1.13. I use 2 versions, relying on 1.13 only for pkgtool. My point was really more about syntax than anything.
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
No problem. I didn't know that the newest versions of tar had Xz support. I'll have to check into that. I don't think that the op was having syntax problems, as I had a very similar experience and I was copy and pasting commands right out of the lfs 7.0 book.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.