The rest of the leaves were installed, so we're just going to remove them for now. Since they are all distributable, MacPorts will use pre-built binariesįor their installation anyway, so re-installing them wouldn't take long anyway. Update mplayer2, and since that software is rarely updated, we will re-install those Python32, texi2html, and yasm are only needed to Installation, we'd like to keep it around to avoid installing it over and over again. Pkgconfig is needed to build many ports, and while it is strictly not needed after Git-flow it is up to the user to decide what's needed and what is not. Say checking leaves of your MacPorts installation gives this output: $ port echo leaves Scenario where you want to understand what is actually installed and what is on the other hand truly Well, before we come to the procedure of defining your requested ports, let's have a look at a typical After installation, run it with $ sudo port_cutleavesģ.3.7. Keep Your Installation Lean by Defining Leaves as Requested Ports To go through this process interactively so you can make sure you're not uninstalling anything you want to keep, To uninstall all leaves, you can use the rleaves pseudo-port instead. Note that the uninstallation can cause new ports to become leaves. YouĬan uninstall all leaves using $ sudo port uninstall leaves See Section 3.3.7, “Keep Your Installation Lean by Defining Leaves as Requested Ports” to find out how to mark some of the leaves as requested. Git-flow leaves may be wanted, but are in most cases unneeded. Pseudo-port, for example in conjunction with the echo or installed Ports that have not been manually installed ( “ requested”) and do not have anyĭependents are called “ leaves” and can be identified using the leaves To uninstall all inactive ports but a single one, you can use the following shortcut: $ sudo port uninstall inactive and not portnameĪfter a while of using MacPorts, installing and uninstalling ports, packages that have beenĪutomatically installed as dependencies for other ports are left behind, even though they are no longer Version: $ sudo port uninstall HexFiend Password: Of course you could also select only a specific inactive port, but that requires to specify the exact > Uninstalling p5.16-ipc-run Cleaning p5.16-ipc-run > Uninstalling p5.16-class-methodmaker Cleaning p5.16-class-methodmaker > Uninstalling HexFiend Cleaning HexFiend > Uninstalling gpg-agent Cleaning gpg-agent > Uninstalling p5.16-gnupg-interface Cleaning p5.16-gnupg-interface To remove all of them at once, run $ sudo port uninstall inactive Password: Gnupg the list for any ports you might still want to keep. The following ports are currently installed: To get a list of inactive ports you likely no longer need. Space, you should periodically uninstall any old versions you no longer need. To ensure you can go back to a working and tested version in case an update goes wrong. Or it might only have been upgraded at all to be rebuilt against the updated dependency, in which caseĪvoiding the update of the dependency defeats the purpose of the reinstallation.ģ.3.4. Removing Inactive Version(s) of Upgraded Port(s)īy default, upgrading ports in MacPorts does not remove the older versions. Problems later on – the new version of the port you want to upgrade might require the newer dependency, Do not try to avoid this, as it will very likely lead to SoĮven if you request the update of a single port only, other ports may be upgraded first because they are Note that MacPorts will upgrade any dependencies of a port first before updating the port itself. > Installing makedepend Deactivating makedepend Activating makedepend Cleaning makedepend > Attempting to fetch makedepend-1.0.3.tar.bz2 from Replace “ outdated” in the command given above with the port's name: $ sudo port upgrade makedepend Password: In case you want to upgrade only a specific port (not recommended unless you know what you are doing), To upgrade all your installed and outdated ports, run $ sudo port upgrade outdated
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |