e Learning

bash wget command not found – SOLUTION

Question

I Tried to Download a Web Page Using wget command , But I get the following error wget command not found.

Answer

This Because wget command (which is use to retrieves files from the web) is not installed in your Linux Computer. To install wget On a Redhat Based system use yum command. And you can use apt-get install command in Ubuntu and Debian Linux. Let’s See How to install wget.

Redhat Enterprise Linux, CentOS, Oracle Linux, Scientific Linux

yum install wget

In Ubuntu and Debian Based Distributions use apt-get install command

apt-get install wget