Install wget under Linux system.

Source: Internet
Author: User
Tags install perl

We install Linux systems first, such as centos7.1, there is no wget download tool. wget This command cannot be used.

We use

yum-y Install wget

Yum Install Perl

will appear:

[email protected] ~]# Yum-y install wgetloaded plugins:fastestmirrorrepodata isOver2Weeks old. Install Yum-cron?Or Run:yum Makecache FastBase|3.6Kbxx:xxExtras|3.4Kbxx:xxUpdates|3.4Kbxx:xx(1/4):Base/7/x86_64/group_gz |155Kbxx:xx(2/4): extras/7/x86_64/primary_db |149Kbxx: Geneva(3/4):Base/7/x86_64/primary_db |5.3MBxx: Geneva(4/4): updates/7/x86_64/primary_db |5.7MBxx: -Determining fastest Mirrors*Base: mirrors.tuna.tsinghua.edu.cn*extras:mirrors.sina.cn*updates:mirrors.sina.cnResolving Dependencies-Running Transaction Check---> Package wget.x86_640:1.14-Ten. El7_0.1Would be installed-finished Dependency resolutiondependencies resolved================================================================================Package Arch Version Repository Size================================================================================Installing:wget x86_641.14-Ten. El7_0.1           Base           545ktransaction Summary================================================================================Install1packagetotal Download Size:545kinstalled Size:2.0mdownloading Packages:wget-1.14-Ten. El7_0.1. x86_64.rpm |545Kbxx:xxRunning Transaction checkrunning transaction testtransaction test succeededrunning transaction installing:wget-1.14-Ten. El7_0.1. x86_641/1Verifying:wget-1.14-Ten. El7_0.1. x86_641/1Installed:wget.x86_640:1.14-Ten. El7_0.1 Complete![[Email protected]~]# #yum install perl[[email protected]~]# wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz-- .- -- - Geneva: ,: ---http://dl.wdlinux.cn:5180/lanmp_laster.tar.gzResolving dl.wdlinux.cn (dl.wdlinux.cn) ...222.186.61.177Connecting to dl.wdlinux.cn (dl.wdlinux.cn)|222.186.61.177|:5180... connected. HTTP request sent, awaiting response ... $oklength:81312101(78M) [application/x-Gzip] Saving to: ' Lanmp_laster.tar.gz ' -%[======================================>]Bayi,312,101  1.78mb/sinch52s .- -- - Geneva: the: +(1.50MB/s)-' lanmp_laster.tar.gz ' saved [81312101/81312101][[email protected]~]#



This command installs the Wget tool and then it can be used. .................................................................

Install wget under Linux system.

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.