[fpc-pascal] Linux installation, where to put fpc?

Bart bartjunk64 at gmail.com
Sat Dec 31 14:20:27 CET 2016


On 12/31/16, Bo Berglund <bo.berglund at gmail.com> wrote:

> On a Linux distro like for example Raspbian one could place the fpc
> compiler below /usr/xxx or in ~/fpc/xxx
> As far as I can see using /usr makes the installation need sudo and
> the resulting files are owned by root, generally causing problems down
> the line when updating fpc...

Typically I install fpc using the fpc-x.y.z.i386-linux.tar file that
has an install script.
I install it in /usr/local (needs sudo or su).
I never had any problem with updating using this method.
After installing, the command "fpc" will open the last installed version.

Note: I never build fpc or change it's source files, so I'm with them
being in a location that I have no write access to.

Bart



More information about the fpc-pascal mailing list