How to install curl on Debian Linux 10/9/8

Originally published at:

I am a new Debian Linux 10 or 9 user. I switched from Windows server and I trying to run the curl command from a shell script but getting the following error:

bash: curl: command not found

How do I fix this on a Debian Linux version 10 or 9/8?

You need to install the sudo package
type this : # apt-get install sudo

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki