Comments (2)
@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.
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)
- GDAL 3.1.2 error building with jpeg2000 driver HOT 2
- osgeo-gdal brew install fails HOT 5
- GRASS GIS 7.8.4 released, some mac specific news HOT 3
- Issues installing `insighttoolkit` from source HOT 3
- Missing lib armadillo HOT 10
- Please update to GDAL 3.2.0 HOT 3
- macOS gcc reinstall failure "Type mismatch between actual argument" is linked to osgeo-netcdf HOT 2
- arm64 native bottle HOT 3
- grace no longer working HOT 37
- Brew tap fails due to syntax errors in various osgeo4mac Homebrew formulae HOT 11
- gdal - linked with incorrect libdap - Big Sur HOT 4
- [BigSur][Installation] Install fails on BigSur HOT 26
- Error: Could not get runtime dependencies HOT 2
- Question: How do I join Slack ? HOT 1
- osgeo-libkml.rb emits warning HOT 3
- trouble with labelimg.py starting it shows the error bellow HOT 2
- brew tap not working on macOS 12.2.1 HOT 7
- Status update?
- "Just brew tap osgeo/osgeo4mac and then brew install <formula>. Easy, isn't it?" no it's not
- Osgeo4mac slack requires work domain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-osgeo4mac.