xsp command not found

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

Introduction

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

xsp: command not found

or when using sudo you get the following error message

sudo: xsp: command not found

Solutions to xsp: command not found

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

In Ubuntu xsp is provided by mono-xsp package.

mono-xsp is:

XSP is a simple web server written in C# that can be used to run your ASP.NET applications.

This is a metapackage to pull in the standalone ASP.NET web server. If you want to run ASP.NET applications with Apache, look at mono-apache-server.

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

sudo apt-get -y install mono-xsp

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

You can also use apt command to install mono-xsp.

sudo apt -y install mono-xsp

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

sudo aptitude install mono-xsp

Summary

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