Installing Lararus 1.8.4 on Ubuntu - dependencies mess-up lazarus / 1-Linux ---------------------------------------------------------------------- etherbrat · 2019-02-01 06:25 I installed FreePascal 3.0.4 from a ZIP file containing an installer script - seemed like a good idea at the time. Then I tried to install Lazarus 1.8.4 from a DEB file using apt. But because the FreePascal installer did not update the apt repository, the Lazarus install fails because it thinks there are missing dependencies. The FreePascal install script does not contain an uninstall option which would let me back out and try again. What a mess (and a pretty poor effort by the creators of the FreePascal install script, IMHO). How can I get around this? ---------------------------------------------------------------------- sash · 2019-02-01 08:50 Quote from: etherbrat on February 01, 2019, 07:25:42 amWhat a mess (and a pretty poor effort by the creators of the FreePascal install script, IMHO). How can I get around this? Probably it's good to have uninstall option in script (which is intended to be used by experienced users), but the real mess is to mix incompatible install methods, while there is perfectly working (for most known Debian derivatives) set of deb packages for apt install. ---------------------------------------------------------------------- dbannon · 2019-02-01 09:33 etherbrat, I am sure you understand that if you install an app outside of the apt system, updating the apt database would be a very bad idea ! So, if you have a failed 'manual' install, you really must manually remove any part of it thats likely to get in the way latter on. Only then can you proceed to where you, perhaps, should have started from. Right now, its great, FPC 3.0.4 has been around long enough that most distros are shipping it in their default model. So, using it is really the default way of getting going. But, in your case, you really must clean up that failed manual install first ! Did you run that manual install as root or yourself ?  In either case you should try and find where it installed things. Generally, the problem will revolve around things installed on your path and /etc. When its cleaned up, install FPC and FPC Source from distro's repo. Along with any necessary dependancies. Note: "pdkg install something.deb" does not resolve dependancies. Gdebi is a better choice. Then you have a couple of options to get Lazarus. Easiest is to use your distros offering. If its 1.8.4 maybe thats the way to go. Or download the deb from FPC/Lazarus website and use gdebi to install.  Better, IMHO is to pull down lazarus src using SVN and build it in your own space, bit more flexible .... Davo ---------------------------------------------------------------------- etherbrat · 2019-02-01 09:34 You say that, the web site says it, but it ain’t true. See for yourself - navigate to the Linux offerings and look: No DEB files. I’m not the sort who looks a gift horse in the mouth. If there had been a DEB file there, I would have used it. ---------------------------------------------------------------------- dbannon · 2019-02-01 09:45 Think you need to calm down a bit. Where are you looking for deb files ? I'd expect the debian repo has fpc 1.8.4 but if not, grab them from https://sourceforge.net/projects/lazarus/files/ But, as I noted, if you don't use the official repo, do use gdebi (or similar) because you risk not resolving dependencies. As, I suspect, you have already found. Davo ---------------------------------------------------------------------- etherbrat · 2019-02-01 09:54 Yes ... ... but that’s Lazarus: DEB files there, no argument. I’m talking about FPC: No DEB files there. ---------------------------------------------------------------------- balazsszekely · 2019-02-01 10:29 @etherbrat I'm gonna tell you a secret. Since you already installed FPC, you should "install" Lazarus trunk with the latest bugfixes and new features: 1. Install svn: "sudo apt-get install subversion" 2. Open a terminal, go to your favorite directory, then type: "svn co https://svn.freepascal.org/svn/lazarus/trunk lazarus" 3. Go to lazarus folder from terminal, then type "make bigide" and you're good to go ---------------------------------------------------------------------- etherbrat · 2019-02-01 10:34 Nifty secret. Makes sense. I thank you. ---------------------------------------------------------------------- dbannon · 2019-02-01 11:19 Quote from: etherbrat on February 01, 2019, 10:54:06 amYes ... ... but that’s Lazarus: DEB files there, no argument. I’m talking about FPC: No DEB files there. They are the ones called fpc_3.0.4-3_amd64.deb and fpc- src_3.0.4-2_amd64.deb I guess they are too obscurely named. And I repeat my earlier suggestion that once fpc is installed, you are better off using SVN to download src and compile Lazarus yourself. edit - noting Getmem's suggestion, I prefer fixes_2_0 over trunk, safer .... Davo ---------------------------------------------------------------------- etherbrat · 2019-02-01 12:30 I may be a beginner but, contrary to the belief of most respondents, I am not a complete moron. freepascal.org > Dowloads > Intel/i386 > Linux > SourceForge takes me to here: https://sourceforge.net/projects/freepascal/files/Linux/3.0.4 See for yourself. Actually look. No DEB files. ---------------------------------------------------------------------- sash · 2019-02-01 12:32 Quote from: etherbrat on February 01, 2019, 10:54:06 amI’m talking about FPCYet you named your topic as "Installing Lararus 1.8.4 on Ubuntu ..." ---------------------------------------------------------------------- etherbrat · 2019-02-01 12:54 That’s what happens when you only read the title. And yes, the true nature of the problem only surfaced after I had successfully installed FPC using the script, and as I was trying to install Lazarus - as described in both the title and the body of the post. ---------------------------------------------------------------------- dbannon · 2019-02-01 22:01 Quote from: etherbrat on February 01, 2019, 01:30:47 pmI may be a beginner but, contrary to the belief of most respondents, I am not a complete moron. freepascal.org > Dowloads > Intel/i386 > Linux > SourceForge takes me to here: https://sourceforge.net/projects/freepascal/files/Linux/3.0.4 See for yourself. Actually look. No DEB files. Nobody thinks you a moron but you do seem to have some communications problems. And an attitude that will not get you anywhere. But I will try one more time. Sigh. You did not mention you were using 32bit, now I can be a bit more specific, step by step, first, so you learn how its structured, go to the link I posted several messages ago - https://sourceforge.net/projects/lazarus/files/ From there you click "Lazarus Linux i386 DEB" - that will take you to - https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386% 20DEB/ From there you need to click "Lazarus 1.8.4" - that will take you to https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386% 20DEB/Lazarus%201.8.4/ There I see 32bit debs. They have a different name than I mentioned when assuming 64bit. But if, as we both agree, you are not a moron, you will see them there. Davo ---------------------------------------------------------------------- etherbrat · 2019-02-01 22:19 You should stop dealing in condescension and start dealing in facts. For a start, try reading the posts. I heave already made it clear theat I have the Lararus DEB file - it’s the FPC DEB file that is missing. Sheesh. In all honesty, I have never met such a bunch of arrogant pricks. When I go onto other forums, people offer sincere, truthful and relevant advice, rather than trying to shift the blame to me. I’m done here. ---------------------------------------------------------------------- dbannon · 2019-02-01 22:44 I give up. Davo ---------------------------------------------------------------------- etherbrat · 2019-02-01 23:45 My turn to be condescending. You appear to be illiterate (or just unwilling to read). I said FPC (multiple times) NOT Lazarus. ---------------------------------------------------------------------- wp · 2019-02-01 23:52 etherbrat, read what is shown in the attachment of dbannon's previous post. What do you see? ---------------------------------------------------------------------- VTwin · 2019-02-02 00:41 I regularly install the latest stable version of Lazarus, currently 1.8.4, on 64 bit Ubuntu running on VirtualBox, I have four machines running it this way, installed with the 64 bit deb files, similar to what dbannon suggested for 32 bit. After a few initial hiccups, it has been pretty smooth. The kind folks here in the Lazarus forum have always been extremely helpful.