Introduction
In this tutorial we learn how to install libfstrm0
on Ubuntu 22.04.
What is libfstrm0
libfstrm0 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 shared library.
There are three methods to install libfstrm0
on Ubuntu 22.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 libfstrm0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libfstrm0
using apt-get
by running the following command:
sudo apt-get -y install libfstrm0
Install libfstrm0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfstrm0
using apt
by running the following command:
sudo apt -y install libfstrm0
Install libfstrm0 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 libfstrm0
using aptitude
by running the following command:
sudo aptitude -y install libfstrm0
How To Uninstall libfstrm0 on Ubuntu 22.04
To uninstall only the libfstrm0
package we can use the following command:
sudo apt-get remove libfstrm0
Uninstall libfstrm0 And Its Dependencies
To uninstall libfstrm0
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libfstrm0
Remove libfstrm0 Configurations and Data
To remove libfstrm0
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libfstrm0
Remove libfstrm0 configuration, data, and all of its dependencies
We can use the following command to remove libfstrm0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfstrm0
References
Summary
In this tutorial we learn how to install libfstrm0
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.