Install Yosemite From Terminal

/ Comments off

Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions. Learn more For more information about the createinstallmedia command and the arguments that you can use with it, make sure the macOS installer is in your Applications folder, then enter the appropriate path in Terminal. Mac users who prefer to have a more traditional Unix toolkit accessible to them through the Terminal may wish to install the optional Command Line Tools subsection of the Xcode IDE. From MacOS High Sierra, Sierra, OS X El Capitan, Yosemite, Mavericks onward, this is now easily possible directly and without installing the entire Xcode package.

In response to EDLIU. If you prefer to make a bootable dvd, you can do it this way: After downloading the full Yosemite installer app from the Mac App Store, run these 14 commands in Terminal to create a Yosemite.iso file and then burn it to a dual layer DVD with Disk Utility. You may then boot up from it by holding the option key down and then.

  1. Step 3: Create the Bootable Yosemite USB Installer with Terminal. Now that your USB flash drive is ready, we can complete the process of creating a bootable Yosemite USB installer with a simple Terminal command. Open Terminal from /Applications/Utilities and then enter the following command: Press the Return key on your keyboard to execute the.
  2. With this video, I want to show you how we can create an installation USB with mac os Yosemite 10.10 With TerminalDownload link Yosemite Dmghttps://support.

Prerequisites

Hypervisor.framework / hyperkit

The default backend on macOS is hyperkit, wrapping Apple’s Hypervisor.framework. You need macOS Yosemite, version 10.10.3 or later installed on a 2010 or newer Mac.

VirtualBox

Multipass also supports using VirtualBox as a virtualization provider. You can download the latest version and check the requirements on the VirtualBox website.

At the time of writing, Multipass instances running with VirtualBox on MacOS won’t get assigned IP addresses.

If you’d like to use VirtualBox, run the following in the terminal after installing Multipass:

Installation

To install Multipass on macOS, you have two options: the installer package or brew:

Installer

Download the latest installer from our GitHub releases page - it’s the .pkg package.

If you want Tab completion on the command line, install bash-completion from brew first.

Activate the downloaded installer and it will guide you through the steps necessary. You will need an account with Administrator privileges to complete the installation.

There’s a script to uninstall:

Brew

Have a look at brew.sh on instructions to install Brew itself. Then, it’s a simple:

To uninstall:

First run

Once installed, open the Terminal app and you can use multipass launch to create your first instance.

Yosemite

With multipass version you can check which version you have running:

Have a look at Working with instances to quickly get off the ground!

Install Yosemite From Terminal Space

Last updated a month ago.

This tutorial is for intermediate users who want to install and useWine on their computer running macOS.You should already know the basics of how to use the command line.If you don't, read this tutorial first.

What is Wine?

Wine is awesome.No, I'm not talking about the kind you drink,I mean the kind that lets you run Windows apps without theWindows operating system.It's kind of Zen, when you think about it.Oh, and did I mention it's completely free, legal, and open source?

Install Yosemite From Terminal 3

Nowadays, Windows and Mac play nicely together.You can install Windows and Mac side by side and switch between them usingBoot Camp, but that requiresa reboot every time, and you can only use one operating system at a time.You can also use a tool likeParallels Desktop orVMware Fusionto virtualize Windows and run it together with Mac,but virtualization is slow and it takes up a lot of memory.(Your physical computer creates an imaginary 'virtual' computer within itself,and runs Windows on that. That takes a lot of resources!)On top of that, all of these solutions require you to own a legal copyof Windows, which isn't cheap!

Wine is different. When any program runs, it requests resourceslike memory and disk space from the operating system.All that Wine does is make sure that those requests get answered so thatthe program can run correctly. As far as the program knows, everythingis going smoothly because it has everything it needs.It never even realizes that it's not running on Windows!It's simpler than emulating a whole new computer, so it's faster.Since it's just translating requests, you don't need a copy ofthe actual Windows operating system. Plus, Wine is open source,which means people are continually improving it and adding new features.And you can't beat the price!

