dataurl command not found

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

Introduction

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

dataurl: command not found

or when using sudo you get the following error message

sudo: dataurl: command not found

Solutions to dataurl: command not found

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

In Ubuntu dataurl is provided by dataurl package.

dataurl is:

This package parses and generates Data URL Schemes for the Go language, according to RFC 2397 (http://tools.ietf.org/html/rfc2397).

Data URLs are small chunks of data commonly used in browsers to display inline data, typically like small images, or when you use the FileReader API of the browser.

Common use-cases:

  • generate a data URL out of a string, []byte, io.Reader for inclusion in HTML templates
  • parse a data URL sent by a browser in a http.Handler, and do something with the data (save to disk, etc.)

This package contains the dataurl CLI utility.

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

sudo apt-get -y install dataurl

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

You can also use apt command to install dataurl.

sudo apt -y install dataurl

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

sudo aptitude install dataurl

Summary

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