Dec 04, 2019 Homebrew is the package manager for MacOS. It's the easiest and most flexible way to install the UNIX tools Apple didn't include with macOS. It allows you to download and install software like PHP, Git, Node, MongoDB, MySQL via the command-line on MacOS. MacOS Requirements. A 64-bit Intel CPU; macOS High Sierra (10.13) (or higher). The main ones are: GNU, GNU/Linux, FreeBSD, NetBSD, OpenBSD, MacOS, MS Windows and Solaris. GNU/Linux Most GNU/Linux distributions provide GNU Emacs in their repositories, which is the recommended way to install Emacs unless you always want to use the latest release.
Unix Binary Release • Mac OS X Binary Release • iOS Binary Release • Windows Binary Release
You can install ImageMagick from source. However, if you don't have a proper development environment or if you're anxious to get started, download a ready-to-run Unix or Windows executable. Before you download, you may want to review recent changes to the ImageMagick distribution.
ImageMagick source and binary distributions are available from a variety of FTP and Web mirrors around the world.
Unix Binary Release
These are the Unix variations that we support. If your system is not on the list, try installing from source. Although ImageMagick runs fine on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably.
Version | HTTP | FTP | Description |
---|---|---|---|
magick | download | download | Complete portable application on Linux, no installation required. Just download and run. |
ImageMagick-7.0.10-23.x86_64.rpm | download | download | Redhat / CentOS 7.1 x86_64 RPM |
ImageMagick-libs-7.0.10-23.x86_64.rpm | download | download | Redhat / CentOS 7.1 x86_64 RPM |
ImageMagick RPM's | download | download | Development, Perl, C++, and documentation RPM's. |
ImageMagick-i386-pc-solaris2.11.tar.gz | download | download | Solaris Sparc 2.11 |
ImageMagick-i686-pc-cygwin.tar.gz | download | download | Cygwin |
ImageMagick-i686-pc-mingw32.tar.gz | download | download | MinGW |
Verify its message digest.
ImageMagick RPM's are self-installing. Simply type the following command and you're ready to start using ImageMagick:
You'll need the libraries as well:
Note, if there are missing dependencies, install them from the EPEL repo.
For other systems, create (or choose) a directory to install the package into and change to that directory, for example:
Next, extract the contents of the package. For example:
Set the
MAGICK_HOME
environment variable to the path where you extracted the ImageMagick files. For example:If the
bin
subdirectory of the extracted package is not already in your executable search path, add it to your PATH
environment variable. For example:On Linux and Solaris machines add
$MAGICK_HOME/lib
to the LD_LIBRARY_PATH
environment variable:Finally, to verify ImageMagick is working properly, type the following on the command line:
Congratulations, you have a working ImageMagick distribution under Unix or Linux and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
Mac OS X Binary Release
We recommend Homebrew which custom builds ImageMagick in your environment (some users prefer MacPorts). Download HomeBrew and type:
ImageMagick depends on Ghostscript fonts. To install them, type:
The
brew
command downloads ImageMagick and many of its delegate libraries (e.g. JPEG, PNG, Freetype, etc.) and configures, builds, and installs ImageMagick automagically. Alternatively, you can download the ImageMagick Mac OS X distribution we provide:Version | HTTP | FTP | Description |
---|---|---|---|
ImageMagick-x86_64-apple-darwin19.3.0.tar.gz | download | download | macOS High Sierra |
Verify its message digest.
Create (or choose) a directory to install the package into and change to that directory, for example:
Next, extract the contents of the package. For example:
Set the
MAGICK_HOME
environment variable to the path where you extracted the ImageMagick files. For example:If the
bin
subdirectory of the extracted package is not already in your executable search path, add it to your PATH
environment variable. For example:Set the
DYLD_LIBRARY_PATH
environment variable:Finally, to verify ImageMagick is working properly, type the following on the command line:
Note, the display program requires the X11 server available on your Mac OS X installation DVD. Once that is installed, you will also need to set
export DISPLAY=:0
.The best way to deal with all the exports is to put them at the end of your .profile file
Congratulations, you have a working ImageMagick distribution under Mac OS X and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
iOS Binary Release
~Claudio provides iOS builds of ImageMagick.
Download iOS Distribution
You can download the iOS distribution directly from ImageMagick's repository.
![Download Brew For Macos Download Brew For Macos](/uploads/1/2/6/5/126571604/535206871.jpg)
There are always 2 packages for the compiled ImageMagick:
- iOSMagick-VERSION-libs.zip
- iOSMagick-VERSION.zip
The first one includes headers and compiled libraries that have been used to compile ImageMagick. Most users would need this one.
ImageMagick compiling script for iOS OS and iOS Simulator
To run the script:
Make ringtones for iphone itunes 8. where VERSION is the version of ImageMagick you want to compile (i.e.: 7.0.10-23, svn, ..)
This script compiles ImageMagick as a static library to be included in iOS projects and adds support for
- png
- jpeg
- tiff
Upon successful compilation a folder called
IMPORT_ME
is created on your ~/Desktop
. You can import it into your Xcode project.Xcode project settings
After including everything into Xcode please also make sure to have these settings (Build tab of the project information):
- Other Linker Flags: -lMagickCore-Q16 -lMagickWand-Q16 -ljpeg -lpng -lbz2 -lz
- Header Search Paths: $(SRCROOT) - make it Recursive
- Library Search Paths: $(SRCROOT) - make it Recursive
On the lower left click on the small-wheel and select: Add User-Defined Setting
- Key: OTHER_CFLAGS
- Value: -Dmacintosh=1
Sample project
A sample project is available for download. It is not updated too often, but it does give an idea of all the settings and some ways to play around with ImageMagick in an iOS application.
Windows Binary Release
ImageMagick runs on Windows 10 (x86 & x64), Windows 8 (x86 & x64), Windows 7 (x86 & x64), Windows Server 2012, Windows XP (x86) with Service Pack 3, Windows Vista (x86 & x64) with Service Pack 2, Windows Server 2003 (x86 & x64) with Service Pack 2 (verify MSXML6 is present), Windows Server 2003 R2 (x86 & x64), Windows Server 2008 (x86 & x64) with Service Pack 2, and Windows Server 2008 R2 (x64).
The amount of memory can be an important factor, especially if you intend to work on large images. A minimum of 512 MB of RAM is recommended, but the more RAM the better. Although ImageMagick runs well on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably.
The Windows version of ImageMagick is self-installing. Simply click on the appropriate version below and it will launch itself and ask you a few installation questions. Versions with Q8 in the name are 8 bits-per-pixel component (e.g. 8-bit red, 8-bit green, etc.), whereas, Q16 in the filename are 16 bits-per-pixel component. A Q16 version permits you to read or write 16-bit images without losing precision but requires twice as much resources as the Q8 version. Versions with dll in the filename include ImageMagick libraries as dynamic link libraries. Unless you have a Windows 32-bit OS, we recommend this version of ImageMagick for 64-bit Windows:
Version | HTTP | FTP | Description |
---|---|---|---|
ImageMagick-7.0.10-23-Q16-HDRI-x64-dll.exe | download | download | Win64 dynamic at 16 bits-per-pixel component |
Or choose from these alternate Windows binary distributions:
Version | HTTP | FTP | Description |
---|---|---|---|
ImageMagick-7.0.10-23-Q16-x64-static.exe | download | download | Win64 static at 16 bits-per-pixel component |
ImageMagick-7.0.10-23-Q8-x64-dll.exe | download | download | Win64 dynamic at 8 bits-per-pixel component |
ImageMagick-7.0.10-23-Q8-x64-static.exe | download | download | Win64 static at 8 bits-per-pixel component |
ImageMagick-7.0.10-23-Q16-HDRI-x64-dll.exe | download | download | Win64 dynamic at 16 bits-per-pixel component with high dynamic-range imaging enabled |
ImageMagick-7.0.10-23-Q16-HDRI-x64-static.exe | download | download | Win64 static at 16 bits-per-pixel component with high dynamic-range imaging enabled |
ImageMagick-7.0.10-23-Q16-x86-dll.exe | download | download | Win32 dynamic at 16 bits-per-pixel component |
ImageMagick-7.0.10-23-Q16-x86-static.exe | download | download | Win32 static at 16 bits-per-pixel component |
ImageMagick-7.0.10-23-Q8-x86-dll.exe | download | download | Win32 dynamic at 8 bits-per-pixel component |
ImageMagick-7.0.10-23-Q8-x86-static.exe | download | download | Win32 static at 8 bits-per-pixel component |
ImageMagick-7.0.10-23-Q16-HDRI-x86-dll.exe | download | download | Win32 dynamic at 16 bits-per-pixel component with high dynamic-range imaging enabled |
ImageMagick-7.0.10-23-Q16-HDRI-x86-static.exe | download | download | Win32 static at 16 bits-per-pixel component with high dynamic-range imaging enabled |
ImageMagick-7.0.10-23-portable-Q16-x64.zip | download | download | Portable Win64 static at 16 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries). |
ImageMagick-7.0.10-23-portable-Q16-x86.zip | download | download | Portable Win32 static at 16 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries). |
ImageMagick-7.0.10-23-portable-Q8-x64.zip | download | download | Portable Win64 static at 8 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries). |
ImageMagick-7.0.10-23-portable-Q8-x86.zip | download | download | Portable Win32 static at 8 bits-per-pixel component. Just copy to your host and run (no installer, no Windows registry entries). |
ImageMagick-7.0.10-23-portable-Q16-HDRI-x64.zip | download | download | Portable Win64 static at 16 bits-per-pixel component with high dynamic-range imaging enabled. Just copy to your host and run (no installer, no Windows registry entries). |
ImageMagick-7.0.10-23-portable-Q16-HDRI-x86.zip | download | download | Portable Win32 static at 16 bits-per-pixel component with high dynamic-range imaging enabled. Just copy to your host and run (no installer, no Windows registry entries). |
Verify its message digest.
To verify ImageMagick is working properly, type the following in an Command Prompt window:
If you have any problems, you likely need
vcomp120.dll
. To install it, download Visual C++ Redistributable Package.Note, use a double quote (
'
) rather than a single quote ('
) for the ImageMagick command line under Windows:Use two double quotes for VBScript scripts:
Congratulations, you have a working ImageMagick distribution under Windows and you are ready to use ImageMagick to convert, compose, or edit your images or perhaps you'll want to use one of the Application Program Interfaces for C, C++, Perl, and others.
Download Brew For Macos Windows 10
When I reviewed the video player IINA (see “Prepare for Apple Dropping Old Media Formats with the IINA Video Player,” 6 May 2019), quite a few TidBITS readers took it as an opportunity to vent their frustrations about downloading videos from YouTube. Recent changes in Firefox have broken extensions like DownThemAll, which used to be a handy way to download videos.
There are several reasons you might want to download videos from YouTube. Like most cloud-based things, YouTube videos are ephemeral—they vanish all the time for all kinds of reasons. The uploader might pull a video down, YouTube may remove a video in response to a copyright complaint (sometimes legitimate, sometimes not), and a video might disappear if it runs afoul of YouTube’s ever-changing and seemingly haphazard standards for acceptable content.
But preservation isn’t the only reason people download YouTube videos. For example, they may want to download short clips to use in their videos (honoring the doctrine of fair use, of course). A friend of mine accidentally deleted the “sizzle clip” he slaps on the front of every video in iMovie, and he solved the problem by downloading one of his own videos from YouTube and extracting that clip. Or, you may want to be able to play some YouTube videos in a situation where there’s no Internet access.
Whatever the reason, you don’t have to rely on Firefox to download videos from YouTube. There are several solutions on the Mac, and I review a few of them here.
Note that downloading YouTube videos with a utility other than YouTube’s apps (which require a YouTube Premium subscription) nominally violates YouTube’s terms of service:
You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content.
That said, I’ve never heard of YouTube punishing a user for downloading videos, although using copyrighted material in videos you upload to YouTube could get you in trouble.
The Command-Line Grand Poobah: youtube-dl
Arguably, the greatest of the YouTube downloaders is the public-domain youtube-dl, a command-line utility that powers many apps like the aforementioned IINA. It’s not the friendliest option, but it’s free and powerful.
The project offers instructions for installing youtube-dl. You can use the
curl
command or rely on Homebrew, a command-line package manager that I strongly recommend—refer to Homebrew’s home page for a one-line command to install it from Terminal. Then, in Terminal, you can enter brew install youtube-dl
to install the download utility.Once you install youtube-dl, type
man youtube-dl
in Terminal to see its extensive list of options. But all you really need to do to use it is to type youtube-dl URL
in Terminal, where URL
is the link to the desired YouTube video. That downloads the video in your current directory. Type cd ~/Downloads
before running youtube-dl to download the video to your Downloads folder.You can play the video after you download it with QuickTime or with a third-party player like IINA or VLC.
The developers of youtube-dl issue updates frequently, which is why I recommend installing it with Homebrew. The first time I tried to download a video for this article, I received an error because I hadn’t updated youtube-dl first. Homebrew makes updating easy with the
brew update youtube-dl
command, which updates both youtube-dl and Homebrew itself, along with all the packages youtube-dl needs to function.A Free Graphical App: ClipGrab
Download Brew For Macos Download
ClipGrab is a simple, free utility for macOS that can download individual YouTube videos and even convert them to other formats, including MP3 if you’re only interested in the audio.
It’s easy to use: copy a YouTube URL and open ClipGrab. It will automatically extract the URL from the clipboard. Use the Format drop-down menu to choose a format (Original is usually fine if you want video), and click Grab This Clip to download the video. The default download location is your Desktop, but you can change it in the Settings tab.
ClipGrab offers a search tab where you can search for and download videos, but I find it easier to use YouTube’s search engine to find videos and then paste the URL into ClipGrab.
A Setapp Option: Downie
A subscription to Setapp includes several utilities that can download YouTube videos: the torrent client Folx, media players Movist Pro and Elmedia Player, and an app purpose-built for downloading YouTube videos: Downie. (If you’re not a Setapp subscriber, Downie costs $19.99.)
Downie, unlike ClipGrab, is tailor-made for the Mac. You can drag and drop YouTube URLs to Downie’s window or its Dock icon. Downie also comes bundled with a Safari extension, which you enable in Safari > Preferences > Extensions. Once you enable the extension, you can click the Downie icon in Safari’s toolbar to download a video.
In addition to Downie’s simplicity, I like that it downloads subtitles with the video (YouTube automatically generates subtitles for videos). Downie saves subtitles alongside the video as an SRT file. Unfortunately, QuickTime Player doesn’t understand those files, so you need to use a more capable video player like IINA to view them. As long as the SRT file is in the same directory as the video, it works automatically when you play the video in IINA.
Download Brew For Macos Windows 7
Downie can also download an entire YouTube playlist at once. Just drag the playlist URL into Downie and click Playlist to see all the available videos to download. You can then click Add Selected to download the playlist videos.
Download an Entire Channel with 4K Video Downloader
Downie can download an entire playlist, but there’s only one Mac app that I know of that can download an entire YouTube channel: 4K Video Downloader. You can try the app for free (it costs $15 to unlock the entire app). To use it, copy the channel’s URL, open 4K Video Downloader, and click Paste Link to load every video in the channel.
Even better, when 4K Downloader is running, you can subscribe to a channel to download every new video published on the channel automatically.
Note that if a channel has a lot of videos, it can take a long time to download them all and it may use considerable system resources to do so. Nonetheless, I’ve successfully downloaded entire channels containing hundreds of videos with 4K Video Downloader, making it my favorite utility of the bunch.
4K Video Download can also download subtitles, and it can convert YouTube videos to MP3 audio files. Of course, it downloads individual videos as well.
Brew Macos 10.15
There you have it: four utilities that you can use to download YouTube videos in macOS. Do you have another favorite? Let us know in the comments.