Open the Terminal app and enter the command
sudo pico /etc/apt/sources.listRemove the "#" from the line above
deb-src http://br.archive.ubuntu.com/ubuntu/ bionic universe
Enter the command to update your package repositories
sudo apt update
Install the packages you need to build gretl. Again using Terminal enter the following commands
xxxxxxxxxxsudo apt install gitsudo apt install texlive-fullsudo apt build-dep gretlxxxxxxxxxx# Alternative 1git clone git://git.code.sf.net/p/gretl/git ~/gretl/gitIf that command doesn't work (due to some network restrictions), you can try this alternative
xxxxxxxxxx# Alternative 2git clone https://git.code.sf.net/p/gretl/git ~/gretl/gitThat commands (alternatives 1 or 2) will download all necessary files and save them in the folder named git inside gretl located at you home folder.
After these steps you need to go to that new directory
xxxxxxxxxxcd ~/gretl/gitAnd then, finally you just need to enter the following commands
xxxxxxxxxx./configure --enable-build-doc --enable-build-addons make sudo make install cd ~ sudo ldconfig Now you have gretl installed and accesible under the Applications menu in elementary OS.
To keep your gretl's installation up to date you just need to open Terminal and run the following commands:
xxxxxxxxxxcd ~/gretl/git git pull ./configure --enable-build-doc --enable-build-addons --with-odbc make sudo make install sudo ldconfig