How To Install libstorj-dev on Debian 12

Learn how to install libstorj-dev on Debian 12 with this tutorial. libstorj-dev is C library for file transfer on Storj network (Development files)

Introduction

In this tutorial we learn how to install libstorj-dev on Debian 12.

What is libstorj-dev

libstorj-dev 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

This package contains the development files for libjstorj.

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

Install libstorj-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libstorj-dev

Install libstorj-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstorj-dev

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

sudo aptitude -y install libstorj-dev

How To Uninstall libstorj-dev on Debian 12

To uninstall only the libstorj-dev package we can use the following command:

sudo apt-get remove libstorj-dev

Uninstall libstorj-dev And Its Dependencies

To uninstall libstorj-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libstorj-dev

Remove libstorj-dev Configurations and Data

To remove libstorj-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libstorj-dev

Remove libstorj-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libstorj-dev

Dependencies

libstorj-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libstorj-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.