User Tools

Site Tools


tech:macos:start

This is an old revision of the document!


MacOS

Homebrew

Development on MacOS

C/C++

Using Homebrew:

export HOMEBREW_NO_ANALYTICS=1
brew update
brew upgrade
brew info gcc
brew install gcc
brew cleanup

Alternative: go to the Apple App Store and install Xcode (Apple's compiler and development tools).
Then, in a terminal:

xcode-select --install
clang -o program program.c
clang++ -o program program.cc
g++ -std=c++11 -o program program.cpp
g++-7 -std=c++11 -o program program.cpp

Java

See https://github.com/AdoptOpenJDK/homebrew-openjdk where you can go and grab prebuilt openjdk binaries for macOS!

It’s just a case of using:

brew tap AdoptOpenJDK/openjdk
brew install <version>

Where version is:

  • adoptopenjdk-openjdk8
  • adoptopenjdk-openjdk9
  • adoptopenjdk-openjdk10

JMeter

JMeter’s configuration files are located in the following directories:

Item Standard
Plugins folder JMETER_HOME/lib/ext Library folder for plugin dependencies
Configuration folder JMETER_HOME/bin
Item Homebrew
Plugins folder CELLAR_HOME/jmeter/3.1/libexec/lib/ext Library folder for plugin dependencies
CELLAR_HOME/jmeter/3.1/libexec/lib
Configuration folder CELLAR_HOME/jmeter/3.1/libexec/bin

With the following constants:

JMETER_HOME: JMeter’s home, usually like /home/ubuntu/jmeter-5.x
CELLAR_HOME: should be /usr/local/Cellar

tech/macos/start.1560624010.txt.gz · Last modified: 2019/06/15 13:40 by rk4n3