Lazarus/fpc version updates

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
MikeS
Level 1
Level 1
Posts: 20
Joined: Sat Aug 12, 2017 10:29 am

Lazarus/fpc version updates

Post by MikeS »

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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18176
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Lazarus/fpc version updates

Post by karlchen »

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
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 762 days now.
Lifeline
User avatar
AndyMH
Level 21
Level 21
Posts: 13578
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Lazarus/fpc version updates

Post by AndyMH »

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.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Locked

Return to “Software & Applications”