How To Install mono-fastcgi-server4 on Debian 9
Introduction
In this tutorial we learn how to install mono-fastcgi-server4
on Debian 9.
What is mono-fastcgi-server4
mono-fastcgi-server4 is:
mono-fastcgi-server contains the backend for FastCGI. It lets you run ASP.NET web applications via HTTP servers such as Lighttpd or Apache. The FastCGI webserver shouldbe configured to run fastcgi-mono-server to parse and compile the aspx code.
This package requires you to install any FastCGI webserver, such as Lighttpd or Apache (see libapache2-mod-fcgid).
There are three methods to install mono-fastcgi-server4
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mono-fastcgi-server4 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mono-fastcgi-server4
using apt-get
by running the following command:
sudo apt-get -y install mono-fastcgi-server4
Install mono-fastcgi-server4 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mono-fastcgi-server4
using apt
by running the following command:
sudo apt -y install mono-fastcgi-server4
Install mono-fastcgi-server4 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install mono-fastcgi-server4
using aptitude
by running the following command:
sudo aptitude -y install mono-fastcgi-server4
How To Uninstall mono-fastcgi-server4 on Debian 9
To uninstall only the mono-fastcgi-server4
package we can use the following command:
sudo apt-get remove mono-fastcgi-server4
Uninstall mono-fastcgi-server4 And Its Dependencies
To uninstall mono-fastcgi-server4
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove mono-fastcgi-server4
Remove mono-fastcgi-server4 Configurations and Data
To remove mono-fastcgi-server4
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge mono-fastcgi-server4
Remove mono-fastcgi-server4 configuration, data, and all of its dependencies
We can use the following command to remove mono-fastcgi-server4
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mono-fastcgi-server4
Dependencies
mono-fastcgi-server4 have the following dependencies:
- libfpm-helper0
- mono-runtime
- libc6
- libmono-corlib4.5-cil
- libmono-posix4.0-cil
- libmono-system-configuration4.0-cil
- libmono-system-core4.0-cil
- libmono-system-web4.0-cil
- libmono-system-xml4.0-cil
- libmono-system4.0-cil
- mono-xsp4-base
- perl
References
Summary
In this tutorial we learn how to install mono-fastcgi-server4
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.