How To Install sftpcloudfs on Ubuntu 18.04

In this tutorial we learn how to install sftpcloudfs on Ubuntu 18.04. sftpcloudfs is SFTP interface to Rackspace/OpenStack storage services

Introduction

In this tutorial we learn how to install sftpcloudfs on Ubuntu 18.04.

What is sftpcloudfs

sftpcloudfs is:

This package provides an SFTP (Secure File Transfer Protocol) interface to Rackspace Cloud Files and OpenStack Object Storage, acting as a proxy between an SFTP client and a remote storage service.

The username/password pair used to open the SFTP session is validated using the authentication service of the storage service to get an authentication token.

The communication between the client and the SFTP daemon is encrypted all the time, and the SFTP service supports HTTPS communication with the remote storage service.

There are three methods to install sftpcloudfs on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install sftpcloudfs Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sftpcloudfs using apt-get by running the following command:

sudo apt-get -y install sftpcloudfs

Install sftpcloudfs Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sftpcloudfs using apt by running the following command:

sudo apt -y install sftpcloudfs

Install sftpcloudfs 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install sftpcloudfs using aptitude by running the following command:

sudo aptitude -y install sftpcloudfs

How To Uninstall sftpcloudfs on Ubuntu 18.04

To uninstall only the sftpcloudfs package we can use the following command:

sudo apt-get remove sftpcloudfs

Uninstall sftpcloudfs And Its Dependencies

To uninstall sftpcloudfs and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove sftpcloudfs

Remove sftpcloudfs Configurations and Data

To remove sftpcloudfs configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sftpcloudfs

Remove sftpcloudfs configuration, data, and all of its dependencies

We can use the following command to remove sftpcloudfs configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sftpcloudfs

References

Summary

In this tutorial we learn how to install sftpcloudfs package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.