Homebrew is a great tool all that geek computer science having a Mac should know. But leaving aside the tool, the name comes from the Homebrew Computer Club . In this way today will see two things: what is the tool, and what important work was the club of computing that formed part Jobs and Woz.
the Homebrew Computer Club, the club’s most influential computer
the Homebrew Computer Club was founded in 1975 and brought together the largest amateurs and professionals of computers. Indeed, the two most recognizable members are the own founding Apple Steve Jobs and Stephen Wozniak.
this club was born by the need for share knowledge about computers and electronics. At that time, a computer was not something that could have either. Today you buy a computer, give the power button and go. But in the era of the 70s, it was different, and were you that you had to build your own computer because you could just buy it for parts. And at that time, obviously asking for a forum was not possible, and these clubs became the best way to share knowledge and expose their doubts and concerns.
anecdotes about this great club are huge, and very curious, but we don’t have time to go into detail about it. The most remarkable anecdote is related to Bill Gates who after presenting its BASIC software, wrote a letter calling much of the club for sharing the software which this sold thieves. Although I will not go into more detail, I recommend strongly that you see the following video Juanjo Muñoz:
Homebrew, package for macOS Manager missing
as it says its slogan, the subtitle, Homebrew is a package for macOS Manager.
and what is package manager? It is a tool that allows us to install from terminal tools or plug-ins that do not come standard on the Mac. And how you can already could guess, Brew known as short, is intended for people with some knowledge of the use of the command line.
how to install Brew
install Brew is very simple if you are familiar with terminal . So anyone who can take advantage of this tool will be able to install without any problem.
to installing Hombrew enough to execute the following command (Beware not to take all the command):
/ usr/bin/ruby - e "$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
If you have installed Xcode on your Mac, it is possible that you have to install the command line tools (CLI) XCode. To do this simply run the following command and then try to install Brew:
xcode-select - install
in addition, remember that the latest version of this package manager is only compatible with Mac OS X Yosemite on .
once we have installed successfully Brew you can start using it. And how is it used?
Homebrew works in a way similar to any other package manager. In macOS package manager officer MacPorts is which corresponds to the “port” command. In both cases the commands are very similar, and are also similar to the commands of other managers of packages like ‘apt-get’ and ‘yum’, making it very easy to use.
to install an application, tool, or bookstore just run the command “brew install” followed by the package name. “For example, to install SoX just run as follows:
We know that the installation has been successful when the pitcher of beer. And there isn’t a better check to test if you have installed OK. “The check is performed in the following way:
and if we’ve already tired of that application? Very simple. As to install it just we had to execute a command to uninstall is the same. Just run “brew uninstall” followed by the package name. “
But we don’t always know what we want exactly… Therefore, it is sometimes useful to search a list of packages that contain a certain string. For that we have the command “brew search” followed by a Word.
and if what we want is not to search among all the packages but we have installed? For that is the command “brew list ” . If we execute it as well as which will show us the list of packages that we have installed. On the other hand, if at the end we put the name of a package, it lists files associated with the package. “
OK, but this is not like the App Store, here how update packages? To have the “brew update” command in any other package manager which allows us to update the list of packages. After you run this command must run “brew upgrade” ; If we don’t specify any package then this command will update all, while if we specify it updated only that package.
I could go here all day discussing all the options you have Homebrew, but is that are immense. For more options you can run the command “brew” dried . Thus, a list with the most useful functions, as for example the “brew info” option will be presented you.
what MacPorts Homebrew is different?
Yes it commands are similar, the performance is very different.
the main difference is that Homebrew installs the packages locally while MacPorts make it globally . This is not any advantage or disadvantage to either of the two. That Yes, that causes that Hombrew do not need execute it as root while MacPorts if you must run as root (with “sudo port”). Therefore, it is more difficult to messing if usarmos the first…
another difference is that there are many more packages install MacPorts, and they tend to be more up-to-date. Although the, Brew is more simple to use.
and which one to use in each case?
because the truth is that I am not the best example. I usually pull more by intuition.
a although, as a general rule flooring installed with MacPorts anything more serious and more it will use, and HomeBrew that less important and less will to use. Even so, I always usually tend to use MacPorts, because it is older and is more likely that the package you’re looking for is there…
in addition, is also worth to remember that these two are not the only options. There is also another called Fink although I’ve never used it and so I can not comment it (thanks any comment or opinion about it). In addition, by what I have been able to inform me, this is now disused. Conclusion
an article quite completito: first a history as computer club, and then a part more technique for more lovers of the computer.
perhaps of interest: how to install Windows on your Mac in a virtual machine with Parallels
do you what do you think? what do you think of the history from the Homebrew Computer Club? How about the Brew package manager? What do you prefer?