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


Getting Lazarus from Ubuntu repository


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


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


  • 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

You can also try installing it via terminal

sudo apt-get install lazarus-ide

I hope it works.

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

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

  • 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .