adsf command not found

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

Introduction

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

adsf: command not found

or when using sudo you get the following error message

sudo: adsf: command not found

Solutions to adsf: command not found

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

In Ubuntu adsf is provided by ruby-adsf package.

ruby-adsf is:

adsf (A Dead Simple Fileserver) is a tiny web server that can be spawned in any directory to serve static files. It can be used programmatically in Rack and other Ruby applications.

For example, the nanoc static website generator uses it its “view” command.

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

sudo apt-get -y install ruby-adsf

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

You can also use apt command to install ruby-adsf.

sudo apt -y install ruby-adsf

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

sudo aptitude install ruby-adsf

Summary

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