Recent

Author Topic: Uninstall script for macOS releases  (Read 1860 times)

lainz

  • Hero Member
  • *****
  • Posts: 3466
    • Lainz
Uninstall script for macOS releases
« on: January 25, 2020, 04:43:47 pm »
Hi, how I can completely remove an installation of FPC and Lazarus downloaded from sourceforge on macOS?

I have macOS High Sierra. Seems that is conflicting in some way with my fpcupdeluxe installation and none of these two works...

There is a script to uninstall? Is hard to make one?

trev

  • Sr. Member
  • ****
  • Posts: 398
  • Former Delphi 7 and Delphi 10.2 User
Re: Uninstall script for macOS releases
« Reply #1 on: January 25, 2020, 10:12:04 pm »
I've never used fpcupdeluxe, but I've not had any conflicts with two different versions of FPC/Lazarus installed on macOS (Mojave)  so long as I kept the cfg files separate:
Code: [Select]
startlazarus.app --args --pcp=cfg_file
o Lazarus v2.1.0 r62452, FPC v3.3.1 r42644, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

lainz

  • Hero Member
  • *****
  • Posts: 3466
    • Lainz
Re: Uninstall script for macOS releases
« Reply #2 on: January 25, 2020, 11:49:36 pm »
My install doesn't work because that I want to remove it. Is good that your  install works but not mine. I can't compile or rebuild the ide.

That's why I need to remove and try again getting a working ide with fpcupdeluxe. That is needed because I mainly use trunk not releases.

trev

  • Sr. Member
  • ****
  • Posts: 398
  • Former Delphi 7 and Delphi 10.2 User
Re: Uninstall script for macOS releases
« Reply #3 on: January 26, 2020, 05:01:12 am »
I use this script to build Lazarus trunk on macOS without issues:

Code: Bash  [Select]
  1. #!/bin/sh
  2. make distclean all LCL_PLATFORM=cocoa CPU_TARGET=x86_64 bigide
  3.  
o Lazarus v2.1.0 r62452, FPC v3.3.1 r42644, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

lainz

  • Hero Member
  • *****
  • Posts: 3466
    • Lainz
Re: Uninstall script for macOS releases
« Reply #4 on: January 26, 2020, 11:15:35 am »
Thanks, let me try that script =)

lainz

  • Hero Member
  • *****
  • Posts: 3466
    • Lainz
Re: Uninstall script for macOS releases
« Reply #5 on: January 26, 2020, 04:01:33 pm »
Solved, just found and deleted the Lazarus folder.

The release FPC did not cause any problems with fpcupdeluxe, and now I have a working installation.