Install Software on Mac

Install Software on Mac

by John Vincent


Posted on February 18, 2017


This stuff ends up sprayed everywhere, so let's create a reference document.

SourceTree

SourceTree

Download and Install.

You may need to configure ~.gitconfig

RAR

To install

cd tmp
brew install unrar

Unarchive a RAR file

unrar x <filename>

Eclipse

Eclipse

Eclipse Shortcuts

11 Shortcuts for Eclipse MacOS

Eclipse Cheat Sheet

Installation

From Eclipse Downloads, select

Eclipse IDE for Enterprise Java Developers Mac Cocoa 64-bit

which downloads eclipse-jee-2019-12-R-macosx-cocoa-x86_64.dmg

Execute the DMG file.

Drag Eclipse.app to Applications

Open Eclipse

Execute Eclipse, may get the error

“Eclipse.app” is an app downloaded from the Internet. Are you sure you want to open it?

Select Open

Eclipse as a Mac Service

For details, see Eclipse as a Mac Service

Open Eclipse

In Finder

  • select Folder
  • Right Click, Services
  • eclipse-jee

Remove .DS_Store duplication messages

Will want to change this at the workspace level.

  • Eclipse, Preferences
  • Java, Compiler, Building
    • Output folder
      • Filtered resources: *.launch, *DS_Store

Eclipse Memory Problem

Out of memory errors.

cd /Applications/Eclipse.app/Contents/Eclipse/

edit eclipse.ini

change -Xmx512m to -Xmx1024m

Restart Eclipse

Maven

Apache Maven

Installation

Apache Maven Downloads

cd /Users/jv/Desktop/OtherTools
mkdir apache-maven-work
cd apache-maven-work

Choose apache-maven-3.6.3-bin.tar.gz and save to /Users/jv/Desktop/OtherTools/apache-maven-work

Get the KEYS

https://www.apache.org/dist/maven/KEYS

and save to /Users/jv/Desktop/OtherTools/apache-maven-work/KEYS

Get the signature apache-maven-3.6.3-bin.tar.gz.asc and save to /Users/jv/Desktop/OtherTools/apache-maven-work/apache-maven-3.6.3-bin.tar.gz.asc

Verify Download

cd /Users/jv/Desktop/OtherTools/apache-maven-work

gpg --import KEYS
gpg --verify apache-maven-3.6.3-bin.tar.gz.asc apache-maven-3.6.3-bin.tar.gz

Installation

tar -zxvf apache-maven-3.6.3-bin.tar.gz

and move apache-maven-3.6.3 to /Users/jv/Desktop/OtherTools/apache-maven-work/apache-maven/apache-maven

Change Environment

export M2_HOME=/Users/jv/Desktop/OtherTools/apache-maven
export M2=$M2_HOME/bin
export PATH=$PATH:$M2

and for Java

export JAVA_HOME=$(/usr/libexec/java_home)

Android File Transfer

Download AndroidFileTransfer.dmg and install from Android File Transfer

Install MacVim

Ensure PATH includes /usr/local/bin

Execute

brew update
brew install vim && brew install macvim
brew unlink macvim && brew link macvim

Got error message

dyld: Library not loaded: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.0.dylib
  Referenced from: /usr/local/bin/vim

Try upgrade

brew update
brew upgrade macvim

Now vim, gvim and vimdiff all work.

Install Sass on MacMac Services