Lazarus/fpc version updates

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
MikeS
Level 1
Level 1
Posts: 9
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
from http://sourceforge.net/projects/lazarus/files/
which is always the most up to date from the Lazarus maintainers?

User avatar
karlchen
Level 19
Level 19
Posts: 9072
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.

Regards,
Karl
Image
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

User avatar
AndyMH
Level 4
Level 4
Posts: 486
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
README.txt
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

/home/andy/.lazarus

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.
Thinkpad T430 i7-3632 Cinnamon 18.3, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

Post Reply

Return to “Software & Applications”