Will My Program Work With Wine?

A lot of people discover Wine because they have one specific Windows programthat they need to use, and it's the last thing preventing them from switchingto a different operating system. So, the big question is, will it work?The short answer is: probably, but it's worth checking.

The Wine project maintains a database called theAppDB that hasuser reviews of how well specific Windows programs work under Wine.Search for your program and find out! (If it's not listed, that doesn'tnecessarily mean that it won't work — only that you're apparently tryingto use a very obscure program!)

Requirements

To install Wine on your Mac, you will need the following:

  • macOS 10.10 (Yosemite) or above (but 10.15 Catalina is not recommended)
  • Access to an Admin account, with password
  • An internet connection

To check what version of macOS you're running,click on the Apple logo on the far left side of the toolbar,select 'About This Mac', and look at your versionnumber under the big 'macOS' or 'OS X'. If it's 10.10 or higher, you're all set.

Note that Wine does not work well with macOS 10.15 Catalina. Apple removed 32-bit supportin Catalina, which is a critical part of the macOS system that almost all of Wine relies on.You can run 64-bit applications through Wine on Catalina, but very few applications for Windowsare 64-bit. If you need to use Wine, you should not upgrade to Catalina.

You need an Admin account on your Mac because only Admins can install software.You will need to be logged in to this Admin account during the installation.If there is only one account on your computer, it is an Admin account.The account must have a password: if the account has no password,the sudo utility will fail. To set or change your password,go to the Accounts section in System Preferences.

Part 1: Install Homebrew

Homebrew is a package manager that makes installingopen source programs much easier. In particular, trying to installa large program like Wine without the help of a package manager would betremendously difficult.Fortunately, Homebrew itself is simple to install: just open up theTerminal and run this command:

The Terminal will tell you what it's about to do, and ask youif you want to proceed: press Enter to do so.The Terminal may then ask for a password: this is the passwordto the Admin account on your computer. As a security measure,the Terminal does not display anything as you type, not evenasterisks (*). Type your password anyway, and press Enter. If you get somekind of error, it might be because the Admin account doesn't have apassword set. Setting a password is required.

Installing Homebrew should only take a few seconds or minutes(depending on the speed of your internet connection). When it's done,the Terminal will say that the installation was successful, and ask you torun brew doctor. Do as it suggests:

This will make Homebrew inspect your system and make sure that everythingis set up correctly. If the Terminal informs you of any issues, you'll needto fix them yourself, and then run brew doctor again to verify that youfixed them correctly. When everything is set up correctly, you'll see themessage Your system is ready to brew, and you can move on to the next partof the tutorial.

Note: If Homebrew tells you that you need to agree to the Xcode license,you can do that by running:

The Terminal window will fill up with the Xcode license:read it, type agree and hit enter to agree to the license.

Part 2: Install Wine Using Homebrew

Now we get to actually install Wine! We'll let Homebrew do all the work,all you have to do is tell it what you want with this command:

Let's break down this command into parts. brew refers to Homebrew, whichyou just installed. cask refers toHomebrew Cask,an extension to Homebrew that is used to install GUI application on yourcomputer. (GUI stands for 'Graphical User Interface'. A GUI application isan app that you can see running, as opposed to invisibly runningin the background.) install refers to the fact that you're askingHomebrew Cask to install something on your computer, and wine-stableis the name of the thing that you want it to install. Wine has a 'stable' versionand a 'devel' version: you probably want stable, since it should have fewer bugs.

When you run this command, Homebrew will start automatically downloadingand installing software onto your computer. It might start by installingsoftware that has a totally different name: that's fine! Like most complexapplications, Wine doesn't work alone -- it relies on several other pieces of software torun correctly. These are called 'dependencies', and Homebrew is smart enoughto install them for you automatically when necessary.

Install Yosemite From Terminal

While it's working, Homebrew will display messages and progress bars on the Terminal to let you know what it's doing. When it's done installing Wine, it will stop displaying messages and wait for you to type in a new command. When that happens, move on to the next step!

