{"id":830,"date":"2010-02-04T21:58:30","date_gmt":"2010-02-04T21:58:30","guid":{"rendered":"http:\/\/really.zonky.org\/?p=830"},"modified":"2010-02-04T22:00:14","modified_gmt":"2010-02-04T22:00:14","slug":"mikes-mini-macports-guide","status":"publish","type":"post","link":"https:\/\/really.zonky.org\/?p=830","title":{"rendered":"Mike&#8217;s Mini MacPorts Guide"},"content":{"rendered":"<p><a href=\"http:\/\/www.macports.org\/\">Macports<\/a> is a convenient way of adding conventional Unix software to an OSX machine; this guide is not intended as a replacement for the main <a href=\"http:\/\/guide.macports.org\/\">documentation<\/a> but as a simple convenient cheat sheet. Mainly for myself, but as it is here, anyone is welcome to use it (and send in corrections!).<\/p>\n<p>After you have installed the main Macports package you need to periodically update the main macports binary and the index files with :-<\/p>\n<pre>% sudo port selfupdate -d\r\n<\/pre>\n<p>This conveniently tells you to update the outdated ports with :-<\/p>\n<pre>% sudo port upgrade outdated\r\n<\/pre>\n<p>But neglects to suggest that removing inactive ports would be wise :-<\/p>\n<pre>% sudo port uninstall inactive\r\n<\/pre>\n<p>As an upgrade does not by itself remove older packages; merely makes them &#8220;inactive&#8221;. A considerable amount of space can be used by these &#8220;inactive&#8221; ports!<\/p>\n<h2>Variants<\/h2>\n<p>Once you have found a port you are interested in installing :-<\/p>\n<pre>% port search emacs\r\n<\/pre>\n<p>It is worth checking what variants are available :-<\/p>\n<pre>% port info emacs | grep Variants\r\nVariants:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 gtk, motif, universal, x11\r\n<\/pre>\n<p>This allows you to specify what features you want :-<\/p>\n<pre>% port install emacs +gtk<\/pre>\n<p>Further details may be added &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Macports is a convenient way of adding conventional Unix software to an OSX machine; this guide is not intended as a replacement for the main documentation but as a simple convenient cheat sheet. Mainly for myself, but as it is here, anyone is welcome to use it (and send in corrections!). After you have installed <a href='https:\/\/really.zonky.org\/?p=830' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[4],"tags":[172,171,170,173],"class_list":["post-830","post","type-post","status-publish","format-standard","hentry","category-it","tag-emacs","tag-macports","tag-osx","tag-port","category-4-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1f2KI-do","_links":{"self":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=830"}],"version-history":[{"count":4,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/830\/revisions"}],"predecessor-version":[{"id":834,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/830\/revisions\/834"}],"wp:attachment":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}