How to install mono 5.0.x on Mac using homebrew? - mono

I tried just brew install mono, and it appears that the default installs a 4.x version.
Thanks!

you can use homebrew-cask to install mono-mdk.
brew install mono-mdk --cask

Related

rbenv on wsl shows ruby version 2.5.0-dev

I installed rbenv on WSL but it only shows that I have ruby 2.5.0-dev. I checked ruby's website and it showed 3.1.2. I then checked rbenv on github and it showed that the updated rbenv is 3.1.2.
Note that the version of rbenv that is packaged and maintained in the Debian and Ubuntu repositories is out of date. To install the latest version, it is recommended to install rbenv using git.
Use this to install the latest version: https://github.com/rbenv/rbenv#basic-git-checkout

Launching latest version of MonoDevelop on Ubuntu 14.04 LTS

I installed MonoDevelop using following commands:
sudo add-apt-repository ppa:ermshiperete/monodevelop
sudo apt-get update
sudo apt-get install monodevelop-current
because I wanted latest version.
sudo apt-get install monodevelop
results in installing 4.x version which I wasn't interested in.
Now I can launch application via terminal using:
/opt/monodevelop/bin/monodevelop-launcher.sh
but "monodevelop" command results in following information:
The program 'monodevelop' is currently not installed. You can install it by typing:
sudo apt-get install monodevelop
and creating monodevelop.desktop file doesn't result in having program icon in launcher. Any ideas what I should do to be able to run MonoDevelop using "monodevelop" command?
I installed MonoDevelop using following commands:
sudo add-apt-repository ppa:ermshiperete/monodevelop
Do you realize that when adding a repository, you're trusting this user (what he decides to package in his repository), and that the version you get is the one that he himself alone decided to package?
I recommend you to add the repository of the official developers/packagers instead. Follow the instructions here (but uninstall any old packages first).

Install old version of phantomjs

I want to install an old version of phantomjs (1.9.1). If I run
brew install phantomjs
It installs the new version (2.0.0).
You can find supported prior versions in the homebrew-versions repository. There isn't a formula for 1.9.1 but you can install 1.9.2 with brew install homebrew/versions/phantomjs192. (You could contribute one for 1.9.1 if you really need it.) You can look for versioned formulas with brew search phantomjs.
Please, try this command:
brew install https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/phantomjs182.rb

Can't install RMagick with rbenv

I'm using rbenv on my Ubuntu 10.04 server and I already installed ImageMagick, but I can't get RMagick to install successfully. I get the following error message
Can't install RMagick 2.13.1. Can't find MagickWand.h
Any ideas?
You need to install the development headers for libmagickwand like so:
apt-get install libmagickwand-dev

Upgrade maven.2.0.8 to maven.2.0.9 on Ubuntu Hardy Heron (8.04)

Ubuntu packages for 8.04 only goes upto version 2.0.8 of Maven. How do I install maven 2.0.9 package using apt-get or other Ubuntu package installer ? Thanks.
Try to download and install a .deb from the "maven2" package. Not sure this will work though.
But actually, my advice would be to install Maven manually (download the distribution, extract it, add $M2_HOME/bin to the $PATH and there you go).