Also Check: How to Check the Ubuntu version in Unity and in the Terminal
First of all open terminal. Now to see the list of available updates use this command.
softwareupdate -lNow to install all updates from updates list use next command.
sudo softwareupdate -i -aIf you want to install specified updates use next command.
sudo softwareupdate -i Safari-8.0.5Of course, replace the Safari-8.0.5 with the update you want to be installed.
To ignore some updates use next command.
sudo softwareupdate --ignore Safari-8.0.5Do not forget to replace the Safari-8.0.5 with the update you want to be ignored.
Do not forget: How to install Mac OS X Yosemite 10.10 on VMware Player/Workstation
So now you can install updates from the terminal, but there are some more commands for updates. to see the list of all command execute this command in terminal.
softwareupdate -hAnd you can see the list of all available commands for updates.