On Fri, 30 Mar 2012, Carlos Andrade wrote:
Hello list,
How to upgrade Gretl on Debian Squeeze?
I have gretl version 1.9.1.
You have several choices:
a) You may upgrade to testing (wheezy at the moment); that contains gretl
1.9.6. Long, but fireproof.\footnote{On a desktop system, there is really
no reason to use debian stable: most software is quite old. I've been
using debian testing on my office pc for over ten years and I've never
run into insurmountable problems.}
b) You may try to build the newest version of gretl (1.9.8, released
yesterday). You'll find detailed instructions in appendx C of the User's
Guide, but here's a summary.
First, install gretl's build dependencies: the list should be, more or
less,
debhelper (>= 7.0.0), libgtk2.0-dev, libglib2.0-dev, libreadline-dev,
zlib1g-dev, libxml2-dev, gnuplot (>= 4.2), gnuplot-x11 (>= 4.2),
libgmp-dev, libaudiofile-dev, libesd0-dev, libfreetype6-dev, libpng-dev,
libblas-dev, liblapack-dev, libxslt1-dev, libmpfr-dev, libfftw3-dev,
texlive-base, texlive-latex-base, gfortran, r-base-dev, unixodbc-dev,
libgtksourceview2.0-dev
It is very possible that installing all those packages is done
automagically for you by the command
apt-get build-dep gretl
but since you're using debian stable, there is some small chance that some
requisites were added in the meantime (I don'have time to check now)
It won't hurt to uninstall the existing verison of gretl, just in case any
conflicts arise. Then, you download the source from
http://prdownloads.sourceforge.net/gretl/gretl-1.9.8.tar.bz2
and untar it in a directory of your choice. From a shell, navigate to
there and issue the commands
./configure --enable-build-doc --enable-quiet-build --prefix=/usr/
make
sudo make install
This will give you the latest and greatest; the only possible drawback is
that some of the -dev packages are too old to compile 1.9.8
c) Combine a and b (that is, do a first, then b). This is almost certain
to work.
HTH,
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti