Recent

Author Topic: Uninstall  (Read 1050 times)

DanielO

  • New member
  • *
  • Posts: 7
Uninstall
« on: March 19, 2025, 10:45:58 pm »
Lazarus is so outrageously buggy that I can't use it. Some examples:
It randomly quits.
The form designer sometimes disappears, especially after running the app in question.
Every other app on the Mac will minimize with Cmd-M -- Lazarus does not.
Sometimes it claims that StdCtrls does not exist.
It didn't install in the Applications folder.
Cmd-Q does not always exit apps done in Lazarus.

So, I need to uninstall. If it had installed as an Application (like everything else does) it would be easy to delete, but it didn't. How do I remove it?

DanielO

  • New member
  • *
  • Posts: 7
Re: Uninstall
« Reply #1 on: March 19, 2025, 10:54:42 pm »
Oh, I should have mentioned that I tried the script I found on line and it didn't work.

TRon

  • Hero Member
  • *****
  • Posts: 4329
Re: Uninstall
« Reply #2 on: March 19, 2025, 11:43:45 pm »
Lazarus is so outrageously buggy that I can't use it. Some examples:
Which exact version of Free Pascal and Lazarus are we talking about ?

Oh, I should have mentioned that I tried the script I found on line and it didn't work.
A script online. That narrows it down entirely. Perhaps the script came with instructions ?
Today is tomorrow's yesterday.

DanielO

  • New member
  • *
  • Posts: 7
Re: Uninstall
« Reply #3 on: March 19, 2025, 11:54:12 pm »
Lazarus 3.8, FPC 3.2.2

The script was under Uninstalling Lazarus on macOS on wiki.freepascal.org

TRon

  • Hero Member
  • *****
  • Posts: 4329
Re: Uninstall
« Reply #4 on: March 20, 2025, 12:15:12 am »
Lazarus 3.8, FPC 3.2.2
If on newer macos and especially M architecture then Lazarus 3.8 is too old (there were many aarch64 related changes).

Quote
The script was under Uninstalling Lazarus on macOS on wiki.freepascal.org
Have you noticed that the scripts listed on that page are specifically for Lazarus versions that are much older than the one that you mentioned having installed ?

Unfortunately I am not able to assist in uninstalling because I have not a clue where things get installed on/for MacOS. What method was used to install ?
Today is tomorrow's yesterday.

DanielO

  • New member
  • *
  • Posts: 7
Re: Uninstall
« Reply #5 on: March 20, 2025, 12:42:22 am »
Yes, I did notice that the scripts were for old versions. I figured they just hadn't been updated because they work with all versions AFTER those specified. My bad -- I should know better than to assume such things.

When I downloaded Lazarus, I thought I was downloading the newest version. I must not have been. I'll try again.

Edit: I tried to get a newer version, but it wouldn't install. I'm sure I could MAKE it install if I tried hard enough, but at this point I'm not willing to put in the effort.

As far as where things install on the Mac, they are usually in /Applications. Lazarus did not install there, hence the problem. It looks like it is somewhere under /opt/local/libexec/, but I don't want to go randomly deleting stuff without being sure as to what I'm doing.
« Last Edit: March 20, 2025, 01:02:22 am by DanielO »

TRon

  • Hero Member
  • *****
  • Posts: 4329
Re: Uninstall
« Reply #6 on: March 20, 2025, 03:56:15 am »
Disclaimer, I am not a mac user nor have I any experience with a mac.

Yes, I did notice that the scripts were for old versions. I figured they just hadn't been updated because they work with all versions AFTER those specified. My bad -- I should know better than to assume such things.
For the record Lazarus does not require any installation. FPC on the other hand does.

Quote
When I downloaded Lazarus, I thought I was downloading the newest version. I must not have been. I'll try again.
As an official release perhaps yes. but there are two release candidates and for moving targets it is sometimes even necessary to install from trunk/main source repository.

Precompiled binaries for aarch64 can be downloaded from here.