Part 3: Install Windows Programs Using Wine

To install a Windows program, first download the installer file:it should end with .exe. Remember the location you put it, and open upthe Terminal again. cd to the location, and use ls to make sure you cansee the installer file. (Note: if you do not know what cd and ls are,you should learn how to use the command linebefore using Wine.)

Once you are in the correct directory, run the installer through Wineby running the following command in the Terminal:

Where $INSTALLER is the name of the installer file. For example,if the installer file is named setup.exe, you would run:

A window will pop up with a regular graphical Windows installer.Click through it, and you're done!

Part 4: Run Windows Programs Using Wine

Open up the Terminal and run this to get to your Program Files folder:

Run ls to see what programs you have installed. Pick a program,and enter its directory using cd. (If the folder has a space in it,you must type a before the space. For example, Program Files.If you're having problems, try using tab autocomplete.)There should be a file that ends in .exe: this is the program file.Type this into Terminal:

Where $PROGRAM is the name of the .exe file. For example, if the programfile is named STARCRAFT.EXE, you would run:

The program will pop up in a new window, ready to use!Enjoy using Windows on your Mac, freely and legally!

Making a Dock Icon

Many people want to be able to run Windows programs the same waythey run other programs on the Mac: by clicking an icon in the Dock.Wine isn't specifically designed to support this, but with a little trickery,we can make it do what we want.

Install Yosemite From Terminal 2

Note: Wine prints out error messages in the Terminal when something goes wrong.By launching Windows programs via a Dock icon, you are sidestepping theTerminal, which means that if something does go wrong and Wine has to quit,it will not be able to tell you what the problem was. The first stepto solving a problem is knowing what it is, so without running Winefrom the Terminal, you won't be able to fix it, and neither will anyone else.Running from the Dock is fine as long as your program seems to be workingcorrectly, but if it crashes, the first thing you should try is running itfrom the Terminal instead: it won't prevent the program from crashing,but it will give you some clues on how to fix the problem.

In order to launch a Windows program via the Dock, we're going towrite an AppleScriptthat launches the program for us, and then putthat AppleScript in the Dock. Essentially, we're writing a program ourselves!Don't worry, it's easy enough. There is a program on your computerthat is designed for helping you write AppleScripts:it's called 'Script Editor', and you can find it in the/Applications/Utilities directory of your computer,same as the Terminal itself.

Open up the Script Editor. You should see a window with a large areayou can type in near the top: this is where you write your AppleScript.In that area, type the following text:

You'll need to replace $PATH_TO_PROGRAM with the path from theProgram Files directory to your program executable. You can see thatyou're simply telling the AppleScript to run a line of code in the Terminal:the same line of code that you could run to start your Windows program.

Next, press the Compile button at the top of the window.The text should become colored to indicate that Script Editorunderstands what you wrote. You can also try pressing the Run buttonto run your script: it should open the Windows program successfully.

Lastly, save your script. You can give it whatever name you'd like,but be sure to select File Format: Application in the save options,and leave Startup Screen unchecked.

Open up the Finder, go to where you saved your script, and drag thatfile to your Dock. It should stay there, just like a real application — because it is a real application! However, all it does is runthat launcher command for you, so you can move the application around,rename it, or even delete it, and it won't affect the Windows programthat you're running.

Install Yosemite From Terminals

Keeping Wine Up to Date

Wine is an open source program. That means that programmersaround the world are continually improving it, adding new featuresand squashing bugs. If you don't update Wine, though, it will neverget those improvements, so it's generally a good idea to check for updatesevery so often. We can use Homebrew to keep Wine up to date: it's easy!Just run this command:

With this command, Homebrew will first update itself, if any updatesare available. It will then find all the outdated software it knows about(including Wine) and upgrade them all to the latest version.Checking for updates isn't strictly necessary, as Wine runs quite wellcurrently. However, it's a good idea to run this command every few monthsor so.

Install Yosemite From Terminal Shuttle

Uninstalling Wine and Homebrew

If you try Wine and you don't like it, uninstalling it is easy.Just run this command:

And Homebrew will helpfully remove Wine from your computer.However, in order to install Wine, Homebrew also had to install many othersmall programs that Wine relies upon to work correctly.(That's why the install process takes so long!)If you want to remove these as well,run this script:

Install Yosemite From Terminal 2

That script will remove everthing that you installed in this tutorial,including Homebrew, Wine, and all the other programs Homebrew installedto get Wine to work correctly.

Please enable JavaScript to view the comments powered by Disqus.It was 2009 when Apple last released a new operating system on physical media. Things have proceeded remarkably smoothly since version 10.7 switched to download-only installers, but there are still good reasons to want an old, reliable USB stick. For instance, if you find yourself doing multiple installs, a USB drive may be faster than multiple downloads (especially if you use a USB 3.0 drive). Or maybe you need a recovery disk for older Macs that don't support the Internet Recovery feature. Whatever the reason, you're in luck, because it's not hard to make one.

As with last year, there are two ways to get it done. There's the super easy way with the graphical user interface and the only slightly less easy way that requires some light Terminal use. Here's what you need to get started.

  • A Mac, duh. We've created Yosemite USB from both Mavericks and Yosemite, but your experience with other versions may vary.
  • An 8GB or larger USB flash drive or an 8GB or larger partition on some other kind of external drive. For newer Macs, use a USB 3.0 drive—it makes things significantly faster.
  • The OS X 10.10 Yosemite installer from the Mac App Store in your Applications folder. The installer will delete itself when you install the operating system, but it can be re-downloaded if necessary.
  • If you want a GUI, you need the latest version of Diskmaker X app—we wrote this article based on version 4 beta 2, but if a 'final' version is released alongside Yosemite we'll update the article. This app is free to download, but the creator accepts donations if you want to support his efforts.
  • An administrator account on the Mac you're using to create the disk.

The easy way

Once you've obtained all of the necessary materials, connect the USB drive to your Mac and run the Diskmaker X app. The app will offer to make installers for OS X 10.8, 10.9, and 10.10, but we're only interested in Yosemite today.

Advertisement

Diskmaker X has actually been around since the days of OS X 10.7 (it was previously known as Lion Diskmaker), but it's more important now because Apple has made alterations to the installer that prevent easy USB drive creation using the built-in Disk Utility app. It's still possible to create a disk manually using a Terminal command (which we'll go into momentarily), but Diskmaker X presents an easy GUI-based way to do it that is less intimidating to most people.

Select OS X 10.10 in Diskmaker X, and the app should automatically find the copy you've downloaded to your Applications folder. If it doesn't detect the installer (or if you click 'Use another copy'), you can navigate to the specific installer you want to use. It will then ask you where you want to copy the files—click 'An 8GB USB thumb drive' if you have a single drive to use or 'Another kind of disk' to use a partition on a larger drive or some other kind of external drive. Choose your disk (or partition) from the list that appears, verify that you'd like to have the disk (or partition) erased, and then wait for the files to copy over. The process is outlined in screenshots below.

Install Yosemite From Terminals

The only-slightly-less-easy way

Install Yosemite From Terminal 7

If you don't want to use Diskmaker X, Apple has actually included a terminal command that can create an install disk for you. Assuming that you have the OS X Yosemite installer in your Applications folder and you have a Mac OS X Extended (Journaled)-formatted USB drive named 'Untitled' mounted on the system, you can create a Yosemite install drive by typing the following command into the Terminal.

sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install OS X Yosemite.app --nointeraction

The command will erase the disk and copy the install files over. Give it some time, and your volume will soon be loaded up with not just the OS X installer but also an external recovery partition that may come in handy if your hard drive dies and you're away from an Internet connection.

Install Yosemite From Terminal 2

Whichever method you use, you should be able to boot from your new USB drive either by changing the default Startup Disk in System Preferences or by holding down the Option key at boot and selecting the drive. Once booted, you'll be able to install or upgrade Yosemite as you normally would.