How To Install coquelicot on Debian 9
Introduction
In this tutorial we learn how to install coquelicot
on Debian 9.
What is coquelicot
coquelicot is:
Coquelicot is a “one-click” file sharing web application with a focus on protecting users’ privacy.
Basic principle: users can upload a file to the server, in return they get a unique URL which can be shared with others in order to download the file.
Coquelicot aims to protect, to some extent, users and system administrators from disclosure of the files exchanged from passive and not so active attackers.
Coquelicot should be installed behind a non-buffering HTTPS reverse proxy like Apache, nginx or pound.
There are three methods to install coquelicot
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 coquelicot Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install coquelicot
using apt-get
by running the following command:
sudo apt-get -y install coquelicot
Install coquelicot Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install coquelicot
using apt
by running the following command:
sudo apt -y install coquelicot
Install coquelicot 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 coquelicot
using aptitude
by running the following command:
sudo aptitude -y install coquelicot
How To Uninstall coquelicot on Debian 9
To uninstall only the coquelicot
package we can use the following command:
sudo apt-get remove coquelicot
Uninstall coquelicot And Its Dependencies
To uninstall coquelicot
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove coquelicot
Remove coquelicot Configurations and Data
To remove coquelicot
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge coquelicot
Remove coquelicot configuration, data, and all of its dependencies
We can use the following command to remove coquelicot
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge coquelicot
Dependencies
coquelicot have the following dependencies:
- adduser
- libjs-jquery
- lsb-base
- rainbows
- ruby-bcrypt
- ruby-fast-gettext
- ruby-haml
- ruby-haml-magic-translations
- ruby-json
- ruby-lockfile
- ruby-maruku
- ruby-moneta
- ruby-multipart-parser
- ruby-net-ldap
- ruby-rack
- ruby-sass
- ruby-sinatra
- ruby-sinatra-contrib
- ruby-upr
- ruby
- sysvinit-utils
- init-system-helpers
References
Summary
In this tutorial we learn how to install coquelicot
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.