how to uninstall geos in macosx - macos

How do I uninstall geos in mac osx
When i do
sudo uninstall geos
I get this error
Uninstall Began...
Uninstall Failed...
Reason: ErrorMissingBundle
I have to uninstall it propely because I need to install a newer version . When I installed a newer version even the it shows
geos-config --version
3.1.1
It was present somewhere in my system. Installation for a new one was successful for some features of postgis is not working and and they are picking up 3.1.1 geos.
I will thankful if someone helps me out here.

Related

Ruby Install failed on MacBook Pro M1

Am trying to install Ruby on MacBook M1 but it failed every time,
Command used: rvm install ruby 2.7.2 (none of the version worked)
Error running '__rvm_make install',
please read /Users/myName/.rvm/log/1641910054_ruby-2.7.2/install.log
There has been an error while running make install. Halting the installation.
And after checking logs, I found
*** Following extensions are not compiled:
gdbm:
Could not be configured. It will not be installed.
Check ext/gdbm/mkmf.log for more details.
openssl:
Could not be configured. It will not be installed.
Check ext/openssl/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want.
I have also tried other version managers like asdf but no luck.
Background: HomeBrew installed successfully, paths also set, rvm also installed. Command line tools for Xcode also installed, using latest version of Xcode 13.2.1 and latest macOS Monterey 12.1.
I think maybe rvm just doesnt work properly on m1 yet? Try just using brew install ruby for now. It should work the same.

how to install ruby-Tk on mac OSX catalina 10.15.4, ruby-2.6.3

Please could anyone help me with the best step by step instruction to install ruby-Tk on mac OSX catalina 10.15.4 running ruby-2.6.3. doing
gem install tk
gives me this error. "Can't find "tk.h". Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk." Thanks
Below guide assumes you have Xcode already installed. If not install it first from the apple app store.
1) Install ActiveTcl for macOS from https://www.activestate.com
under applications/utilities, there will be a new app wish.app. run this app and if you get the wish console to open, then, it installed ok
2) Using your command line do the following
brew install ruby #this will install latest version of ruby
gem install tk
3) then add other ruby gems that you need for your development environment.

Updating Ruby Mac OS 10.6.8 Snow Leopard

I'm trying to install a more recent version of Ruby on Snow Leopard so I can install Jekyll. When trying to install any version of Jekyll I get an error saying that it requires liquid, which requires ruby v2+.
If I try upgrade via rbenv I get the following when trying all versions:
error: failed to download ruby-2.1.1.tar.bz2
BUILD FAILED (OS X 10.6.8 using ruby-build 20181019)
I've also installed Ruby manually from source but this isn't recognised by the system and I can't switch versions.
If i run rbenv global it only recognises the System version of Ruby.
When I try brew upgrade ruby I get the following error:
ruby 2.5.3_1 already installed
If I try link to the new version with brew I get the following error:
brew link --force --overwrite ruby#2.5.3_1
Error: No such keg: /usr/local/Cellar/ruby#2.5.3_1
RVM doesn't install so I'm not sure what to do next. Below are the details of the packages I have installed.
Xcode 3.2.2 (I cant get an installer working for any higher versions of Xcode). The more recent versions hosted by Apple for Snow Leopard are corrupt when downloaded.
rbenv 1.1.1
brew 1.8.4
ruby 1.8.7 (System)
You have (or had) a path issue. Before you did your follow up steps, if you had run which ruby you'd probably see it pointing to /usr/bin/ruby which is system ruby, not your homebrew ruby in /usr/local/bin/ruby.
You still need to, if you haven't already, add your export command to your ~/.bash_profile file to ensure your PATH gets updated for every terminal window you open.
I'm not sure what actually fixed this but I ran the following commands after reading other posts and now have Jekyll 3.8.3 installed and ruby 2.5.3p105.
sudo chown -R "$USER":admin /usr/local
export PATH=/usr/local/bin:$PATH
brew link --overwrite ruby --force
gem install jekyll

how to uninstall activemq in mac os

I have activemq 5.15 installed on my mac os, i want to uninstall it, i want to install lower version 5.6. There is no uninstall related files. No instructions are there in http://activemq.apache.org.
Please help!
'brew uninstall activemq'
i realized that i had installed activemq using 'brew', when i type 'brew list' i can see activemq, so i uninstalled it using 'brew uninstall activemq'.

Can't install mongoctl

I'm working on a 13" MacBook Pro running OS X 10.8.5. I'm trying to install mongoctl with the following command:
sudo pip install mongoctl
But I keep getting an error when downloading and unpacking argparse1.2.1. I've tried installing mongoctl with and without sudo but the result has been the same. Here's the error I'm getting:
Downloading/unpacking argparse==1.2.1 (from dargparse->mongoctl)
Could not find a version that satisfies the requirement argparse==1.2.1 (from dargparse- >mongoctl) (from versions: 0.1.0, 0.9.0, 0.8.0, 0.7.0, 0.6.0, 0.9.1, 0.5.0, 0.4.0, 0.2.0, 1.0, 1.0.1, 1.1, 0.3.0)
Some externally hosted files were ignored (use --allow-external to allow).
Cleaning up...
No distributions matching the version for argparse==1.2.1 (from dargparse->mongoctl)
I installed arparse1.1 manually but don't know how to use it for this installation. Any help is much appreciated.
-Mike
I ran into a similar issue on 10.7.5 OS X. Instead of the --allow-external, I tried --allow-all-external and it seems to have worked. Or if you did --allow-external, I think you need to include which of the packages to allow.

Resources