[vbox-dev] Automating VirtualBox installation for Macs

Andrew Pennebaker apennebaker at 42six.com
Tue Aug 20 19:27:18 GMT 2013


DMGs/PKGs are wonderful! I'm glad that VirtualBox offers them. For most
users, a DMG containing a PKG is perfect. For more complex systems in which
VirtualBox is but one piece of the puzzle (Vagrant, Docker), the lack of a
Homebrew formula means hours wasted setting up a development environment.

Specifying a certain version of VirtualBox, downloading installation
materials, extracting files, installing the software, and checking if a
certain version of VirtualBox is installed--these kinds of things are best
done with a package manager recipe. That's why we see not just a .deb for
Debian/Ubuntu, but a virtualbox package in the official Ubuntu Package
repo<http://packages.ubuntu.com/search?keywords=virtualbox&searchon=names&suite=raring&section=all>.
And not just a .msi for Windows, but a VirtualBox package in the Chocolatey
repo <http://chocolatey.org/packages?q=virtualbox>.

Again, one-click installers are fantastic! It's just that a little more
work is required for sysadmins when configuring systems out of hundreds of
packages, on hundreds of computers at once.

Would someone be interested in writing a Homebrew <http://brew.sh/> formula
for Mac users? I can't wait to "brew install virtualbox" like in Ubuntu.


On Tue, Aug 20, 2013 at 2:15 PM, Klaus Espenlaub <klaus.espenlaub at oracle.com
> wrote:

> Hi Andrew,
>
> On 16.08.2013 18:36, Andrew Pennebaker wrote:
> > I love how Ubuntu users can install VirtualBox with "apt-get install
> > virtualbox", and Windows users can install VirtualBox with "chocolatey
> > install virtualbox"!
> >
> > Could we complete the trifecta with a Homebrew <http://brew.sh/> formula
> > for Mac users? They'll be able to "brew install virtualbox", and that
> > would make lots of people happy!
>
> I don't get it... what's stopping you from doing a fully automated
> install of what we ship in the .dmg package? Mounting a dmg is not
> rocket science (thought that Mac OS users know this, using hdiutil).
>
> "installer -pkg /path/to/mounted/dmg/VirtualBox.pkg" does all the work,
> and one can unmount the dmg afterwards.
>
> There's nothing missing from what I can tell...
>
> Klaus
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20130820/58811c65/attachment.html>


More information about the vbox-dev mailing list