I'm installing wkhtmltopdf
on my Mac using homebrew install wkhtmltopdf
so it would go on like this: Installing wkhtmltopdf dependency: qt
. For some reason, my internet connection causes the download of a 200+mb file (Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz
) to only go at 4KB/s so I just copied my friend's version of the tar file. My OS version is Mavericks and QT does not support it yet so installing it separately will not work (already tried it).
How would I be able to just copy the tar file and place it wherever brew stores temporary files or whatsoever, so that brew won't need to download it anymore? Specifically, where can I place the tar.gz
file?
By default, Homebrew will install all packages in the directory /usr/local/Cellar/ , and also creates symbolic links at /usr/local/opt/ and /usr/local/bin/ (for executable files).
The cache path is ~/Library/Caches/Homebrew/ . To enable caching of brew installers: Open your app on Bitrise.
Homebrew stores downloaded files in either ~/Library/Caches/Homebrew
or /Library/Caches/Homebrew
(the former if it exists and the latter if the former doesn't). If you've already used Homebrew, check those locations and see which one exists, and drop the tar file you downloaded in that directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With