Differences
This shows you the differences between the selected revisions of the page.
osx 2014-03-17 | osx (current) | ||
Line 1: | Line 1: | ||
- | ~~NOINDEX~~ | ||
- | |||
- | ====== Running WinSCP on OS X in Wine ====== | ||
- | There is no native version of WinSCP for OS X. WinSCP can run on Mac in Wine though. [[http://www.winehq.org/|Wine]] allows running Windows application on other platforms, including OS X. | ||
- | |||
- | This article shows how to install Wine on Mac, using [[http://brew.sh/|HomeBrew]]. HomeBrew is a package manager, which simplifies building packages from source code. Wine is one of such packages. To build packages, Xcode Command Line Tools are also needed. The last missing piece is [[https://xquartz.macosforge.org/|XQuartz]], X Window System, that Wine uses for GUI programs like WinSCP. | ||
- | |||
- | ===== Installing WinSCP ===== | ||
- | |||
- | * Install HomeBrew, by opening terminal and running \\ ''%%ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"%%'' | ||
- | * Once we are in terminal, install the Xcode Command Line Tools by running: \\ ''xcode-select -install'' | ||
- | * [[http://xquartz.macosforge.org/|Download]] and install the latest XQuartz. | ||
- | * Install Wine from terminal by running: \\ ''brew install wine'' \\ &screenshotpict(osx_wine_install) | ||
- | * [[&download|Download]] WinSCP installation package. | ||
- | * And run it from terminal using Wine: \\ ''wine ~/Downloads/winscp&winscp_stable_version_filesetup.exe'' \\ &screenshotpict(osx_winscp_install) | ||
- | * Follow [[installation|installer instructions]]. | ||
- | |||
- | ===== Adding WinSCP Icon to Dock ===== | ||
- | |||
- | To add WinSCP icon to //Dock//, you can use [[wp>Automator (software)|Automator]]: | ||
- | |||
- | * Execute //Automator.app//. | ||
- | * Click //New Document// and select //Application// document type. | ||
- | * Add new action //Run Shell Script// and write following to the editor window: \\ ''/usr/local/bin/wine ~/.wine/drive_c/Program\ Files/WinSCP/winscp.exe'' \\ &screenshotpict(osx_automator_run) | ||
- | * Test the script by using the //Run// button. WinSCP should be started. | ||
- | * Save the script as application. | ||
- | * Quit //Automator//, and find //WinSCP.app// in //Applications// folder. Drag and drop it to the //Dock//. Now you can run WinSCP from //Dock// - however, when it is running you will see WinSCP icon in the //Dock//. | ||