Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21478 closed defect (invalid)

Uninstalling MacPorts

Reported by: romulus1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.0
Keywords: Cc:
Port:

Description

Hello:

I Just installed Mac Ports - I have not done anything with it yet. What is the proper procedure to uninstall it? can the opt menu be deleted as the complete uninstall procedure in this case? Secondly, What if I start to use the application, will the uninstall process change?

During the installation has the application made changes to anything on the mac, or has it just installed everything in one directory and that's it. What I am thinking is are their environment variables such as Microsoft's OS that I would need to consider removing as part of the procedure?

Thanks for the product and the anticipation of answering these questions.

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

comment:2 in reply to:  description Changed 15 years ago by mf2k (Frank Schima)

Cc: romulus1@… removed
Component: portsbase

Replying to romulus1@…:

What is the proper procedure to uninstall it?

Click here for directions to uninstall Macports.

can the opt menu be deleted as the complete uninstall procedure in this case?

What is the opt menu?

Secondly, What if I start to use the application, will the uninstall process change?

No, everything will be in /opt/local/

During the installation has the application made changes to anything on the mac, or has it just installed everything in one directory and that's it. What I am thinking is are their environment variables such as Microsoft's OS that I would need to consider removing as part of the procedure?

There should be nothing else affected. You can adjust your .profile to remove /opt/local/bin:/opt/local/sbin from your path though.

comment:3 Changed 15 years ago by romulus1@…

Thanks for your reply,

I meant "Can the opt directory be deleted as the complete uninstall procedure in this case?" Essentially deleting the opt directory + removing the .profile entry specified should be equivalent to running the sudo rm -rf command on a mac OS, right?

I am researching other sites to get answers to other questions that I have pertaining to MacPorts. The one other question that I just need to ask is: does the application track installations as they occur. Let's say I install one of your port packages; I'm guessing that deleting just the opt directory would not be sufficient to remove MacPorts in addition to the ports, correct?; I am not sure about the command. If everything goes to directory; MacPorts and the ports; then I guess both methods of uninstalling would work.

On Sep 18, 2009, at 12:51 PM, MacPorts wrote:

comment:4 in reply to:  3 Changed 15 years ago by mf2k (Frank Schima)

Replying to romulus1@…:

I meant "Can the opt directory be deleted as the complete uninstall procedure in this case?" Essentially deleting the opt directory + removing the .profile entry specified should be equivalent to running the sudo rm -rf command on a mac OS, right?

I mispoke above, the only way to delete everything is to use rm command listed in the link which includes more than what is simply in /opt/local/. There are other directories used.

I am researching other sites to get answers to other questions that I have pertaining to MacPorts. The one other question that I just need to ask is: does the application track installations as they occur. Let's say I install one of your port packages; I'm guessing that deleting just the opt directory would not be sufficient to remove MacPorts in addition to the ports, correct?; I am not sure about the command. If everything goes to directory; MacPorts and the ports; then I guess both methods of uninstalling would work.

port does have a registry of installed ports and all of the files installed and where they are located. But as i said above, you must use the full rm command to delete everything. It is true that most of the files will be in /opt/local/.

Note: See TracTickets for help on using tickets.