How To Install libstorj0 on Ubuntu 18.04

In this tutorial we learn how to install libstorj0 on Ubuntu 18.04. libstorj0 is Asynchronous C library for file transfer on the Storj network

Introduction

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

What is libstorj0

libstorj0 is:

Asynchronous multi-platform C library for encrypted file transfer on the Storj network. libstorj provides the following features:

  • Asynchronous I/O with concurrent peer-to-peer network requests for shards
  • Erasure encoding with reed solomon for data durability
  • Robust handling of shard transfers by selecting alternative sources
  • File integrity and authenticity verified with HMAC-SHA512
  • File encryption with AES-256-CTR
  • File name and bucket name encryption with AES-256-GCM
  • Proxy support with SOCKS5, SOCKS4, SOCKS4a
  • Asynchronous progress updates in bytes per file
  • Transfers can be cleanly canceled per file
  • Seed based file encryption key for portability between devices
  • Reference implementation for SIP5 file standard

There are three methods to install libstorj0 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 libstorj0 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libstorj0

Install libstorj0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstorj0

Install libstorj0 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 libstorj0 using aptitude by running the following command:

sudo aptitude -y install libstorj0

How To Uninstall libstorj0 on Ubuntu 18.04

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

sudo apt-get remove libstorj0

Uninstall libstorj0 And Its Dependencies

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

sudo apt-get -y autoremove libstorj0

Remove libstorj0 Configurations and Data

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

sudo apt-get -y purge libstorj0

Remove libstorj0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libstorj0

References

Summary

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