How To Install gsm on CentOS 8

gsm is Shared libraries for GSM speech compressor Shared libraries for GSM speech compressor

Introduction

In this tutorial we learn how to install gsm on CentOS 8.

What is gsm

Contains runtime shared libraries for libgsm, an implementation of the European GSM 06.10 provisional standard for full-rate speech transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse excitation/long term prediction) coding at 13 kbit/s. GSM 06.10 compresses frames of 162 13-bit samples (8 kHz sampling rate, i.e. a frame rate of 50 Hz) into 260 bits; for compatibility with typical UNIX applications, our implementation turns frames of 160 16-bit linear samples into 33-byte frames (1650 Bytes/s). The quality of the algorithm is good enough for reliable speaker recognition; even music often survives transcoding in recognizable form (given the bandwidth limitations of 8 kHz sampling rate). The interfaces offered are a front end modelled after compress(1), and a library API. Compression and decompression run faster than realtime on most SPARCstations. The implementation has been verified against the ETSI standard test patterns. gsm 1.0.17 5.el8 x86_64 37 k gsm-1.0.17-5.el8.src.rpm appstream Shared libraries for GSM speech compressor http MIT Contains runtime shared libraries for libgsm, an implementation of the European GSM 06.10 provisional standard for full-rate speech transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse excitation/long term prediction) coding at 13 kbit/s. GSM 06.10 compresses frames of 162 13-bit samples (8 kHz sampling rate, i.e. a frame rate of 50 Hz) into 260 bits; for compatibility with typical UNIX applications, our implementation turns frames of 160 16-bit linear samples into 33-byte frames (1650 Bytes/s). The quality of the algorithm is good enough for reliable speaker recognition; even music often survives transcoding in recognizable form (given the bandwidth limitations of 8 kHz sampling rate). The interfaces offered are a front end modelled after compress(1), and a library API. Compression and decompression run faster than realtime on most SPARCstations. The implementation has been verified against the ETSI standard test patterns.

We can use yum or dnf to install gsm on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gsm.

Install gsm on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gsm using dnf by running the following command:

sudo dnf -y install gsm

Install gsm on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gsm using yum by running the following command:

sudo yum -y install gsm

How To Uninstall gsm on CentOS 8

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

sudo dnf remove gsm

gsm Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/bc700bbdbbb45027a64ed57767c78667556802
/usr/lib64/libgsm.so.1
/usr/lib64/libgsm.so.1.0.17
/usr/share/doc/gsm
/usr/share/doc/gsm/ChangeLog
/usr/share/doc/gsm/MACHINES
/usr/share/doc/gsm/README
/usr/share/licenses/gsm
/usr/share/licenses/gsm/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/c67cd167c5a307e1f8e7d86abd131ce9ca3c94
/usr/lib/libgsm.so.1
/usr/lib/libgsm.so.1.0.17
/usr/share/doc/gsm
/usr/share/doc/gsm/ChangeLog
/usr/share/doc/gsm/MACHINES
/usr/share/doc/gsm/README
/usr/share/licenses/gsm
/usr/share/licenses/gsm/COPYRIGHT

References

Summary

In this tutorial we learn how to install gsm on CentOS 8 using yum and dnf.