{"id":293,"date":"2011-01-11T10:47:18","date_gmt":"2011-01-11T09:47:18","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=293"},"modified":"2013-02-01T13:11:10","modified_gmt":"2013-02-01T12:11:10","slug":"macport-darwinport-howto","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=293","title":{"rendered":"MacPort \/ DarwinPort HowTo"},"content":{"rendered":"<div id=\"toctitle\">\n<span id=\"Contents\"><h2>Contents<\/h2><\/span>\n<\/div>\n<ul>\n<li>1 Installation<\/li>\n<li>2 Selfupdate<\/li>\n<li>3 Upgrade installed packages<\/li>\n<li>4 Uninstall package<\/li>\n<li>5 Using variants<\/li>\n<\/ul>\n<p><a id=\"Installation\" name=\"Installation\"><\/a><\/p>\n<span id=\"\"><h2><\/h2><\/span>\n<p>&nbsp;<\/p>\n<span id=\"Installation\"><h2>Installation<\/h2><\/span>\n<p><a id=\"Selfupdate\" name=\"Selfupdate\"><\/a><\/p>\n<span id=\"Selfupdate\"><h2>Selfupdate<\/h2><\/span>\n<p>The selfupdate option should be used regularly to sync the local ports tree with the global MacPorts ports repository so you will have the latest port versions. It also checks for new revisions of the MacPorts infrastructure, called MacPorts base, and upgrades it when necessary.<\/p>\n<pre>sudo port selfupdate<\/pre>\n<p>The sync option performs a subset of selfupdate actions. It synchronizes the ports tree, as does selfupdate, but it does not check for upgrades to MacPorts base. On Mac OS X, unless there is a special reason not to do so, you should run selfupdate.<\/p>\n<pre>sudo port sync<\/pre>\n<p><a id=\"Upgrade_installed_packages\" name=\"Upgrade_installed_packages\"><\/a><\/p>\n<span id=\"Upgrade_installed_packages\"><h2>Upgrade installed packages<\/h2><\/span>\n<pre>sudo port upgrade outdated<\/pre>\n<p><a id=\"Uninstall_package\" name=\"Uninstall_package\"><\/a><\/p>\n<span id=\"Uninstall_package\"><h2>Uninstall package<\/h2><\/span>\n<pre>sudo port uninstall wireshark<\/pre>\n<p><a id=\"Using_variants\" name=\"Using_variants\"><\/a><\/p>\n<span id=\"Using_variants\"><h2>Using variants<\/h2><\/span>\n<pre>sudo port variants wireshark\r\nwireshark has the variants:\r\n\tadns\r\n\tgnutls\r\n\tlibgcrypt\r\n\tipv6\r\n\tlua\r\n\tnet_snmp\r\n\tpcre\r\n\trtp: add rtp support with portaudio\r\n\tno_ssl\r\n\tno_x11: Disable support for X11<\/pre>\n<p>&nbsp;<\/p>\n<pre>sudo port install wireshark +gnutls +pcre +rtp<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Contents 1 Installation 2 Selfupdate 3 Upgrade installed packages 4 Uninstall package 5 Using variants &nbsp; Installation Selfupdate The selfupdate option should be used regularly to sync the local ports tree with the global MacPorts ports repository so you will &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=293\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","hentry","category-mac-os-x"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=293"}],"version-history":[{"count":6,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":2717,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions\/2717"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}