Posts

Installation of the OracleJDK on macOS

https://docs.oracle.com/en/java/javase/22/install/installation-jdk-macos.html The JDK supports both Intel-based (x64) and Apple Silicon (AArch64) Mac computers. This topic includes the following sections: System Requirements for Installing the JDK on macOS JDK Installation Instruction Notation for macOS Determining the Default JDK Version on macOS Installing the JDK on macOS Uninstalling the JDK on macOS Installation FAQ for macOS System Requirements for Installing the JDK on macOS For supported processors and browsers, see  Oracle JDK Certified Systems Configurations . JDK Installation Instruction Notation for macOS JDK installers now support only one version of any Java feature release. You can't install multiple versions of the same feature release. For example, you can't install  jdk- 22  and  jdk- 22 .0.1  simultaneously. If you attempt to install  jdk- 22 .0.1  after  jdk- 22  is installed, the installer uninstalls  jdk- 22  a...

Install Homebrew

 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Homebrew installs  the stuff you need  that Apple (or your Linux system) didn’t. $ brew install wget Homebrew installs packages to their own directory and then symlinks their files into  /opt/homebrew  (on Apple Silicon). $ cd /opt/homebrew $ find Cellar Cellar/wget/1.16.1 Cellar/wget/1.16.1/bin/wget Cellar/wget/1.16.1/share/man/man1/wget.1 $ ls -l bin bin/wget -> ../Cellar/wget/1.16.1/bin/wget Homebrew won’t install files outside its prefix and you can place a Homebrew installation wherever you like. Trivially create your own Homebrew packages. $ brew create https://foo.com/foo-1.0.tgz Created /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/foo.rb It’s all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates. $ brew edit wget # opens in $EDITOR! Homebrew formulae are simple...

Why does OS X not have a default package manager?

https://superuser.com/questions/330497/why-does-os-x-not-have-a-default-package-manager the motivations of the open source community led naturally to package systems, while the commercial software industry didn't see the benefits and take initiative. Now the commercial software industry is coming around and introducing package systems in the form of app stores.

Install Docker command line on MacOS

  # Add Docker Desktop for Mac (docker) export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin/" in .zprofile source .zprofile