Uninstalling MacPorts on Mac M1 Chip

Christopher Jones jonesc at hep.phy.cam.ac.uk
Wed Jan 12 16:54:14 UTC 2022


please keep your replies on-list

$ is not the command, just an illustration of the shell prompt ;)

 the command itself starts with ’sudo’

actually, this probably explains your first error. run

sudo port -fp uninstall installed

etc.

Chris

> On 12 Jan 2022, at 4:51 pm, Lisa Kim <lisakimwpg at gmail.com> wrote:
> 
> Hi Chris! 
>  
> Thanks for your email. 
> Unfortunately, when I try 2.4.2 or 2.4.3, I get the same output: “-bash: $: command not found”
>  
> Lisa
>  
> From: Christopher Jones <jonesc at hep.phy.cam.ac.uk>
> Date: Wednesday, January 12, 2022 at 10:49 AM
> To: Lisa Kim <lisakimwpg at gmail.com>
> Cc: macports-users at lists.macports.org <macports-users at lists.macports.org>
> Subject: Re: Uninstalling MacPorts on Mac M1 Chip
> 
>  
> Sorry, read your post again…
>  
> If the port command is not working for you, then just skip that command. go on with 2.4.2 and 2.4.3
>  
> Chris
>  
>  
> 
> 
> On 12 Jan 2022, at 4:48 pm, Christopher Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>> wrote:
>  
>  
> Did you follow all the steps under
>  
> https://guide.macports.org/#installing.macports.uninstalling <https://guide.macports.org/#installing.macports.uninstalling>
>  
> ?
>  
> On 12 Jan 2022, at 4:45 pm, Lisa Kim <lisakimwpg at gmail.com <mailto:lisakimwpg at gmail.com>> wrote:
>  
> Hi,
>  
> I would like to uninstall MacPorts entirely from my Macbook Pro M1. I am currently running MacOS Monterey.
> I initially installed MacPorts on my MacBook Air 2011?, but when I bought my new Macbook Pro M1, I transferred all of the files from the old to new computer. As a result, I still have MacPorts on my new mac. I would like to uninstall it entirely. 
>  
> In an attempt to uninstall MacPorts myself when I first bought the new mac, I may have tried to delete any associated files by searching “MacPorts”. But truthfully, I don’t remember if I had any luck.  
>  
> I have followed the instructions posted on the guide.macports.org <http://guide.macports.org/> website, but have had no success. The output I receive from the “$ sudo port -fp uninstall installed” input is:  
> -bash: $: command not found
>  
> I have no idea where to go from here. Any help would be appreciated.
>  
> Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220112/68d93288/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220112/68d93288/attachment.bin>


More information about the macports-users mailing list