How To Install fstrm-bin on Debian 12

Learn how to install fstrm-bin on Debian 12 with this tutorial. fstrm-bin is Frame Streams (fstrm) library (utilities)

Introduction

In this tutorial we learn how to install fstrm-bin on Debian 12.

What is fstrm-bin

fstrm-bin is:

Frame Streams is a light weight, binary clean protocol that allows for the transport of arbitrarily encoded data payload sequences with minimal framing overhead – just four bytes per data frame. Frame Streams does not specify an encoding format for data frames and can be used with any data serialization format that produces byte sequences, such as Protocol Buffers, XML, JSON, MessagePack, YAML, etc. Frame Streams can be used as both a streaming transport over a reliable byte stream socket (TCP sockets, TLS connections, AF_UNIX sockets, etc.) for data in motion as well as a file format for data at rest. A “Content Type” header identifies the type of payload being carried over an individual Frame Stream and allows cooperating programs to determine how to interpret a given sequence of data payloads.

This is the “fstrm” implementation of Frame Streams in C.

This package contains the command line utilities.

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

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

sudo apt-get update

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

sudo apt-get -y install fstrm-bin

Install fstrm-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fstrm-bin

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

sudo aptitude -y install fstrm-bin

How To Uninstall fstrm-bin on Debian 12

To uninstall only the fstrm-bin package we can use the following command:

sudo apt-get remove fstrm-bin

Uninstall fstrm-bin And Its Dependencies

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

sudo apt-get -y autoremove fstrm-bin

Remove fstrm-bin Configurations and Data

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

sudo apt-get -y purge fstrm-bin

Remove fstrm-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fstrm-bin

Dependencies

fstrm-bin have the following dependencies:

References

Summary

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