How to install legacy telepresence version on mac os - homebrew

I installed the newest release of telepresence by
brew install datawire/blackbird/telepresence
However my scripts are using some legacy telepresence commands that are no longer supported -
The following flags used don't have a direct translation to Telepresence: --serviceaccount --also-proxy --also-proxy --also-proxy --also-proxy
I have not been able to find a way to install an old version of telepresence on mac os.
My preference would to be to use brew but this does not look possible.

brew install telepresence-legacy

brew unlink telepresence
wget https://raw.githubusercontent.com/datawire/homebrew-blackbird/1797069a468a4b056edbfcaf63e9ac665470cdaf/Formula/telepresence.rb
brew install ./telepresence.rb
I found this here
installing-old-version-telepresence-macos/

Related

Xdebug install on macOS

I'm trying to install Xdebug on macOS Catalina but home-brew no longer allowed to run as root. Worked fine before Catalina update.
I was running Xdebug under Mojave but Catalina upgrade broke it. Removed extension to reinstall and then hit hombrew issue: get the following error when running brew as root:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
Brew should be working without using sudo.
If that's not the case, your homebrew install is broken and you might need to reinstall it.
In any case brew doctor is something you can always consult.
After you got your homebrew fixed,
looking into Can't install xdebug on Mac with Homebrew might be of help.
Updating homebrew should do the trick -
brew update

How to install Podman, rootless container in Mac OSX.Brew?

I'm looking for an easy way to install Podman in osx.
Are there some brew commands to install Podman?
From the installation information I can see the osx installations is supported via homebrew.
MacOS
Using Homebrew:
brew cask install podman
Update: Use brew install podman as described here.
There won't be any Mac or Windows support (at least not in the near future). Instead, you would have to run podman on a linux-based system and connect to it using varlink. For details, see this blog article.

Homebrew does not upgrade pyenv

I'm trying to upgrade pyenv with homebrew for getting new Python releases.
Here is the problem:
$ brew upgrade pyenv
Error: pyenv 1.2.7 already installed
Is there a kind of update latency in homebrew package versioning? I am aware of the existence of other ways to install pyenv, but I'd like to use homebrew.
pyenv 1.2.8 is not yet officially released.
On the master branch the last tag is 1.2.7.
The commit you mentioned in your question is in preparation for release 1.2.8.
Version 1.2.7 is here https://github.com/pyenv/pyenv/tree/v1.2.7
Version 1.2.8 should be here https://github.com/pyenv/pyenv/tree/v1.2.8 but nothing is there (yet).
Verify which pyenv your system is using.
I thought I had this issue but then realized I had two different installs on my computer and my system was not actually using the brew installed pyenv --version.
Grepping my shell history, I saw that at some point I installed pyenv with curl using pyenv-installer for some reason. The command I found in my history was curl https://pyenv.run | bash. I followed the pyenv-installer directions to uninstall. Make sure to restart your shell once you uninstall!
I then reinstalled pyenv with brew. brew reinstall pyenv though I'm not sure if that's necessary.
I now see the newer versions of python available for install with pyenv install --list

Homebrew install package with a particular version

Unfortunately on my MAC I am unable to get the gem "rmagick" to install. I've tried pretty much a all the options.
I had gotten it to install when I used "imagemagick 6.3.9.7".
Therefore, I want to know is there a way to install a particular version of the software using brew ?
Something like
brew install imagemagick -v 6.3.9.7
Search for available versions with:
brew search imagemagick
To install a specific version use this forumla: brew install package#<version>, in your case it's:
brew install imagemagick#6.3.9.7

PhantomJS version 1.4.0 version issue

I installed PhantomJS today and got this error trying to use it:
PhantomJS version 1.4.0
is too old. You must use at least version 1.7.0
(Capybara::Poltergeist::PhantomJSTooOld)
How can I install the newer version?
I can get the newer version (1.7) at: http://phantomjs.org/download.html
Once I've downloaded it though how do I actually install it?
Are you using Linux or OS X? You'll need to either build from source or install an updated PhantomJS package. You can also download the binaries and install over the system installed PhantomJS. Type "which phantomjs" and it should show the location of PhantomJS.
If you're using homebrew, just:
brew upgrade phantomjs
I had to solve this problem yesterday, it required me updating brew, telling brew to uninstall phantomJS, then updating xcode, then installing the latest xcode command utilities, then using brew to re-install phantomjs. Finally that got it to pull in the latest version. You might try this (mac):
brew update
brew uninstall phantomjs
brew doctor (follow the fixes it recommends if any... Mine was updating xcode)
brew install phantomjs
At that point it should grab the latest.
Good luck!

Resources