Updating scgmini and boxes » History » Version 6

« Previous - Version 6/12 (diff) - Next » - Current version
pospelov, 23 Feb 2018 15:11

Updating scgmini and boxes

This explains how to update Macmini server and boxes.

Updating Macmini

  • ssh scg@scgmini
  • Install what apple wants (for Applestore password ask Gennady)
  • brew update
  • brew upgrade `brew outdated`
  • brew cleanup

Updating Yosemite box

Our current yosemite-dev box is /Users/scg/deployment/vagrant/orig_boxes/osx-yosemite-dev-2.0.box. This box is already imported into Vagrant. Our task: upgrade packages inside active box and make it a new default box.

  • ssh scg@scgmini
  • cd /Users/scg/deployment/vagrant/projects/yosemite-dev
  • vagrant up --no-provision
  • vagrant ssh
  • Now you are inside the box

brew update && brew upgrade `brew outdated`
brew install eigen # (if some new dependency has appeared)
brew cleanup -n; brew cleanup

  • Now you are back in macmini, Let's package new box, remove old box, add new box into vagrant

vagrant package --output osx-yosemite-dev-3.0.box
vagrant destroy
mv osx-yosemite-dev-3.0.box ~/deployment/vagrant/orig_boxes/.
vagrant box remove yosemite-dev
vagrant box add yosemite-dev /Users/scg/deployment/vagrant/orig_boxes/osx-yosemite-dev-3.0.box


  • After I updated brew (brew update && brew upgrade `brew outdated`) in the box, our cmake was not able to find boost-python anymore

brew doctor # to see what's wrong
brew link boost-python # to repair broken link
don't forget brew-cleanup to get rid from previous packages


  • Installing clang
    sudo brew tap homebrew/versions
    sudo brew link xz
    sudo brew install llvm37