-Bash: wget: commandnotfound

Source: Internet
Author: User
Tags ssh secure shell
When I installed a new LNMP environment on the server today, the system prompts-bash: wgetcommandnotfound during wget. it is obvious that the wget package is not installed. Generally, wget will not be installed by default during minimal installation in linux. here is the CentOS6.332-bit system solution: 1. install and Download wget rpm Package: 32 bits: when http://mirrors.163.com/c today installs a new LNMP environment on the server, wget prompts-bash: wget command not found, and it is clear that the wget package is not installed. Generally, wget will not be installed by default when linux is minimized. here, it is a CentOS6.3 32-bit system.

Solution:

1. rpm installation

Download the wget RPM Package:

32-bit: http://mirrors.163.com/Centos/6.3/OS/i386/Packages/wget-1.12-1.4.el6.i686.rpm

6432: http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/wget-1.12-1.4.el6.x86_64.rpm

Rpm ivh wget-1.12-1.4.el6.i686.rpm installation; 64-bit of course choose the wget-1.12-1.4.el6.x86_64.rpm

2. install yum
Yum-y install wget

You can install it;

If SecureCRT is used on the client and rzsz package is not installed in linux, what should I do if rz cannot upload files? I think of installing another SSH client: SSH Secure Shell. It is difficult to upload the package to the server for installation, so the second method is recommended. However, if the yum package is not installed, you can only use this method.

Related Article

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.