Thanks for your reply;
Yes, I'm installing as root. I run the .deb and synaptic asks for the root password.
I have done this many times, successfully, when it was the stable version and not existing in the Ubuntu repository.
I have only a message saying this is not the latest version (see below), and I acknowledge..
I do not understand what you mean by :
a $PREFIX/fpc directory is normal for global (as root) installs.I have checked that fpc and lazarus checkboxes are unchecked in synaptic, and as I said there is no /usr/lib/fpc directory before the installation attempt, and not more afterwards. There is also no /usr/share/fpc or /usr/bin/fpc.
After this attempt, I tried also to install fpc and lazarus from Ubuntu 16.04 software repository, since it seems to be the release I need (same version, although said as more recent...).
The install is done without error.
A at the first run, Lazarus says that it don't find fpc.
I select /usr/bin/fpc which exists now.
But then I have after that always the error message :
There is no Free Pascal Compiler (e.g. fpc or ppc<cpu>) configured in the environment options. Codetools will not work properly.
Project's compiler: "/usr/bin/fpc-3.0.0": unknown file name
Environment compiler: "/usr/bin/fpc-3.0.0": unknown file name
$ ls -l /usr/bin/fpc*
lrwxrwxrwx 1 root root 21 sept. 3 18:28 /usr/bin/fpc -> /etc/alternatives/fpc
-rwxr-xr-x 1 root root 430504 janv. 30 2016 /usr/bin/fpc-3.0.0
lrwxrwxrwx 1 root root 29 sept. 3 18:28 /usr/bin/fpc-depends -> /etc/alternatives/fpc-depends
-rwxr-xr-x 1 root root 1602 janv. 30 2016 /usr/bin/fpc-depends-3.0.0
-rwxr-xr-x 1 root root 909968 janv. 30 2016 /usr/bin/fpcjres-3.0.0
lrwxrwxrwx 1 root root 30 sept. 9 15:18 /usr/bin/fpclasschart -> /etc/alternatives/fpclasschart
-rwxr-xr-x 1 root root 1173008 janv. 30 2016 /usr/bin/fpclasschart-3.0.0
lrwxrwxrwx 1 root root 25 sept. 9 15:18 /usr/bin/fpcmake -> /etc/alternatives/fpcmake
-rwxr-xr-x 1 root root 863984 janv. 30 2016 /usr/bin/fpcmake-3.0.0
-rwxr-xr-x 1 root root 1101160 janv. 30 2016 /usr/bin/fpcmkcfg-3.0.0
lrwxrwxrwx 1 root root 24 sept. 3 18:28 /usr/bin/fpcres -> /etc/alternatives/fpcres
-rwxr-xr-x 1 root root 917536 janv. 30 2016 /usr/bin/fpcres-3.0.0
lrwxrwxrwx 1 root root 26 sept. 9 15:18 /usr/bin/fpcsubst -> /etc/alternatives/fpcsubst
-rwxr-xr-x 1 root root 713600 janv. 30 2016 /usr/bin/fpcsubst-3.0.0
so, fpc is there (although I don't understand the reason of the link to /etc/alternatives), but however, I can't run it :
$ /etc/alternatives/fpc
Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64", error code: 127
Same with sudo.
Thanks for you help !