This formula is a piece of code that’s responsible for holding all the information required to install ffmpeg: its name, version, URL to the source files that should be downloaded, and other packages that ffmpeg needs in order to operate. # now that ffmpeg is installed, we can use it:īehind the scenes, brew is using what it calls a “formula” to install the ffmpeg package. After installing homebrew, you can open the Terminal and install packages easily and quickly: # installs ffmpeg, a popular command-line package, on macOS In the beginning, there was Homebrew, a package manager created by Max Howell in 2009. This is not an exhaustive overview, but rather an introduction into each. To understand what a Brewfile does and how it can fit in a migration strategy, it’s good to be familiar with the moving parts that make it useful. Starting fresh: Nothing could go wrong, but a lot of time spent on configuration and installing apps. Listing the advantages and drawbacks is beyond the scope of this post, but if you want to read more about the pros and cons of each migration strategy, Jason Snell does a good job on that. Time Machine and/or Migration Assistant: Migration Assistant hasn’t been known for its reliability lately, and Time Machine backups are not less problematic. There are also apps on my current machine that I actually don’t want to move over. Why BrewfileĬloning: Using the excellent Carbon Copy Cloner to clone my old HD to the new one would theoretically be the quickest way to get going, but after 6 years, I imagine there’s more than a little cruft in my system files, and recent changes to Apple’s hardware make this option even less attractive. What’s more, a Brewfile can be generated automatically so you’d rarely need to write the lines above one-by-one. This is already faster than doing any of these steps manually. All apps are installed in the Applications folder by default, but the ability to differentiate between App Store and non App Store applications is significant in my case. If I were to “run” this Brewfile, it would install the Python and SQLite packages, then 1Password, Pages, and Drafts from the Mac App Store, and finally Carbon Copy Cloner, Dropbox, and VLC from Homebrew’s repository (which usually pulls them from their respective websites). Mas "-OSX", id: 1435957248 # Drafts # install the apps below from Homebrew's repository Here’s a short snippet: # Brewfile snippet # install Python and SQLiteīrew "sqlite" # install 1Password, Pages, and Drafts from the Mac App Store Brewfile in a nutshellĪ Brewfile contains instructions on which packages, command-line utilities, and applications to install on a macOS system. It’s written from a beginner’s perspective as up until recently I wasn’t too familiar with the concept myself. If you’re already versed in the world of Homebrew and Homebrew Bundle, you might find it overly verbose. This post is about using a Brewfile to migrate macOS packages and applications. At least for the applications part, I recently found a good solution (that’s apparently been around for a while). As my MacBook Pro is about to turn six, I had been looking for a way to automate this process. ![]() ![]() ![]() ![]() Perhaps the most-dreaded aspect of setting-up a new machine is the time spent on reinstalling apps and reapplying all of the customizations from the previous one.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |