devweb command not found

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

Introduction

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

devweb: command not found

or when using sudo you get the following error message

sudo: devweb: command not found

Solutions to devweb: command not found

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

In Ubuntu devweb is provided by golang-github-rsc-devweb package.

golang-github-rsc-devweb is:

This repo holds a program that lets you work on a Go web server and have it automatically recompile on each request, like in the App Engine local development SDK.

See https://godoc.org/rsc.io/devweb.

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

sudo apt-get -y install golang-github-rsc-devweb

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

You can also use apt command to install golang-github-rsc-devweb.

sudo apt -y install golang-github-rsc-devweb

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

sudo aptitude install golang-github-rsc-devweb

Summary

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