[MacPorts] #21478: Uninstalling MacPorts

MacPorts noreply at macports.org
Fri Sep 18 12:25:02 PDT 2009


#21478: Uninstalling MacPorts
-----------------------------------+----------------------------------------
  Reporter:  romulus1@…            |       Owner:  macports-tickets@…                   
      Type:  defect                |      Status:  closed                               
  Priority:  Normal                |   Milestone:                                       
 Component:  base                  |     Version:  1.8.0                                
Resolution:  invalid               |    Keywords:                                       
      Port:                        |  
-----------------------------------+----------------------------------------

Comment(by macsforever2000@…):

 Replying to [comment:3 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/.

-- 
Ticket URL: <http://trac.macports.org/ticket/21478#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list