{"id":69,"date":"2013-02-25T16:16:10","date_gmt":"2013-02-25T16:16:10","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=69"},"modified":"2015-06-10T04:59:53","modified_gmt":"2015-06-10T04:59:53","slug":"how-to-install-wget-on-os-x","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/how-to-install-wget-on-os-x\/","title":{"rendered":"How to Install wget on OS X"},"content":{"rendered":"<p>The wget tool is an extremely useful command that allows you to download files from websites from the command line.\u00a0 Before you begin you should make sure you have Xcode installed.\u00a0 If you don&#8217;t, just download it from the App Store, its free.<\/p>\n<p>To install wget on your mac you first need to download the source code from <a title=\"Download wget Source Code\" href=\"http:\/\/ftp.gnu.org\/pub\/gnu\/wget\/wget-1.14.tar.gz\" target=\"_blank\">here<\/a>.\u00a0 Next you need to extract the tarball.\u00a0 You can do this by double clicking the file in Finder or you can run the following command in the terminal<\/p>\n<pre>tar -zxvf ~\/Downlaods\/wget-1.14.tar.gz<\/pre>\n<p>Run the rest of these commands in the Terminal app.<\/p>\n<p>Next we will cd into the directory.<\/p>\n<pre>cd ~\/Downloads\/wget-1.14<\/pre>\n<p>Then,<\/p>\n<pre>.\/configure --with-ssl=openssl<\/pre>\n<p>Make it<\/p>\n<pre>make<\/pre>\n<p>and finally install it.<\/p>\n<pre>sudo make install<\/pre>\n<p>And of course make sure it works.<\/p>\n<pre>wget --help<\/pre>\n<p>Congratulations, you have successfully compiled wget from source.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The wget tool is an extremely useful command that allows you to download files from websites from the command line.\u00a0 Before you begin you should make sure you have Xcode installed.\u00a0 If you don&#8217;t, just download it from the App &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/how-to-install-wget-on-os-x\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[69,36,274,38],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-os-x","tag-compile-wget","tag-mac","tag-os-x","tag-wget"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":8,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":809,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/69\/revisions\/809"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}