Download the script program and Check Method of the source code package required by LFS, lfs source code

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.