Recent

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

lainz

  • Hero Member
  • *****
  • Posts: 3639
    • 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?
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

trev

  • Hero Member
  • *****
  • Posts: 823
  • Former Delphi 1-7 and 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 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

lainz

  • Hero Member
  • *****
  • Posts: 3639
    • 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.
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

trev

  • Hero Member
  • *****
  • Posts: 823
  • Former Delphi 1-7 and 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 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

lainz

  • Hero Member
  • *****
  • Posts: 3639
    • Lainz
Re: Uninstall script for macOS releases
« Reply #4 on: January 26, 2020, 11:15:35 am »
Thanks, let me try that script =)
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

lainz

  • Hero Member
  • *****
  • Posts: 3639
    • 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.
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

 

TinyPortal © 2005-2018