What does the `--fresh` option do in Brew?

During installation instructions (for example caffe for os x), I run the flag --fresh

for homebrew . For example,

brew install --fresh -vd snappy leveldb gflags glog szip lmdb

      

However, I can't see any documentation on what it does --fresh

, and I didn't find it in the homebrew source code. What does this flag do? (Or what was he doing?)

+3


source to share


1 answer


I found an old github issue describing the behavior --fresh

.

The flag is meant to ensure that packages were installed without any previously set compile-time options (for example --with-python

), but it was removed because it did nothing:



commit 64744646e9be93dd758ca5cf202c6605accf4deb
Author: Jack Nagel <jacknagel@gmail.com>
Date:   Sat Jul 5 19:28:15 2014 -0500

    Remove remaining references to "--fresh"

    This option was removed in 8cdf4d8ebf439eb9a9ffcaa0e455ced9459e1e41
    because it did not do anything.

      

+2


source







All Articles