I am using gammu-smsd 1.31 and the actual version is 1.37.
How can I update to newest version of gammu?
sudo apt-get update
and sudo apt-get upgrade
didn't help. It is still 1.31
More generally How to update a specific program on Rasberry Pi?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI am using gammu-smsd 1.31 and the actual version is 1.37.
How can I update to newest version of gammu?
sudo apt-get update
and sudo apt-get upgrade
didn't help. It is still 1.31
More generally How to update a specific program on Rasberry Pi?
Pycvalade's directions to build from source are correct, but you need to run:
sudo ldconfig
After the install is complete. This is very normal as it updates the dynamic linker cache so it can find any shared libraries that were installed and presumably need by the application.
Seems like it's not on the raspbian repository as of yet.
If you really need it upgraded before they put it up there, here's the steps to compile it from source!
Update and upgrade existing raspbian packages:
sudo apt-get update && sudo apt-get upgrade
Install dependencies:
sudo apt-get install cmake python-dev pkg-config libmysqlclient-dev libpq-dev libcurl4-gnutls-dev libusb-1.0-0-dev libdbi0-dev libbluetooth-dev libgudev-1.0-dev libglib2.0-dev unixodbc-dev
Download and extract source code:
wget https://dl.cihar.com/gammu/releases/gammu-1.37.91.tar.bz2
tar -xvfj gammu-1.37.91.tar.bz2 -C gammu-1.37.91
Compile the source code on your raspberry pi:
cd gammu-1.37.91/
./configure
make
sudo make install
sudo ldconfig
If all of this goes according to plan, you should be running version 1.37.91
BTW, this mainly comes from the Gammu documentation.
sudo ldconfig
afterward.
– goldilocks♦
Nov 15 '16 at 19:02