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
Download and Install.
You may need to configure ~.gitconfig
RAR
To install
cd tmp
brew install unrarUnarchive a RAR file
unrar x <filename>Eclipse
Eclipse Shortcuts
11 Shortcuts for Eclipse MacOS
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
- Filtered resources:
- Output folder
Eclipse Memory Problem
Out of memory errors.
cd /Applications/Eclipse.app/Contents/Eclipse/edit eclipse.ini
change -Xmx512m to -Xmx1024m
Restart Eclipse
Maven
Installation
cd /Users/jv/Desktop/OtherTools
mkdir apache-maven-work
cd apache-maven-workChoose 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/KEYSand 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.gzInstallation
tar -zxvf apache-maven-3.6.3-bin.tar.gzand 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:$M2and 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 macvimGot 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/vimTry upgrade
brew update
brew upgrade macvimNow vim, gvim and vimdiff all work.