[fpc-pascal] FPC 3.0 and FPC 2.6 on Ubuntu. How to change default version?

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Aug 5 09:29:32 CEST 2016


Krzysztof wrote:
> In /user/bin I have two symlinks:
> - ppcx64 which point to /etc/alternatives/ppcx64
> - ppcx64-3.0.0 which point to ../lib/fpc/3.0.0/ppcx64
> 
> So I can just change these symlinks to point to 2.6.4 dir and that is
> enough?

Normally, yes.

> BTW: When saw symlink point to *alternatives* reminds me that when
> installed FPC 3.0, in console message which asked for override
> fpc.cfg, there was info about 'update alternatives'. Is it some kind
> of debian solution for switching between versions?

Yes.

> BTW2: I didn't install FPC 3.0 manually from downloaded debs, only
> 2.6. FPC 3.0 was suggested in 'sudo aptitude dist-upgrade' command. I
> accepted that (actually I had no other choice) because I needed it
> anyway but this is weird. What forced this?
[snip]
> Does it mean that FPC 3.0 is in official Ubunty 16.04 repo
> and some dependencies forced to install FPC 3.0 too?

Probably. It's better to ask about this on a Debian mailing list, they
will know the details and the commands you can use to figure out what
depends on what.


Jonas



More information about the fpc-pascal mailing list