Place the downloaded package files in their respective relative locations (as per their URLs) within the macos_local folder on the Desktop.Provide the admin password when requested. pkg files respectively, inside the macos_local folder: Enter the following commands to create the relative paths for the.Go to the newly created folder by typing “ cd macos_local” and hitting return. ![]() Type “ mkdir macos_local” and hit return to create the root directory of the same name on Desktop.Type “ cd Desktop” on the command line and hit return to enter the Desktop folder.Open Terminal from the Launchpad or Applications list.This server can turn any directory on your Mac into a web server directory. Note: OS X comes preinstalled with Python, which natively includes a SimpleHTTPServer by default. Follow the steps below to achieve the same. Once the relative path has been created, we’ll configure the localhost server to point to the macos_local directory on Desktop and run it. ![]() In this example, we will create a folder named “macos_local” on Desktop, and replicate the directory structure of the two package URLs under the same. pfpkg files) in a certain relative path (directory structure) on your Mac, as indicated by the structure of their respective download URLs. Step 3: Place the downloaded packages (.pkg and. To flush DNS cache, type “ sudo killall -HUP mDNSResponder” in the command line and hit return. Note: Sometimes, you might need to flush the DNS cache for the changes to take effect. Now, whenever any request is generated from your computer to the root domain (), it will point to your localhost. Press control + X (^X), then Y and hit return to save the file and return to Terminal prompt.Append the following line to the end of the file: “ 127.0.0.1 ”.The hosts file is now open in editable mode within the Terminal window. Provide the System Password (if required).Type in the following command: “ sudo nano /etc/hosts”.Launch Terminal on your Mac from Launchpad or Applications list.Step 2: Configure the Mac so that MAS looks for the macOS packages within your computer instead of fetching them from Apple Server.įor this, you need to edit your OS X hosts file and point the root domain of the download URLs (for example, “”) to localhost (127.0.0,1), Follow the steps below to modify the hosts file as required: You may find out the URL of the latest macOS Sierra package files from the comments below or by searching on the Internet for it. Hence the workaround mentioned here will not work, unless you know the URL of the latest package file and create the directory structure on localhost based on the same.īefore downloading the package, ensure that it is the latest version of macOS Sierra released on the MAS. If the latest version of macOS Sierra available on the Mac App Store is a different one, MAS will fetch it from a different location. # Update: Here, we have mentioned the URL of the package file for macOS 10.12. ![]() pfpkg file, which tells Mac App Store where to look for the. When you have downloaded them, you’ll have two packages. Step 1: Download the macOS Sierra package files from their respective URLs. If you’re new here, just follow the steps mentioned in this section to download macOS Sierra directly without the Mac App Store. Only, instead of one package, there are two this time. If you’re already familiar with downloading El Capitan from outside of MAS, this method also follows similar steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |