Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Oops......deleted Safari from OS X.....how do I reinstall

Don't ask how or why but managed to delete Safari from my MBPro and have no internet browser.

I used my daughters laptop to download the .dmg file for Safari, copied to a USB drive and copied to my laptop but it says "not recognized"....so guessing there is a trick.....

Can anyone assist....thanks!

C

MacBook Pro 17, Mac OS X (10.6.6), 2.4GhHz, 6GB RAM

Posted on Feb 19, 2011 5:00 PM

Reply
15 replies

Feb 19, 2011 5:24 PM in response to crhite

crhite wrote:
Don't ask how or why but managed to delete Safari from my MBPro and have no internet browser.


Did you really delete it from the Applications folder or did you just remove it from the Dock. If the latter, open the Applications folder, locate Safari, then drag it back onto the Dock in an area to the left of the separator.

I used my daughters laptop to download the .dmg file for Safari, copied to a USB drive and copied to my laptop but it says "not recognized".


That should work. Did you download a compatible version? Do you see that message when you double-click the ".dmg" file? Is your daughter's laptop a Mac?

Feb 19, 2011 5:32 PM in response to William-Boyd-Jr

Yes, its deleted from the Applications and gone.

Downloaded Safari 5.0.3 from Apple using my daughters MB Pro.

I then transfer that download to a usb thumb drive and then copied onto my MBPro.

When I double click on my MB Pro, it says "The following disk images couldn't be opened".

I saw on another site that someone used Terminal and the curl command to download but the link didn't work for me.

I'm out of town and away from my SL disks so trying to do using another laptop....I agree it should work but copying is not working for me???

C

Feb 19, 2011 5:44 PM in response to crhite

crhite wrote:
Yes, its deleted from the Applications and gone.


That's a problem...

Downloaded Safari 5.0.3 from Apple using my daughters MB Pro.

I then transfer that download to a usb thumb drive and then copied onto my MBPro.

When I double click on my MB Pro, it says "The following disk images couldn't be opened".


This is just a guess, but you might try reformatting that thumb drive to a more Mac-friendly partition map scheme and format.

I saw on another site that someone used Terminal and the curl command to download but the link didn't work for me.


It didn't work for me, either, perhaps because the link to Safari is rather complex.

I'm out of town and away from my SL disks so trying to do using another laptop....I agree it should work but copying is not working for me???


If reformatting the thumb drive doesn't help, will that ".dmg" file mount on the other Mac? Do you have access to a MobileMe iDisk or similar? Could you use file sharing between the two Macs to transfer the file?

Feb 19, 2011 5:49 PM in response to crhite

Downloaded Safari 5.0.3 from Apple using my daughters MB Pro.
I then transfer that download to a usb thumb drive and then copied onto my MBPro.


I don't know why that wouldn't have worked, but why not try the same procedure for FireFox? You can get the .dmg here:
http://www.mozilla.com/en-US/firefox

If that works, and you are up and running with FireFox, you could then go to the [Safari download site|http://www.apple.com/safari/download] and try downloading Safari directly.

Feb 19, 2011 5:56 PM in response to jsd2

I actually tried that as well but the .dmg files don't appear to act like static .exe files (in Windows environment) that are easily copied.....both with Safari and Firefox when the .dmg is done downloading, it immediately starts to mount and install.

there's got to be a way to do it from Terminal but I don't know the full commands....

C

Feb 19, 2011 6:39 PM in response to crhite

See below for the terminal command to download Safari with curl.

You can reinstall Safari from the optional instals on your original system disk. But if you've upgraded the OS the version of Safari will be too old.

Copying the file from another Mac should work though-- yoiu can cancel the auto install, eject the disk image then copy the disk image file (.DMG) from your downloads folder to your USB drive.

This terminal command will download Safari to your home folder:

curl -o Safari.dmg -R http://appldnld.apple.com/Safari5/041-0020.20101201.RegPt/Safari5.0.3SnowLeopard.dmg

Feb 19, 2011 6:44 PM in response to crhite

crhite wrote:
Downloaded Safari 5.0.3 from Apple using my daughters MB Pro.



Why not with bluetooth or firewire cable copy Safari.app from her computer to yours since you seem to have access.

Of course always a good idea to have more then one browser on your machine, encase one stops working no matter what the cause.

How about a NewsReader on your Mac? you can also download from there if need be.

Feb 19, 2011 9:14 PM in response to William-Boyd-Jr

Do you mind revealing how you found that URL?


It was a bit tricky: Start the download normally in Safari, then in the downloads window, right-click the file and do "copy address."

You can also view the URL in the activity viewer: Cmd-Option-A.

Coming up with a script using curl to download a large set of files from Apple might be useful, for me at least.

Feb 20, 2011 2:36 PM in response to Pete Corelio

Pete Corelio wrote:
It was a bit tricky: Start the download normally in Safari, then in the downloads window, right-click the file and do "copy address."

You can also view the URL in the activity viewer: Cmd-Option-A.


Thanks for the info.

Coming up with a script using curl to download a large set of files from Apple might be useful, for me at least.


It should be straightforward to write a bash script to read URLs from a file and feed them into curl. Is that what you're looking for?

Feb 20, 2011 8:37 PM in response to William-Boyd-Jr

t should be straightforward to write a bash script to read URLs from a file and feed them into curl. Is that what you're looking for?


Yes exactly, but I wouldn't want to build the list of URLs manually so might not be worth the time. I have access to a Mac Server with software update service so I suppose I can copy the set of updates from it.

Oops......deleted Safari from OS X.....how do I reinstall

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.