Homebrew Tap for VirtualBox
- Homebrew
- macOS Mojave or macOS Catalina
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.12
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
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.
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 inVERSIONS.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 theVERSION.sh
file and retrieve the checksum for VirtualBox6.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
-
-
-
An exhaustive list of versions, is available via VERSIONS.sh
-
Software Virtualization is supported in VirtualBox
6.0.x
only, it has been discontinued in6.1.x
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:
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.