0

I have installed Lazarus from the Ubuntu Software Center before, but yesterday I tried to install Ubuntu on my Mac and I don't see Lazarus listed.

Does anyone have a URL for the Ubuntu installation or the code that I can use to install it at the command prompt? Might I find it at https://snapcraft.io/?q=lazarus&op= ?

3 Answers 3

2

Getting Lazarus from Ubuntu repository

BEWARE: THIS PAGE IS OUTDATED.

sudo apt-get install lazarus-ide

Getting Lazarus from freepascal repository

Add the key

gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F; gpg -a --export 6A11800F | sudo apt-key add -

Add the repository

echo "deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe" | sudo tee /etc/apt/sources.list.d/lazarus-stable.list

Installtion

sudo apt-get update; sudo apt-get install lazarus

Source

3
  • You are correct. I tried the chosen answer and it complained that it can find FPC when tried to run it. Your answer worked flawlessly...
    – ThN
    May 22, 2016 at 0:51
  • That worked but now I get this: hu.freepascal.org/lazarus/dists/lazarus-stable/Release.gpg: Signature by key 13A5146226002BBC25E32D23670C48C26A11800F uses weak digest algorithm (SHA1)... Apr 22, 2017 at 0:19
  • Solution still works on a fresh Lubuntu install. You saved a friend of mine of a pesky commute.
    – Pieter
    Sep 24, 2018 at 15:36
0

You can also try installing it via terminal

sudo apt-get install lazarus-ide

I hope it works.

1
  • Thanks, i try to install at home today and return! Thanks.
    – cavalsilva
    Feb 12, 2014 at 18:18
0

If you have Ubuntu installed, you can install a version of Lazarus from the the software repisitories. The desktop icon should look like this:enter image description here enter image description here

2
  • Whats the repository? Because my ubuntu is clear, and i seach a ubuntu, don't receive a result. I try at home and return. Thanks.
    – cavalsilva
    Feb 12, 2014 at 18:14
  • See my edited reply.
    – Marc
    Feb 12, 2014 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.