Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 6, 2013, 01:34 PM   #1
jdechko
macrumors 68040
 
Join Date: Jul 2004
getmacapps.com - Automatically download and install multiple Mac apps

Just read about this cool service over at Lifehacker. As a user of both Macs and PCs, I've always wished for a service like ninite that was available for the Mac.

Ninite in a nutshell:

You visit the website, check off all of the software (from a very long list) that you want to install and you download a custom installer. The installer is basically a script program that goes to each website, fetches the requested installers and silently installs them (without any of the crap add-ons). Very fast and very easy.

Getmacapps.com is essentially the same thing, though currently limited in the number of apps offered. It is different from ninite in that it generates a terminal command in the form of:

Code:
curl -s http://getmacapps.com/raw/h2odi6yy9x | sh
There's also a link to the shell script that it runs on your machine. The previous command links to:

Code:
#!/bin/bash

mkdir ~/getmacapps_temp
cd ~/getmacapps_temp

# Installing Chrome
curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
hdiutil mount googlechrome.dmg
cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications
hdiutil unmount "/Volumes/Google Chrome"
rm googlechrome.dmg

# Installing Handbrake
curl -L -o HandBrake.dmg "http://sourceforge.net/projects/handbrake/files/0.9.9/HandBrake-0.9.9-MacOSX.6_GUI_x86_64.dmg/download"
hdiutil mount HandBrake.dmg -mountpoint /Volumes/HandBrake
cp -R "/Volumes/HandBrake/HandBrake.app" /Applications
hdiutil unmount "/Volumes/HandBrake"
rm HandBrake.dmg

# Installing VLC Player
curl -L -o vlc.dmg "http://get.videolan.org/vlc/2.0.6/macosx/vlc-2.0.6.dmg"
hdiutil mount vlc.dmg -mountpoint /Volumes/vlc
cp -R "/Volumes/vlc/VLC.app" /Applications
hdiutil unmount "/Volumes/vlc"
rm vlc.dmg

# Installing Skype
curl -L -O "http://www.skype.com/go/getskype-macosx.dmg"
hdiutil mount getskype-macosx.dmg
cp -R "/Volumes/Skype/Skype.app" /Applications
hdiutil unmount "/Volumes/Skype"
rm getskype-macosx.dmg

# Installing Dropbox
curl -L -o Dropbox.dmg "https://www.dropbox.com/download?plat=mac"
hdiutil mount Dropbox.dmg
cp -R "/Volumes/Dropbox Installer/Dropbox.app" /Applications
hdiutil unmount "/Volumes/Dropbox Installer"
rm Dropbox.dmg

# Installing caffeine
curl -L -o Caffeine.zip "http://download.lightheadsw.com/download.php?software=caffeine"
unzip Caffeine.zip
mv Caffeine.app /Applications
rm Caffeine.zip

# Installing GitHub
curl -L -o mac_GitHub.zip "https://central.github.com/mac/latest"
unzip mac_GitHub.zip
mv GitHub.app /Applications
rm mac_GitHub.zip

# Installing flux
curl -L -O "https://justgetflux.com/mac/Flux.zip"
unzip Flux.zip
mv Flux.app /Applications
rm Flux.zip

# Installing Coconut Battery
curl -L -o coconutBattery.zip "http://www.coconut-flavour.com/downloads/coconutBattery_2.8.zip"
unzip coconutBattery.zip
mv "coconutBattery.app" /Applications
rm coconutBattery.zip

# Installing Notational Velocity
curl -L -O "http://notational.net/NotationalVelocity.zip"
unzip NotationalVelocity.zip
mv "Notational Velocity.app" /Applications
rm NotationalVelocity.zip

# Installing Skitch
curl -L -o Skitch.zip "http://evernote.com/download/get.php?file=SkitchMac"
unzip Skitch.zip
mv "Skitch.app" /Applications
rm Skitch.zip
As you can see, it downloads dmg/zip files directly from the source website, so you shouldn't have any issues with malware. And you would still be responsible for your own registration codes for the paid apps. (Included this so it doesn't get flagged for piracy/cracked software)

I'm sure that other apps will eventually be added, but you could take the shell script output and add your own apps and create your own custom installer.

Definitely going to bookmark this for later.
jdechko is offline   0 Reply With Quote
Old Jun 6, 2013, 02:47 PM   #2
Volkan1984
macrumors member
 
Join Date: Feb 2013
Quote:
Originally Posted by jdechko View Post
Just read about this cool service over at Lifehacker. As a user of both Macs and PCs, I've always wished for a service like ninite that was available for the Mac.

Ninite in a nutshell:

You visit the website, check off all of the software (from a very long list) that you want to install and you download a custom installer. The installer is basically a script program that goes to each website, fetches the requested installers and silently installs them (without any of the crap add-ons). Very fast and very easy.

Getmacapps.com is essentially the same thing, though currently limited in the number of apps offered. It is different from ninite in that it generates a terminal command in the form of:

Code:
curl -s http://getmacapps.com/raw/h2odi6yy9x | sh
There's also a link to the shell script that it runs on your machine. The previous command links to:

Code:
#!/bin/bash

mkdir ~/getmacapps_temp
cd ~/getmacapps_temp

