Lazarus/fpc version updates

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 10
Joined: Sat Aug 12, 2017 10:29 am

Lazarus/fpc version updates

Post by MikeS » Thu May 24, 2018 10:35 am

The version of Lazarus/fpc offered by the Software Centre is 1.6.
The current version is 1.8.4.

Would it be possible to to fetch the three packages eg:
  • fpc_3.0.4-3_amd64.deb
  • fpc-src_3.0.4-3_amd64.deb
  • lazarus-project_1.8.4-0_amd64.deb
which is always the most up to date from the Lazarus maintainers?

User avatar
Level 19
Level 19
Posts: 9697
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Lazarus/fpc version updates

Post by karlchen » Thu May 24, 2018 11:00 am

Hello, MikeS.

According to this Lazarus Wiki page, Install on Ubuntu from .deb files, it should be possible to download the .deb files from Sourceforge and install them using dpkg.
You may have to make sure that all dependencies are present on your system and sufficiently recent.

Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.21a 64-bit
Ubuntu 18.04.1 32-bit Mate Desktop, Total Commander 9.21a 32-bit
Windows? - 1 window in every room

User avatar
Level 6
Level 6
Posts: 1077
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Lazarus/fpc version updates

Post by AndyMH » Fri May 25, 2018 5:40 am

Do not install from the repos, it is missing some components. I found it a pig to install. My installation notes:

download from sourceforge:

Code: Select all

2	fpc_3.0.4-2_amd64.deb
1	fpc-src_3.0.4-2_amd64.deb
3	lazarus-project_1.8.0-1_amd64.deb
Install in the order shown, installing fpc before fpc-src generated errors. Even when installing as shown, an error was generated installing fpc.
This did not seem to be a problem and Lazarus installed without issue.

Starting up Lazarus generated error messages – it had found configuration files for a previous version (1.6). There is a folder:

Code: Select all


Told it to upgrade. Should have deleted this first. Note, deleted all previous versions and packages for fpc 3.0.0. and Lazarus 1.6 before installing the latest. Also redo backup of root prior to the update – backup date is 20180119.
Ran Lazarus and loaded example files to check they compiled, previously had problems where it couldn’t find the instances unit. All okay.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, Thinkpad T430 i7-3632 Cinnamon 19.0, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

Post Reply

Return to “Software & Applications”