Install libdevice-gsm-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdevice-gsm-perl
Description:
Perl extension to interface GSM phones / modems
Device::Gsm class implements basic GSM functions, network registration and SMS sending. . This class supports also PDU mode to send SMS messages, and should be fairly usable.
Homepage: http://search.cpan.org/dist/Device-Gsm/
Version: 1.61-1
Section: universe/perl