Quote
Edit: I tried to get a newer version, but it wouldn't install. I'm sure I could MAKE it install if I tried hard enough, but at this point I'm not willing to put in the effort.
Fair enough but there is no installation required, but just run from user space. Though it would probably come in handy to have a shortcut of some sorts so that Lazarus can be launched from the desktop with something like a menu or icon (no idea how that is accomplished on/for macos).

Quote
As far as where things install on the Mac, they are usually in /Applications. Lazarus did not install there, hence the problem. It looks like it is somewhere under /opt/local/libexec/, but I don't want to go randomly deleting stuff without being sure as to what I'm doing.
Hence me asking what method was used to install Lazarus. There are a handful of methods available only one of them requires to do a manual installation. If that is cumbersome then FPCUpDeluxe can be your friend.

Removal depends on what method was used to install. The paths you mentioned do not ring a bell for me (well the opt etc paths are *nix system paths in which you should never install imho).
Today is tomorrow's yesterday.

DanielO

  • New member
  • *
  • Posts: 7
Re: Uninstall
« Reply #7 on: March 21, 2025, 01:06:20 am »
Based on what I've seen, I don't think Lazarus is for me, but I can't resist the opportunity to respond to your *nix comment:

A Mac definitely qualifies as *nix. Under the hood, MacOS is an operating system called Darwin, which is compatible with SUSv3. If you're familiar with FreeBSD, or Linux, or any of those others, you'll be right at home on the Mac command line. That's why I like the Mac so much -- it has all the power and flexibility of Unix with one hell of a GUI on top of it.

For more information Google "Darwin operating system".

 :D

TRon

  • Hero Member
  • *****
  • Posts: 4329
Re: Uninstall
« Reply #8 on: March 21, 2025, 08:26:46 am »
Based on what I've seen, I don't think Lazarus is for me,
That could very well be the case. It is impossible to tell without an actual use-case nor is it my place to convince otherwise. The only thing I can say is that in case you are a developer and unfamiliar with RAD then you might perhaps be missing out on some of the nice things that a RAD is able to provide (but I am aware it is not for everyone out there).

Quote
but I can't resist the opportunity to respond to your *nix comment:
No problem, I get it :)


Quote
A Mac definitely qualifies as *nix. Under the hood, MacOS is an operating system called Darwin, which is compatible with SUSv3. If you're familiar with FreeBSD, or Linux, or any of those others, you'll be right at home on the Mac command line. That's why I like the Mac so much -- it has all the power and flexibility of Unix with one hell of a GUI on top of it.

For more information Google "Darwin operating system".
As a Linux user myself (after having ditched windows for over a decade) I am very well aware of the existence of darwin as well as the location where things /should/ be located. However, you might have noticed yourself that darwin just like freebsd just do things a tad different then usual. Even individual Linux distro's can't seem to make up their mind.

My remark perhaps came across as singling out macos but the issues there are (besides some of the macos specifics such as f.e. the new code-tools) no different than for Linux aarch64. It is just a moving target for FPC/Lazarus, not to mention the wonderful adaption of wayland by many distributions and which isn't suited for production by a long shot.
Today is tomorrow's yesterday.

VTwin

  • Hero Member
  • *****
  • Posts: 1227
  • Former Turbo Pascal 3 user
Re: Uninstall
« Reply #9 on: March 22, 2025, 08:09:22 pm »
I am sorry that you are having so much trouble with Lazarus. I have used it for over a decade now for several large projects. There is a learning curve, but folks here on the forum are very helpful. I would encourage you to keep trying.

However, to your question, current Mac versions of Lazarus include everything in one folder. For 3.8 on a M1 I just unzipped it and moved the folder to "Applications". It works fine for me. You should be able to move the folder to the trash to delete it.

« Last Edit: March 22, 2025, 08:15:39 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 15.3.2: Lazarus 3.8 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.8 (64 bit on VBox)

 

TinyPortal © 2005-2018