How To Install tahoe-lafs on Debian 9
Introduction
In this tutorial we learn how to install tahoe-lafs
on Debian 9.
What is tahoe-lafs
tahoe-lafs is:
Tahoe, the Least Authority File Store, is a distributed filesystem that features high reliability, strong security properties, and a fine-grained sharing model. Files are encrypted, signed, erasure-coded, then distributed over multiple servers, such that any (configurable) subset of the servers will be sufficient to recover the data. The default 3-of-10 configuration tolerates up to 7 server failures before data becomes unrecoverable.
Tahoe offers “provider-independent security”: the confidentiality and integrity of your data do not depend upon the behavior of the servers. The use of erasure-coding means that reliability and availability depend only upon a subset of the servers.
Tahoe files are accessed through a RESTful web API, a human-oriented web server interface, and CLI tools.
There are three methods to install tahoe-lafs
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 tahoe-lafs Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tahoe-lafs
using apt-get
by running the following command:
sudo apt-get -y install tahoe-lafs
Install tahoe-lafs Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tahoe-lafs
using apt
by running the following command:
sudo apt -y install tahoe-lafs
Install tahoe-lafs 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 tahoe-lafs
using aptitude
by running the following command:
sudo aptitude -y install tahoe-lafs
How To Uninstall tahoe-lafs on Debian 9
To uninstall only the tahoe-lafs
package we can use the following command:
sudo apt-get remove tahoe-lafs
Uninstall tahoe-lafs And Its Dependencies
To uninstall tahoe-lafs
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove tahoe-lafs
Remove tahoe-lafs Configurations and Data
To remove tahoe-lafs
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge tahoe-lafs
Remove tahoe-lafs configuration, data, and all of its dependencies
We can use the following command to remove tahoe-lafs
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tahoe-lafs
Dependencies
tahoe-lafs have the following dependencies:
- python-characteristic
- python-crypto
- python-foolscap
- python-nevow
- python-openssl
- python-pkg-resources
- python-pyasn1
- python-pyasn1-modules
- python-pycryptopp
- python-service-identity
- python-simplejson
- python-twisted-core
- python-yaml
- python-zfec
- python-zope.interface
- python
References
Summary
In this tutorial we learn how to install tahoe-lafs
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.