Code Monkey home page Code Monkey logo

Comments (2)

jqtrde avatar jqtrde commented on June 7, 2024

@dakcarto, thanks for the fix.

How do I actually go about getting this applied? brew update && brew upgrade qgis-20 isn't working here, I'm apparently already using the latest build. It's like your latest commit doesn't exist.

I'm fairly sure this is just a case of me not knowing how to use Homebrew correctly; any help would be appreciated.

Thanks again

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on June 7, 2024

Hi, @jacquestardie. The brew upgrade command upgrades a package only if there is a bump in its version, or you choose another version option, e.g. --devel or --HEAD. The brew update command just updates all associated git repos, aka main and custom taps, so all formula are updated. To update a package using the updated formula (that hasn't had a version bump) requires the package to be uninstalled then installed again. There is a convenience command for this, brew reinstall, which has the advantages of maintaining your chosen options from the previous install. So, if you installed with qgis-20 --with-grass --globe then those are the options applied on reinstall.

However, --devel or --HEAD options (I think) are not honored on reinstall. For example, to upgrade to latest --HEAD you would do the following:

brew unlink qgis-20 && brew upgrade qgis-20 --HEAD --with-grass --with-globe

This command will install HEAD alongside of 2.0.1, without removing the 2.0.1 'keg' install in HOMEBREW_PREFIX/Cellar/qgis-20/, assuming you had already installed 2.0.1. Also, 2.0.1 app bundle will still be double-click launch-able from there as well, if the Python modules of the HEAD install are still compatible with 2.0.1. If you want to switch back to the 2.0.1 install, but not remove HEAD, or vice versa, then use the switch command:

brew switch qgis-20 [2.0.1 or HEAD]

Whichever keg is current will be the one available in HOMEBREW_PREFIX/opt/qgis-20/ and symlinked into HOMEBREW_PREFIX/[bin,lib,python/site-packages].

from homebrew-osgeo4mac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.