Previous 1 2 Next 15 Replies Latest reply: Feb 20, 2011 8:37 PM by Pete Corelio
crhite Level 1 Level 1 (0 points)
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
  • William Boyd, Jr. Level 6 Level 6 (10,515 points)
    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?
  • crhite Level 1 Level 1 (0 points)
    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
  • William Boyd, Jr. Level 6 Level 6 (10,515 points)
    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?
  • jsd2 Level 5 Level 5 (6,200 points)
    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.
  • crhite Level 1 Level 1 (0 points)
    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
  • jsd2 Level 5 Level 5 (6,200 points)
    If you are downloading the .dmgs with Safari, go to Safari>Preferences>General, and be sure the box for "Open 'safe' files after downloading" is not checked.
  • Malcolm Rayfield Level 7 Level 7 (28,070 points)
    Use Pacifist
    <http://www.charlessoft.com/>
    to get Safari from your Snow Leopard install DVD, then use Software Update to get it to the latest version.
  • crhite Level 1 Level 1 (0 points)
    Thanks.....I did this and copied it over.....it says that disk image couldn't be opened.....may just have to wait until I get back from vacation and have access to my master install disks....
  • Pete Corelio Level 1 Level 1 (105 points)
    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
  • leroydouglas Level 6 Level 6 (14,765 points)
    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.
  • crhite Level 1 Level 1 (0 points)
    Pete,

    If you were in Phoenix, I'd buy you a cold one.....that terminal code was the money ticket....downloaded, installed and running Safari.

    Appreciate everyone's input.....not sure why, but copying, emailing, anything that bloody dmg file onto my machine, it just wouldn't mount!

    C
  • William Boyd, Jr. Level 6 Level 6 (10,515 points)
    Pete Corelio wrote:
    curl -o Safari.dmg -R http://appldnld.apple.com/Safari5/041-0020.20101201.RegPt/Safari5.0.3SnowLeopard.dmg


    Do you mind revealing how you found that URL? The only one I could find was about twice as long and wouldn't work with curl.
  • Pete Corelio Level 1 Level 1 (105 points)
    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.
  • William Boyd, Jr. Level 6 Level 6 (10,515 points)
    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?
Previous 1 2 Next