Download the script program and Check Method of the source code package required by LFS, lfs source code
/********************************************************************* * Author : Samson * Date : 04/27/2015 * Test platform: * gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 * GNU bash, 4.3.11(1)-release (x86_64-pc-linux-gnu) * *******************************************************************/
When the LFS documentation and the required source code list and MD5 verification after the value of the check file, it is impossible to manually download a source code package, the specific download address is as follows: http://www.linuxfromscratch.org/lfs/downloads/stable/
After downloading, The wget-list file will be generated. This file lists all source code packages for building LFS 7.7. Then we will use the script program wget_list.sh with the following content:
#! /Bin/bash
While read line
Do
Wget-c $ line
Done <$1
Run the following command on the terminal:
Source wget_list.sh wget-list
You can complete the source code contained in all wget-list files.
Methods for verifying the source code package:
Go to the directory where the source code is downloaded, and enter the following command on the terminal:
Md5sum-c md5sum
The second md5sum is downloaded from the address above.
763