{"id":1081,"date":"2013-04-10T17:38:31","date_gmt":"2013-04-10T17:38:31","guid":{"rendered":"http:\/\/invisiblezero.net\/?p=617"},"modified":"2013-04-10T17:38:31","modified_gmt":"2013-04-10T17:38:31","slug":"mac-os-x-homebrew-the-missing-package-manager","status":"publish","type":"post","link":"http:\/\/ndthanh.com\/mac-os-x-homebrew-the-missing-package-manager\/","title":{"rendered":"Mac OS X – Homebrew, the missing package manager"},"content":{"rendered":"

\"Homebrew-Logo\"<\/p>\n

Homebrew describes itself as \u201cThe missing package manager for OS X\u201d, which is a pretty apt description. The program is a written in Ruby and it allows users to download as well as install packages from the command-line with ridiculous ease.<\/p>\n

<\/p>\n

1. Using Homebrew<\/strong><\/p>\n

The syntax for Homebrew is incredibly simple. All you have to enter into your Terminal to install packages is:<\/p>\n

\nbrew install somepackage\n<\/pre>\n

Replace some package with a valid entry and Homebrew will immediately begin download the necessary packages (including those packages necessary for supporting your desired package.) Once installed is equally simple to uninstall packages. Using the following syntax Homebrew will uninstall packages:<\/p>\n

\nbrew uninstall somepackage\n<\/pre>\n

To search for package, you can use this command:<\/p>\n

\nbrew search somepackage\n<\/pre>\n

To update your Homebrew packages you just have to enter this simple bit of code:<\/p>\n

\nbrew update\n<\/pre>\n

2.Getting started using Homebrew<\/strong>
\nOn the Homebrew webpage there are extremely simple directions on how to get started using Hombrew. You can find them here<\/a>, and can read the home-brew wiki here<\/a> to find out even more cool things to do with Homebrew. You can also checkout this link<\/a> to see all the different packages available for download with Homebrew. Below is a list of packages to get started with Homebrew.<\/p>\n

curl<\/strong> \u2013 A command line tool for transferring protocol using URL syntax. It is capable of doing many things including but not limited to: displaying webpage source code in the Terminal window and downloading webpage source code. Check out the cURL Wikipedia Page or the cURL project homepage.<\/p>\n

wget<\/strong> \u2013 Similar to cURL, wget is a command line tool for retrieving files using widely accepted internet protocols like HTTP or FTP. To learn more see the wget Wiki or the GNU wget project page.<\/p>\n

htop<\/strong> \u2013 Htop is an interactive system-monitor\/process-viewer originally written for Linux and now available for OS X under a GNU license. To learn more about Htop check out the Htop sourceforge page or its Wikipedia article.<\/p>\n

ack<\/strong> \u2013 ack bills itself as a \u201cBetter than grep\u201d search tool for looking through code. You can visit ack\u2019s homepage betterthangrep.com to learn more.<\/p>\n

rtorrent<\/strong> \u2013 rTorrent is a command-line torrent downloader that you can get through Homebrew. Checkout the rTorrent project webpage or its Wikipedia article to learn more.<\/p>\n

3. Conclusion<\/strong>
\nWith Homebrew, you can have many things from Linux world (well, both Mac OS X and Linux are based on Unix). you will have more power with it, believe me \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"

Homebrew describes itself as \u201cThe missing package manager for OS X\u201d, which is a pretty apt description. The program is a written in Ruby and it allows users to download as well as install packages from the command-line with ridiculous ease. 1. Using Homebrew The syntax for Homebrew is incredibly simple. All you have to…<\/p>\n

Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,46,53,66],"tags":[49,92,51,64],"aioseo_notices":[],"views":5,"_links":{"self":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts\/1081"}],"collection":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/comments?post=1081"}],"version-history":[{"count":0,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/posts\/1081\/revisions"}],"wp:attachment":[{"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/media?parent=1081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/categories?post=1081"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ndthanh.com\/wp-json\/wp\/v2\/tags?post=1081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}