# Installing Chrome
curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg"
hdiutil mount googlechrome.dmg
cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications
hdiutil unmount "/Volumes/Google Chrome"
rm googlechrome.dmg

# Installing Handbrake
curl -L -o HandBrake.dmg "http://sourceforge.net/projects/handbrake/files/0.9.9/HandBrake-0.9.9-MacOSX.6_GUI_x86_64.dmg/download"
hdiutil mount HandBrake.dmg -mountpoint /Volumes/HandBrake
cp -R "/Volumes/HandBrake/HandBrake.app" /Applications
hdiutil unmount "/Volumes/HandBrake"
rm HandBrake.dmg

# Installing VLC Player
curl -L -o vlc.dmg "http://get.videolan.org/vlc/2.0.6/macosx/vlc-2.0.6.dmg"
hdiutil mount vlc.dmg -mountpoint /Volumes/vlc
cp -R "/Volumes/vlc/VLC.app" /Applications
hdiutil unmount "/Volumes/vlc"
rm vlc.dmg

# Installing Skype
curl -L -O "http://www.skype.com/go/getskype-macosx.dmg"
hdiutil mount getskype-macosx.dmg
cp -R "/Volumes/Skype/Skype.app" /Applications
hdiutil unmount "/Volumes/Skype"
rm getskype-macosx.dmg

# Installing Dropbox
curl -L -o Dropbox.dmg "https://www.dropbox.com/download?plat=mac"
hdiutil mount Dropbox.dmg
cp -R "/Volumes/Dropbox Installer/Dropbox.app" /Applications
hdiutil unmount "/Volumes/Dropbox Installer"
rm Dropbox.dmg

# Installing caffeine
curl -L -o Caffeine.zip "http://download.lightheadsw.com/download.php?software=caffeine"
unzip Caffeine.zip
mv Caffeine.app /Applications
rm Caffeine.zip

# Installing GitHub
curl -L -o mac_GitHub.zip "https://central.github.com/mac/latest"
unzip mac_GitHub.zip
mv GitHub.app /Applications
rm mac_GitHub.zip

# Installing flux
curl -L -O "https://justgetflux.com/mac/Flux.zip"
unzip Flux.zip
mv Flux.app /Applications
rm Flux.zip

# Installing Coconut Battery
curl -L -o coconutBattery.zip "http://www.coconut-flavour.com/downloads/coconutBattery_2.8.zip"
unzip coconutBattery.zip
mv "coconutBattery.app" /Applications
rm coconutBattery.zip

# Installing Notational Velocity
curl -L -O "http://notational.net/NotationalVelocity.zip"
unzip NotationalVelocity.zip
mv "Notational Velocity.app" /Applications
rm NotationalVelocity.zip

# Installing Skitch
curl -L -o Skitch.zip "http://evernote.com/download/get.php?file=SkitchMac"
unzip Skitch.zip
mv "Skitch.app" /Applications
rm Skitch.zip
As you can see, it downloads dmg/zip files directly from the source website, so you shouldn't have any issues with malware. And you would still be responsible for your own registration codes for the paid apps. (Included this so it doesn't get flagged for piracy/cracked software)

I'm sure that other apps will eventually be added, but you could take the shell script output and add your own apps and create your own custom installer.

Definitely going to bookmark this for later.
OK I can see the handiness of this. But, what if... the website gets hacked and all sorts of malicious code/ apps are being placed on the website? Running the terminal scripts is easy but also gives all the access to your computer right? Or do you first have to give in your administrator password for installation?
Volkan1984 is offline   0 Reply With Quote
Old Jun 6, 2013, 03:29 PM   #3
jdechko
Thread Starter
macrumors 68040
 
Join Date: Jul 2004
Quote:
Originally Posted by Volkan1984 View Post
OK I can see the handiness of this. But, what if... the website gets hacked and all sorts of malicious code/ apps are being placed on the website? Running the terminal scripts is easy but also gives all the access to your computer right? Or do you first have to give in your administrator password for installation?
Well 2 things I can think of.

1) Apps are being downloaded from the developer's site directly. Dropbox, for instance, is being downloaded straight from dropbox.com. Which leads me to...

2) The actual shell script is viewable. So you, as a user, can verify that nothing shady is going on behind the scenes. In short, if the dropbox.app were hacked, downloading it through this script vs downloading it directly would be no different.

You aren't giving the script admin access, so the script couldn't, say, format your hard drive, as the script isn't given root access.

All in all, it seems to be a pretty simple script, that just happens to be automatically generated from a website. Users who are likely to use a service like this would tend to be more power users capable of verifying the script before running it, understand what is going on, and understanding the consequences.
jdechko is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iFontz - Download and Install Custom Fonts for Use in a Variety of Apps charstacky iPhone and iPod touch Apps 0 Apr 14, 2014 02:29 AM
Can not install/download apps from app store Tantagda Mac Applications and Mac App Store 1 Jan 23, 2014 04:25 PM
Unable to update App Stores and unable download and install apps Firafire iPhone Tips, Help and Troubleshooting 0 Aug 11, 2013 10:03 PM
Resolved: Download once, install multiple times? KlytusLord iOS 6 3 Sep 20, 2012 11:09 AM

Forum Jump

All times are GMT -5. The time now is 11:04 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC