DataScience Workbook / 03. Setting Up Computing Machine / 3. Various Methods of Software Installation
Various Methods of Installation
Depending on how the software is distributed and how popular it is different installation methods are suitable. This guidebook will teach you how to install applications to MacBook Pro that are available in the Apple store or downloaded directly from the distributor’s website from the Internet. You will also learn how to install various packages using commands in the terminal. For those who are part of the academic community, in particular Iowa State University, we will also show you how to take advantage of an academic license for software that usually requires a paid license.
Installation via App Store
The App Store is an in-built store platform available on your MacBook Pro that allows you to browse and install the software. The App Store shortcut is usually visible on your Dock (by default, it is a horizontal menu with icons of pre-installed apps). You can also easily use Finder or Launchpad to find the App Store on your system. Once you open the app, a search box is located in the upper left corner. After entering your query key, the matching applications will appear. Many of them are free. Then, click the get button and then the install button. The newly installed program will appear in the Applications folder, easily accessible via the menu on the left side of the Finder. The latter is a graphical interface for browsing the disk contents.
Installation with Dialog Box
Some programs are available for download on the distributor’s website as an installation package. This is usually a single file with the extension .dmg (or .pkg, .zip.download, etc.), which can be run by double-clicking after downloading. Then a graphical interface for the installation appears. The user is asked to accept the license terms through a dialog box, and the installation process runs almost automatically. Often at the end, the user is asked to manually drag the new program into the Applications folder, which is a good thing to do for order and easy access.
Installation using Terminal
The vast majority of packages and development modules are available for installation using the command line in the terminal. Stable versions of various programs can be automatically downloaded and installed using helper programs such as
Once you get familiar with a coding terminal, you can easily install development packages. Many research groups release their software on code hosting platforms such as GitHub or BitBucket. Such repositories can be downloaded and versioned using Git.