/homebrew-virtualbox

🍻 Homebrew Tap for the Oracle VirtualBox

Primary LanguageRubyApache License 2.0Apache-2.0

Homebrew: VirtualBox

Homebrew Tap for VirtualBox

Table of Contents

Requirements

  • Homebrew
  • macOS Mojave or macOS Catalina

Usage

Install this repository using the brew tap command:

brew tap operatehappy/homebrew-virtualbox

This Tap provides an exhaustive range of the following applications:

  • VirtualBox >= 6.0.0_BETA1 and <= 6.1.8

Installing a Cask

Once the Tap is installed, you can use the brew cask install commands to install a Cask:

brew cask install product@X.Y.Z

For example, to install VirtualBox 6.1.0 you would use the following:

brew cask install virtualbox@6.1.0

Contributing

The operatehappy/homebrew-tools repository includes tools that assist with the generation of Casks for this and other @operatehappy-maintained Taps.

The generate-casks.sh and verify-casks.sh scripts expect the operatehappy/homebrew-tools repository to be available on the same level as this repository.

Adding or Updating Casks

In the following example, the steps reference a (currently unreleased) 6.0.50 version of VirtualBox and a previously installed version of VirtualBox 6.0.49.

Your contribution may be for a different product and version, but the steps remain alike:

  • Edit the VIRTUALBOX_60X variable in VERSIONS.sh and add an entry of "6.0.50"

  • Generate a Cask file for this version, using generate-casks.sh virtualbox

  • The generate-casks.sh helper will parse the VERSION.sh file and retrieve the checksum for VirtualBox 6.0.50

  • Use verify-casks.sh virtualbox to verify installability of the newly generated VirtualBox Cask

    • This helper will carry out the following steps:

      • Copy the generated Cask to $(brew --repo)/Library/Taps/operatehappy/homebrew-virtualbox/Casks/

      • Uninstalls the previously installed version of VirtualBox using brew cask uninstall virtualbox@6.0.49

      • Installs the new version using brew cask install virtualbox@6.0.50

      • Lints the Cask file using brew cask style virtualbox@6.0.50.

      • Uninstall the new version using brew cask uninstall virtualbox@6.0.50

Notes

  • An exhaustive list of versions, is available via VERSIONS.sh

  • Software Virtualization is supported in VirtualBox 6.0.x only, it has been discontinued in 6.1.x

Author Information

This tap is maintained by the contributors listed on GitHub.

Development of this module was sponsored by Operate Happy.

Additionally, a special thanks goes out to the contributors of Brew's homebrew-core formulae:

License

Licensed under the Apache License, Version 2.0 (the "License").

You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, without WARRANTIES or conditions of any kind, either express or implied.

See the License for the specific language governing permissions and limitations under the License.