snarf command not found

In this troubleshooting guide we learn how to fix snarf command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

snarf: command not found

or when using sudo you get the following error message

sudo: snarf: command not found

Solutions to snarf: command not found

How To Fix snarf: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu snarf is provided by snarf package.

snarf is:

Snarf is a utility to retrieve files via the http and ftp protocols. It supports http redirect, http and ftp resume, http and ftp authentication, and other neat things. Its functionality is similar to that of wget, but with a much smaller binary.

To fix this problem, we can install more using the command below.

sudo apt-get -y install snarf

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install snarf.

sudo apt -y install snarf

Or if you have aptitude installed you can use the following command.

sudo aptitude install snarf

Summary

In this tutorial we learn how to fix snarf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.