We will need to install wget in order to fix the issue -bash: wget: command not found on CentOS by running yum command below:
yum install wget |
And the output is similar to this:
[[email protected] ~]# wget http://software.virtualmin.com/gpl/scripts/install.sh -bash: wget: command not found [[email protected] ~]# yum install wget Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.digipower.vn * extras: mirrors.vinahost.vn * updates: mirrors.vinahost.vn base | 1.1 kB 00:00 extras | 2.1 kB 00:00 updates | 1.9 kB 00:00 updates/primary_db | 549 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package wget.i386 0:1.11.4-3.el5_8.2 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: wget i386 1.11.4-3.el5_8.2 base 582 k Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 0 Package(s) Total download size: 582 k Is this ok [y/N]: y Downloading Packages: wget-1.11.4-3.el5_8.2.i386.rpm | 582 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : wget 1/1 Installed: wget.i386 0:1.11.4-3.el5_8.2 Complete! [[email protected] ~]# |