Forums | MacLife
You are not logged in.
#1 2003-01-28 3:37 pm
- MacBoy4139
- BHA

- From: Big Hair Anonymous
- Registered: 2000-10-31
- Posts: 10911
Remote installtion of Mac OS X Packages!!!
From MacFixIt on 1/28/03:
Installing packages without restarting; remotely
Rob Buckley suggests a Terminal command for using Mac OS X's built-in SSH capabilities to remotely install software packages, and also a tip for avoiding a restart for installers that would normally require you do so.
"I discovered this while ssh-ing into my home iMac from work: if you want to install a software package that would normally require a restart after installation and what to avoid the restart, use the command line installer instead and you won't have to. The command is:
sudo installer -pkg packagename.pkg -target /
(Note: The above command assumes you want to install onto the boot partition and the package you want to install is in your current working directory.)
"You can combine that with command line tool with the 'hdiutil mount' and 'cd /Volumes/...' command to mount .dmg disk images and install their .pkg files remotely from another machine, which can save a lot of time.
I thought it was worth posting!!! Way cool!
Dive in the Pool!
I'm still trying to figure out if you're a girl posing as Macboy4139, or a boy posing as a girl, and a bit confused sexually. <shrug> laughinol
Offline
#2 2003-01-28 4:34 pm
- Fracai
- Evacipate

- From: St. Elsewhere
- Registered: 2000-05-25
- Posts: 2836
Re: Remote installtion of Mac OS X Packages!!!
so if I wanted to upgrade to 10.2.4 when it comes out I can just ssh localhost run the installer and get .4 without rebooting? no
this just means you aren't forced to reboot now. same thing as force quitting the package installer gui.
haha
I think it's funny that I'm responding to a quoted post
nifty trick though.
Offline
#3 2003-01-28 5:46 pm
Re: Remote installtion of Mac OS X Packages!!!
run softwareupdate in the terminal for a list of the available updates from apple. You can then run softwareupdate <item> to download and install it. It basically works the same as the GUI software update, only from the command line.
Offline
#4 2003-01-28 6:53 pm
- MacBoy4139
- BHA

- From: Big Hair Anonymous
- Registered: 2000-10-31
- Posts: 10911
Re: Remote installtion of Mac OS X Packages!!!
This tip is mainly useful if you are doing numerous updates (say from 10.2 to 10.2.4, without doing the combo updater, and not having to reboot every time).
Also, it's handy if you are installing application packages that don't require a restart over the network without buying any additional software such as Apple Remote Desktop.
Dive in the Pool!
I'm still trying to figure out if you're a girl posing as Macboy4139, or a boy posing as a girl, and a bit confused sexually. <shrug> laughinol
Offline

