Installing Lazarus on Linux Mint lazarus / 1-Linux ---------------------------------------------------------------------- scasparz · 2019-05-06 22:40 There is a simple and easy way to install Lazarus on Mint. That is any Mint: Cinnamon, Mate, XFCE, 32 or 64 bit. Just follow these steps: 1. Forget synaptic or whatever GUI tool you use for the purpose, the Lazarus version provided by the distro may not be the latest and of course the greatest. 2. Instead download the latest stable Lazarus .deb packages from sourceforge. For this, use your internet browser to visit https://www.lazarus- ide.org/index.php?page=downloads page. From there you should select either the 32-bit .deb package or the 64-bit as appropriate. You will be taken to a SourceForge page, from where you should download the three packages, the names of which may differ slightly by the time you read this, depending upon the version and platform: lazarus-project_2.0.2-0_i386.debfpc-laz_3.0.4-1_i386.deb   and finally   fpc-src_3.0.4-1_i386.debor alternatively lazarus- project_2.0.2-0_amd64.deb etc in case you opt for the 64-bit version. By the time you finish this you will end with these three .deb packages downloaded at the ~/Downloads directory. Open a terminal session -we are Linux, and we are developers, we are not afraid of the command prompt-, and get to the ~/Downloads directory with: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i cd ~/Downloads On there you may list the three .deb packages with ls command Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i ls -laF *.debThis is what you will be getting: -rw-rw-r-- 1 yourusername yourusername 23753598 Feb  6 00:04 fpc- laz_3.0.4-1_amd64.deb -rw-rw-r-- 1 yourusername yourusername 23668348 Feb  6 00:04 fpc- src_3.0.4-2_amd64.deb -rw-rw-r-- 1 yourusername yourusername 98224176 Feb  6 00:04 lazarus- project_2.0.2-0_amd64.deb 4. Now install one by one the three downloaded packages in this order using the Linux commands: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo dpkg -i fpc-laz_3.0.4-1_i386.debsudo dpkg -i fpc-src_3.0.4-2_amd64.deb, andsudo dpkg -i lazarus-project_2.0.2-0_i386.debYou will be asked to provide your user password. This will temporarily escalate your privileges to the root level, required to perform a package installation. Be very careful in what you type, remember this is the command prompt. To ease yourselves from the version cluttering you may benefit from the copy-paste capabilities provided by the Linux terminal. Use your mouse and select the full names of the .deb packages to install as displayed by the previous ls command. Then paste them after the sudo dpkg -i command prefix. The last command (sudo dpkg -i lazarus-project_2.0.2-0_i386.deb) will leave a number of unsatisfied dependencies. This is pretty normal on Mint. To complete installation and install those missing dependencies, type the Linux command: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i apt-get install -f This will download and install the plethora of the unsatisfied dependencies automatically. 5. Start Lazarus from the Start - Development - Lazarus menu entry. Much like under windows, the first time you run a Lazarus instance you will be provided with a similar window that will report any errors left. On Mint 19.1 - 64 XFCE that I use, no errors are found. In the past, with some Mint versions Lazarus could not locate -and use- the gdb, that is the GNU Debugger and this was clearly marked on this intro window. If gdb in not installed, close the intro window and have gdb installed again from the terminal with the Linux command: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i apt-get install gdbNow reopen Lazarus. That’s all folks. Happy coding. PS. To the extend that I know, this way will work on any Debian fork and not only Mint, eg Linux MX. Given Mint is an Ubuntu fork, would expect it to work under Ubuntu as well. ---------------------------------------------------------------------- Carver413 · 2019-05-06 23:15 fpcupdeluxe is by far the easiest way to install Lazarus ---------------------------------------------------------------------- VTwin · 2019-05-06 23:50 Pretty much what I do on Ubuntu. You may need: sudo apt-get install libgtk2.0-dev ---------------------------------------------------------------------- lucamar · 2019-05-07 00:15 I find easier to create a local personal repository and use the higher level tools; but each to its own, I guess ---------------------------------------------------------------------- kinnon_2000 · 2021-09-03 15:26 Thanks for sharing this! Although its an old post, I used the steps outlined to install Lazarus 2.2RC1 onto Linux Mint Cinnamon 20.2 and it worked perfectly, thank you. I would love to find a similar guide on uninstalling and upgrading. I ruined my Linux install recently trying to switch from Lazarus 2.0.2.1 to 2.2RC1 which doesn't have DockedFormEditor. ---------------------------------------------------------------------- fmarulaz · 2023-05-29 07:35 Hello, Thanx for you method ! Have a nice day