LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Starting BLFS without wget (https://www.linuxquestions.org/questions/linux-from-scratch-13/starting-blfs-without-wget-897314/)

golarbol 08-14-2011 08:23 PM

Starting BLFS without wget
 
Hi

LFS-6.8 build completed using lfslivecd-x86-6.3-r2160-min. This is the only OS on the computer.
My computer boot correctly and i'm able to ping google. I started reading BLFS.
The question is: How i start to download without wget or how to install wget on this fresh LFS?

Thanks.

Marlino 08-14-2011 10:34 PM

Quote:

Originally Posted by golarbol (Post 4443069)
I started reading BLFS.
The question is: How i start to download without wget or how to install wget on this fresh LFS?

How do you read BLFS on that system?

Assuming, you are using Links or Lynx, you can of course use that browser for downloading.

When using Links (my preferred first browser on a new system),
you can type "d" to download the currently selected link.
(Or type <Esc> to open the menu ...)
If not set otherwise, the file will be downloaded to the folder that was current, when the browser was started.
Code:

man <your_textmode_browser>
may help in doubt.

Links can also be used to browse through your file system.
(Somewhat easier than only using cd and ls ;-))

When building LFS systems, I always watched those tips from
9.3. Rebooting the System
Quote:

Originally Posted by LFS
By installing a few extra packages from the BLFS book while still in our current chroot environment, you can leave yourself in a much better position to continue on once you reboot into your new LFS installation. Installing a text mode web browser, such as Lynx, you can easily view the BLFS book in one virtual terminal, while building packages in another. The GPM package will also allow you to perform copy/paste actions in your virtual terminals.

I always installed gpm (a mouse tool that can be used for copying between virtual consoles)
first, then links.

This way links will get mouse support by default.

I set Text margin to 1 in the Html options, so that I can get the unmodified code copied.
(Else there might be some extra spaces or similar,
that can sometimes be disruptive.)

If not having any tool for accessing the internet
on the new system yet (lynx, links, curl, wget, ...),
I would find a way to access the required sources
by some other means.

Perhaps by downloading them with a life cd,
then install what is needed/wanted, the usual way...

I hope that helps.

golarbol 08-14-2011 10:50 PM

Quote:

How do you read BLFS on that system?
With another computer.


Quote:

When building LFS systems, I always watched those tips from
9.3. Rebooting the System
Me too but the procedure is not clear to me. I just rebooted the computer.


Quote:

If not having any tool for accessing the internet
on the new system yet (lynx, links, curl, wget, ...),
Only the tools of a standard LFS 6.8

Marlino 08-14-2011 11:57 PM

Quote:

Originally Posted by golarbol (Post 4443143)
Me too but the procedure is not clear to me. I just rebooted the computer.

From my own experience, I understand how one could be tempted to rather
[too] quickly reboot at that point.

The price for giving in at that temptation, is a less elegant start
to get that new system equipped with more nice and useful stuff. ;)

(That might on the other hand imply some more intense learning experiences ...)

Some possible procedures ... are of course described in the blfs book.

I'll suggest one of probably many ways of fixing this:
  • read and understand the blfs book to a point where you could install new software as per it's instructions
    (I found the blfs instructions usually even easier to follow than those of lfs.)
  • use the live cd to download the required packages to the new system and make available a copy of blfs to later read there.
    (Your could instead read blfs online as well if your internet access with that machine works as it should.)
  • Reboot to you new system.
  • install gpm and a text mode browser (links or lynx)
  • use that browser to read and use blfs on the new system (and for your [first] downloads)
You may find, that besides the source packages and maybe patches,
you also should have the blfs-bootscripts (f.e. for gpm).

golarbol 08-15-2011 02:54 AM

Thanks for your advices. I can now copy & paste, surf and download.

;)

Marlino 08-15-2011 06:57 AM

Quote:

Originally Posted by golarbol (Post 4443239)
Thanks for your advices. I can now copy & paste, surf and download.

;)

Nice :)


All times are GMT -5. The time now is 08:26 PM.