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