nrefactory-demo-swf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nrefactory-demo-swf: command not found
or when using sudo you get the following error message
sudo: nrefactory-demo-swf: command not found
Solutions to nrefactory-demo-swf: command not found
How To Fix nrefactory-demo-swf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nrefactory-demo-swf is provided by nrefactory-samples package.
nrefactory-samples is:
NRefactory is the C# analysis library used in the SharpDevelop and MonoDevelop IDEs. It allows applications to easily analyze both syntax and semantics of C# programs. It is quite similar to Microsoft’s Roslyn project; except that it is not a full compiler – NRefactory only analyzes C# code, it does not generate IL code.
This package contains sample programs for the NRefactory library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nrefactory-samples
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nrefactory-samples.
sudo apt -y install nrefactory-samples
Or if you have aptitude installed you can use the following command.
sudo aptitude install nrefactory-samples
Summary
In this tutorial we learn how to fix nrefactory-demo-swf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.