![]() ![]() ports that are dependencies of ports that are installed, but inactive): sudo port uninstall inactive Note: Before pruning your leaves, you may also want to uninstall old versions of ports that are no longer “active”. You can uninstall any remaining leaves quite easily: sudo port uninstall leaves Some common leaves ( automake, gperf, libtool, pkgconfig) are build-time dependencies of common ports, so you may want to “request” them ( sudo port setrequested port1 port2 port3 …) to avoid uninstalling them just to have to reinstall them later. You should examine your existing leaves before uninstalling any of them. You can use this to “clean up” unneeded ports even if you did not originally uninstall them with sudo port uninstall -follow-dependencies portname (which will do what you want, but only if you remember to use it every time you uninstall something). The leaves pseudo-portname expands to all the unrequested ports upon which no other installed port depends. An unrequested port is one that was only installed because some other port depends on it. One of the features of the new format is that it keeps track of “requested” versus “unrequested” port installations. You can convert a 1.9.x flat system to the sqlite format by upgrading to MacPorts 2.0 or by changing the portdbformat value in /opt/local/etc/macports/nf and then issuing a port command as root (e.g. The sqlite port DB format is the default for new installations old installations that were upgraded to 1.9.x will continue to use the flat format 1. MacPorts 1.9.0 added the sqlite portdbformat and MacPorts 2.0.0 dropped the old flat format. ![]() # The list of active ports is imported from $HOME/active_ports.To avoid accidentally cutting leaves that might be things you requested you should install the port_cutleaves package then run sudo port_cutleaves # BASH script to re-install previously installed ports on an Apple Mac Zlib" for x in $ACTIVE_PORTS do sudo port install $x sleep 5 done # Gowtham, Tue Oct 20 22:23: export ACTIVE_PORTS= "apr #! /bin/bash # BASH script to re-install previously installed ports on an Apple Mac # The list of active ports is imported from $HOME/active_ports.txt # and this list varies from person to person, depending on what (s)he # has installed previously. Once the installation is complete, run the following command in a terminal: pkg file from MacPorts and complete the installation of base package. Upgrading MacPortsĭownload the appropriate. Unfortunately, XCode is not upgraded automagically during the regular/routine software updates but the installation went smooth and just for good measure, I rebooted the machine. One needs to ensure that the optional components for command line development are installed as well ( Unix Development in the XCode 3.x installer). ![]() Upgrading/Re-installing XCodeįirst step is to download XCode 3 for Snow Leopard from Apple Developer Connection. Needless to say, things started breaking and result was a more time consuming process of upgrading MacPorts. PowerPC to Intel), you may get lucky and have your ports keep working, but in general, things will break.įairly recently, my Mac underwent an upgrade from Leopard to Snow Leopard and not knowing that I needed to upgrade MacPorts to keep things sane, I tried installing Qt Octave – an open source equivalent of MATLAB. from Tiger to Leopard) or migrate to a new machine with a different type of CPU (e.g. Wondering why is this necessary? Citing MacPorts,Īn installation of MacPorts and the ports installed by it are only designed to work on a single OS release and a single CPU architecture. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |