Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Share:
Notifications
Clear all

[Solved] Lazarus - How to install Lazarus on Raspberry Pi (Raspbian Error message fix)

2 Posts
1 Users
0 Reactions
2,262 Views
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

Today I tried installing Lazarus on my Raspberry Pi (running Raspbian) and followed the instructions from the Lazarus Wiki. Unfortunately, I ran into an error message about dependecy issues.

The following packages have unmet dependencies: fpc : Depends: fpc-2.6.0 (= 2.6.0-9+rpi1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I had no clue what the problem was but with a trick, by adding an apt-get source, I managed to get the install to work. 

So for those wanting to install Lazarus Pascal on their Raspberry Pi running Raspbian (or something a-like), follow these steps:

First add the following line at the end of  "/etc/apt/sources.list" (you can use: sudo nano /etc/apt/sources.list):

deb  http://plugwash.raspbian.org/wsf  wheezy-wsf main

Next follow the Wiki install instructions:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fpc
sudo apt-get install lazarus

And you should be good to go ...


   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
Topic starter  

For those who need Lazarus on their Raspberry Pi 2, please read the extensive article I wrote on that topic ...


   
ReplyQuote
Share: