I successfully compiled and ran Gretl (v2021a) on a Raspi 3b+. I am pretty sure it also runs ok on a Raspi 4.
Make sure all necessary packages for compilation are installed. Execute:
sudo sh install_required_packages.sh
This script installs all packages required for compilation
clone_repo.sh
Execute this script to compile Gretl
sh compile-gretl_git.sh
Afterwards you should be able to start the gretl GUI by gretl
or the gretl CLI by gretlcli
.
Confirm successfull installation:
gretlcli --version
For improving the performance of your raspi, I also recommend to change the default swappiness (just google for it) settings. Open
sudo nano /etc/sysctl.conf
and append at the end
vm.swappiness=10
The setting will be activated with your next reboot.
For changing it on-the-fly, execute:
sudo sysctl -w vm.swappiness=10