Install Wine From Terminal Mac

admin

A front-end launcher program for Foobar2000 on Mac OS X that is running under WINE. If you have wine installed, this script merely creates a launcher app for running foobar2000, therefore Foobar2000mac is now accessible in Launchpad and/or can be pinned to your Dock.

Anyone who wants to run Foobar2000 using the MS Windows compatibility layer called Wine and have a easy to use launcher program to start it. The benefits of this approach are

Jan 15, 2020  macOS Recovery makes it easy to reinstall the Mac operating system, even if you need to erase your startup disk first. All you need is a connection to the Internet. If a wireless network is available, you can choose it from the Wi-Fi menu in the menu bar. This menu is also available in macOS Recovery.

  • How to: Install Wine on Mac OS X. Mac OS X could be the best operating system ever but there's still one thing that it lacks: you can neither run any essential Windows apps, nor even install Wine to make it possible. Here we'll try to make the things clearer and help you get the world's most popular porting software on your Apple machine.
  • Brew cask install xquartz To install wine the following command can be used; brew cask install (selected wine package) wine-stable, wine-devel or wine-staging packages can be installed using the above example. The advantage of installing via homebrew means wine is available from a standard terminal session Building Wine. See Building Wine on macOS.

First grab a copy of foobar2000's installer here via foobar2000.org

/this-song-was-created-with-garageband-for-mac.html. Homebrew Method:

  1. Homebrew and WINE - See setup guide below
  2. foobar2000Mac Launcher.app Download Brew Version

MacPorts Method

  1. MacPorts and WINE - See setup guide below
  2. foobar2000Mac Launcher.app Download MacPorts Version

How-to: Download the launcher, unzip it, and drag it into the Applications folder. Next, access it with Launchpad, Spotlight, Alfred and even pin to the Dock.

  1. Homebrew Version foobar2000Mac Launcher.app
  2. Macports Version foobar2000Mac Launcher.app
Wine

Brew is easier to setup and use. Go here for the Brew & Wine Setup Guide

If you have Wine already installed, then skip to Step 4. Otherwise you should know that setting this up is not for the faint of heart, but you will learn much along the way. Installing X11, Java RE, MacPorts, Xcode, Wine is a bit time consuming, but it is worth it.Things go more smoothly by following this setup order:

  1. X11 must be installed. If you don't know what it is or never installed it on your Mac (it's a seperate OS X add-on Apple releases), then go grab it from this website here:

  2. Java Runtime Environment (JRE) must be installed. Check to see if Java is installed by opening a terminal and typing:

    java -version

If you do have Java installed, then it will show you what version you have,

otherwise, download and install the JRE from here:

  1. MacPorts must be installed. Ports gives you access to a repository like Linux has to find, install, and update thousands of free *nix programs that Apple left out. It does this by grabbing the software code required to build into a runnable program, builds, and installs it. It may take longer than downloading and installing a program that is ready to install, but programs and their dependencies are more likely to run better and faster, since it was built for your exact setup instead of being built for all setups. Download it here:

This has a few steps which cost nothing but time, which are

  1. Once MacPorts is installed, then in a terminal use these command to update Ports, then install Wine:

    sudo port selfupdatesudo port upgrade outdated

Note:If installing a new port program or upgrading outdated fails, restart your computer and try again.This will clear out your system temp folder, and it will often fix any install problems.

Depending on the speed of your computer, it might take a few hours to build and install wine, along with all it's resources it requires.

If you want to search for other Port programs use this command

  1. Grab a copy of foobar2000. Download it here:

    foobar2000.org

  2. Run wine to launch the Foobar2000 installer. In the terminal:

    wine Downloads/foobarinstaller.exe

How To Install Wine In Terminal

  1. Finally, install the launcher app by copying Foobar2000mac.app into your Application folder. Next,

    1. If you want it to stay in your Dock, then drag it onto it from the Applications folder
    2. If you want it to be findable in Launchpad, then drag it onto it from the Applications folder

Install Wine From Terminal

If you prefer a simplier way get Foobar2000 running on OS X, then maybe CrossOver is a better choice, but doing so you won't have the MacPorts repository of programs you can natively build and install.