Skip to content


How to install Linux applications in OS X – a complete walkthrough

Linux Mac

This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander.

Something I should mention up front – during this process you’ll be asked to enter your password about a half-million times. I left those ’steps’ out to keep this shorter.


  1. Installing Fink and Fink Commander
  2. Configuring Fink
  3. Installing Linux applications
  4. Launching Linux applications with Quicksilver

Installing Fink and Fink Commander

  1. The first step in getting Linux programs running in OS X is to install X11, if it isn’t already. To check if it’s installed, open Finder, select Applications and then Utilities. If you don’t see X11 (or X11.app depending on your view settings) it’s not installed. Fortunately, I have a complete walkthrough for that as well.
  2. Once you’ve got X11 installed, visit http://www.finkproject.org/download/ and download the appropriate version of Fink for your Mac. Once the download has completed, open the .dmg file and run Fink xx-xx installer.pkg.

  3. click to enlarge

  4. The Fink installer will launch. Click Continue and I Agree a bunch of times. You’ll be prompted for your password at least once during the installation.

  5. click to enlarge

  6. Towards the end of the installation, a Setting up your Fink environment window will pop up. Make sure to click Yes.

  7. click to enlarge

  8. Assuming all went well, a confirmation window should appear.

  9. click to enlarge

  10. Click Close to finish the Fink installer.

  11. click to enlarge

  12. Now, back in that .dmg file, locate the folder titled FinkCommander and open it.

  13. click to enlarge

  14. Drag the FinkCommander file to your Applications folder. This is an important step – FinkCommander will not work properly if you run it from inside the .dmg file.

  15. click to enlarge

Configuring Fink

  1. From your Applications, locate FinkCommander and launch it.

  2. click to enlarge

  3. You’ll be presented with a rather large list of Linux packages – but before you go crazy installing them, you’ll need to run a few updates first.

  4. click to enlarge

  5. Select Source from the top menu and then Scanpackages from the drop-down list.

  6. click to enlarge

  7. Do not be surprised if you’re prompted to enter your password – twice, and then get a message (see screenshot below) saying you need to run Scanpackages again.

  8. click to enlarge

  9. Repeat the Source -> Scanpackages process and the 2nd time it’ll work.

  10. click to enlarge

  11. Now select Source from the top menu, Utilities and then Index.

  12. click to enlarge

  13. Watch as FinkCommander runs some updates, and once that has completed…

  14. click to enlarge

  15. Select Binary and then Update descriptions

  16. click to enlarge

  17. Now locate Fink in the list of packages. You can sort the packages by Name to quickly locate it, or use the Search feature. Select Fink by clicking on it once.

  18. click to enlarge

  19. With Fink highlighted, select Binary and then Install

  20. click to enlarge

  21. And once again, watch as Fink updates itself.

  22. click to enlarge

Installing Linux applications

  1. Now it’s time for some fun. Locate a Linux program/package that you want to install. I used trackballs (a silly but fun game) as an example. Once you’ve found the program you want to install, highlight it by clicking it once.

  2. click to enlarge

  3. Select Binary and then Install

  4. click to enlarge

  5. During the installation, you may get a pop-up window asking for you to respond to something (see screenshot below). Generally it’s looking for a Y/n (yes/no) answer – but check the status part of FinkCommander. In this case, the default is Y (yes), so you can select Accept default response and click Submit.

  6. click to enlarge

  7. That’s it. Fink will automatically determine any packages that are required to run whatever program you chose to install, and install them as well. To launch your recently installed program, open up a Terminal and type in the programs name. If you’re a Quicksilver user (and you should be!) – keep reading for instructions on how to launch Linux programs with it.

  8. click to enlarge

Launching Linux applications with Quicksilver

  1. Once you’ve installed a Linux app or two using Fink, you can launch them with Quicksilver if you add the folder they’re stored in to Quicksilver’s catalog. Bring up the Quicksilver preferences by invoking Quicksilver and click the Apple key + ,

    Select Catalog from the top menu


  2. click to enlarge

  3. Click the + (plus sign) and select File & Folder Scanner
  4. Navigate to Macintosh HD -> sw -> bin and click Open

  5. click to enlarge

  6. Make sure the bin folder was added to the Sources list.

  7. click to enlarge

  8. From the side drawer, change the Include Contents: entry to Folder Contents
  9. Back in the Catalog window, click the Refresh button (the swirl arrow)
  10. The bin entry in the Sources list should now have 80+ items (give or take) indexed. Exit out of the Quicksilver preferences.

  11. click to enlarge

  12. Invoke Quicksilver and test it out.

  13. click to enlarge

Posted in Linux, Mac.

Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

 

You can always opt out of this email subscription at any time.

78 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Enrique says

    Realmente útil. Really thanks for this great tutorial.

    Regards.

  2. Susan says

    Can I install Gnome this way?

  3. Colorado Mortgage says

    Wow, I’m honestly no a fan of OSX, since I love Linux, but if they keep making kool little apps like this I might have to make the change.

  4. Electric Cat Herder says

    Susan:

    Yes, Gnome is available, but a bit dated, though it looks like there’s been some work to bring everything up to version 2.16.

    This article’s headline is a bit misleading. Fink does not install Linux applications– The binaries are in Mac OS X/Darwin Mach-0 format, not ELF. The Fink project provides Mac builds of popular applications designed for a variety of UNIX-type operating systems, such as Linux and Solaris. The Fink maintainers have worked out the build specifics for Mac OS X and make binaries available. The graphical programs use X11 and by extension Gnome or KDE, just as they do on other UNIX platforms.

    Personally, I’d like to see more work towards implementing GTK and QT APIs for the Aqua desktop and Core Graphics, bypassing X11, but these things take time. For those comfortable with X11, Gnome and KDE, Fink dramatically expands your choices for Mac software.

  5. Matt Rogers says

    Susan you should be able to install Gnome I remember installing KDE using Fink a couple years ago. It’s a long running stable project. I deleted my fink installation last year, but now I am tempted to re-install it. :)

  6. Robin Mordasiewicz says

    Being picky these are not linux applications.
    Linux is a kernel which you can run these applications on, just as you can run these applications on the FreeBSD kernel.

  7. tech says

    it helps very much,

    thanks…

  8. chipsajoy says

    Very cool! Thanks!

  9. ??? says

    it helps very much,

    thanks…

  10. Jim says

    This is a well done walk through, I like it — unfortunately the reality of using fink is often littered with undocumented errors and, as ever so often happens with anything open source, the work-around’s to things like Buildlock failures, are usually fraught with in-speek and gobbledegook only those already familiar with Linux can decipher.

    I built KDE once and it took me a week – and trust me, previous to that, I thought I knew what I was doing.

  11. Gerry says

    Will this work for JBuilder4?

  12. rossb says

    how can you add apps to be installed? what I would really love to do is get groupwise (linux platform) to run under this.

    Thanks,

    RossB

  13. pippo says

    I have just one thing to say:

    “Thank you!”

    …great work keep it up

  14. john s says

    hello just ran across your site and followed direction to install but need help the only application i can get to run is trackball ive tried crafty chess , doewars, danican, othello and some of the editors they wont start im using a mac powerbook g4 with a ppc processor and also when i installed fink i didnt get the Setting up your Fink environment window you spoke of at end of instalation i also want to know should i have got that screen or is that only for intel based chip macs and also once i get it working correctly how can i install linux/unix packages and or applications in fink other than the ones provided

  15. Rashid Cisco says

    Can I use this to install apps that are not listed on Fink?

  16. Daniel Fass says

    How do you import new packages into Fink and have Fink install them?

  17. Ross McKillop says

    Rashid and Daniel,

    See: http://sourceforge.net/tracker/?atid=371315&group_id=17203

    for info on requesting new packages to be added to Fink.

    Cheers!

  18. pixel001 says

    can i run normal linux programs with this?

  19. Al says

    1. Does this install programs in somewhere like MacHD instead of the Apps folder (just typing the program name in terminal opens the program!)? And I see “sw” folder in the MacHD folder.

    2. How can one un-install Fink after installing it?

    3. I was interested in getting YS Flight to install on Mac. Can I use Fink?

  20. Brandon says

    I am going to attempt to run a linux based environmental modeling system on my new MacBook. Does anyone know if my 2.16 GHz Intel Core 2 Duo can handle running a Linux application this complicated? It takes 99.9% of my processing power and 3 hours to run on an old Pentium 4 with Linux installed. I want to speed things up a bit, and I wouldn’t mind the portability. I estimated I could probably run it in 45 min. on this processor, but I’ve never ran a Linux app on my Mac, and I am unsure if there is any % CPU lost when you’re running the app from fink in OS X. Thanks

  21. your mother says

    Very simple tutorial! Anyone that’s used linux (Even, *shudder* Ubuntu) for an amount of time, & learned it, will recognize what’s going on in your screen shots. QUick, Short Sweet N Effective I rate this tutorial 10 stars even if your technical termonology is wrong & these apps have been ported. THIS WILL SHOW IN GOOGLE when we search using what we want to say. In English. Not Machine Code.
    -ez, then

  22. vishwajit says

    how to install linux os in desktop?

    what are configuration pc linux loaded

  23. manikandan says

    this is my linux?

  24. sreejith says

    it is very easy

  25. Ivan Horvat says

    Very nice article.

    But I have problem to install program which is not in any of packages. For example this: http://home.gna.org/subtitleeditor/ …. when I download tar.gz file, how can I install it and run?

  26. hinloong says

    can i know how to install Packet Tracer 5 from cisco. there had a version for linux i would like to try to install using it.

  27. marie says

    Je n’arrive pas à installer “Linux”. Quand je clic sur “Quicksilver”, la fenêtre s’affiche mais je n’ai pas “Trackballs” que j’ai pourtant installer et je ne sais pas d’où vient ce “Del.icio.us Bookmarks”. pouvez-vous m’aider.
    Merci.

  28. Felix says

    More than excellent!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  29. Javdom says

    Can I install Packet Tracer 5.0 the linux version with this method.

    If the answe is yes how can I do that?? What I need to do with the tar.gz file??

    Thanks,

    the information is excelent.

  30. ravindra says

    Help me how to add a package to fink..
    how to use after that……..

    thanks.

  31. peggy says

    please, can anyone tell me how to remove fink from my mac??

    i’ve read this:
    Q3.6: How can I remove all of Fink?
    A: Almost all files installed by Fink are in /sw (or wherever you chose to install it). Thus in order to get rid of Fink, enter this command:
    sudo rm -rf /sw
    The only exception to this rule is XFree86. If you also need to remove XFree86, additionally enter this:
    sudo rm -rf /usr/X11R6 /etc/X11 /Applications/XDarwin.app
    You also will want to remove the “source /sw/bin/init.csh” line you added to your .cshrc file. To do this, type “pico ~/.cshrc”. Navigate to the “source /sw/bin/init.csh” line and type control-K to remove it. Then type control-O, return, control-X to exit.

    but i have no idea that how to process it…..
    where should i enter “sudo rm -rf /sw” this command?????

    please help!!!!

    thanks loads!!!!

  32. LAOMUSIC ARTS says

    Hey Peggy !

    to insert comand lines in OSX go to :
    Applications/Utilities/Terminal

    You will be asked for your OSX password (sudo) or you may start the process with sudo su/ENTER

    Good luck !

    LAO
    LAOMUSIC ARTS

  33. Matt Nicolls says

    I’d like to install a third party Linux app on my Mac (specifically Rational Application Developer 7.5) – will this approach work, or will it only work for apps that are distributed with linux?

    I hate using Rational Application Developer (which is an IBM product) – but I hate it even more on Windows. Having an IBM app running on Windows is a compound negative – ug. If I could get RAD7 running on my Mac, it would a least be a bit more tolerable!

    -M

Continuing the Discussion

  1. neverland » porque tux también vive en OSX linked to this post on May 9, 2007

    [...] Cómo hacer correr aplicaciones Linux en OSX. [...]

  2. How to install Linux applications in OS X - a complete walkthrough « VistaSucks.WordPress.Com linked to this post on May 10, 2007

    [...] read more | digg story [...]

  3. Vocescuola - Applicazioni Linux su MacOSX linked to this post on May 10, 2007

    [...] Su Simplehelp, Common questions, simple answers (vi consiglio di aggiungere questo link ai vostri bookmarks), ho trovato un interessante tutorial che vi aiuta, passo passo nell’istallazione di applicazioni linux su MacOSX, si parte installando X11 e Fink. [...]

  4. How to install Linux applications in OS X - a complete walkthrough « trent.hunger linked to this post on May 10, 2007

    [...] read more | digg story [...]

  5. The Edge of I-Hacked » How to install Linux applications in OS X - a complete walkthrough linked to this post on May 10, 2007

    [...] from Simplehelp This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander. [...]

  6. How to install Linux applications in... [Ectio.us Linkosphere] linked to this post on May 10, 2007

    [...] Link From simplehelp.net [...]

  7. How to install Linux applications in OS X - a complete walkthrough « v1ruz blog linked to this post on May 10, 2007

    [...] read more | digg story [...]

  8. links for 2007-05-11 « /tmp linked to this post on May 11, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough (tags: mac linux) [...]

  9. Techzi » Blog Archive » How To: Install Linux apps on your Mac linked to this post on May 11, 2007

    [...] It’s a many-step process, but guide is very detailed, so it’s a pretty easy set up. Once you’ve finished, you can install and run any of a number of great Linux apps (actually, it’s technically UNIX apps that run on Linux). The guide gets an extra gold star for the Quicksilver addendum at the end describing how to add the new apps to your Quicksilver catalog. You’re not going to be able to run any Linux app under the sun with Fink, but if there’s something you’ve been dying to run on your Mac, this guide’s worth a try. — Adam Pash How to install Linux applications in OS X – a complete walkthrough [Simplehelp] [...]

  10. Katie Dixon - Web Design - Houston, TX » Blog Archive » How to install Linux applications in OS X linked to this post on May 11, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough – Simplehelp This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander. [...]

  11. How To: Install Linux apps on your Mac at SoftSaurus linked to this post on May 11, 2007

    [...] It’s a many-step process, but guide is very detailed, so it’s a pretty easy set up. Once you’ve finished, you can install and run any of a number of great Linux apps (actually, it’s technically UNIX apps that run on Linux). The guide gets an extra gold star for the Quicksilver addendum at the end describing how to add the new apps to your Quicksilver catalog. You’re not going to be able to run any Linux app under the sun with Fink, but if there’s something you’ve been dying to run on your Mac, this guide’s worth a try. — Adam Pash How to install Linux applications in OS X – a complete walkthrough [Simplehelp] [...]

  12. Dongyi == ?? » links for 2007-05-12 linked to this post on May 11, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough – Simplehelp (tags: linux mac osx howto software install reference tutorial) [...]

  13. Install Linux apps on your Mac at heavenlytree linked to this post on May 11, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough [simplehelp] [...]

  14. Ejecuta aplicaciones Linux en tu Mac OS X en Panchosoft.com Blog! linked to this post on May 11, 2007

    [...] Pero en fin, el punto de este post es que encontré vía Lifehacker un interesante manual para correr aplicaciones Linux en tu Mac. Suena bien. [...]

  15. How to install Linux applications in OS X at W.cx - Web Community Xchange linked to this post on May 11, 2007

    [...] Installing Fink and Fink Commander [...]

  16. JLinX - Blog » Blog Archive » How to install Linux applications in OS X - a complete walkthrough linked to this post on May 12, 2007

    [...] Visit Simplehelp … [...]

  17. » Blog Archive Come installare Linux in Os x facilmente » linked to this post on May 12, 2007

    [...] Questo e il sito di Simplehelp [...]

  18. Linux applicaties draaien op je Mac linked to this post on May 12, 2007

    [...] Hier heb je een mooie walkthrough hoe je dit kunt doen. Ga ik van de week ook eens proberen. Heeft iemand hier al ervaring mee? [...]

  19. CyberTopo » Installer des applications Linux sur votre MAC… linked to this post on May 12, 2007

    [...] Comme vous le savez probablement, depuis la version X, Mac OS est basé sur un coeur UNIX. Cependant, l’installation sur un Mac d’applications traditionnelles pour Unix(fonctionnant sous Linux) peut être assez ardue. [...]

  20. Shall We Zen » links for 2007-05-12 linked to this post on May 12, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough – Simplehelp (tags: Linux osx mac howto install) [...]

  21. despuesdegoogle » Archivo del weblog » Cómo instalar y ejecutar aplicaciones Linux en Mac OS X linked to this post on May 13, 2007

    [...] Al menos eso es lo que explica, en un exhaustivo tutorial gráfico casi para torpes, el sitio SimpleHelp, dedicado a “preguntas comunes y respuestas simples”. [...]

  22. How to install Linux applications in OS X - a complete walkthrough « News Coctail linked to this post on May 13, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough Filed under: Uncategorized — recar @ 11:00 am How to install Linux applications in OS X – a complete walkthrough This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander.[technology] [apple] [news] [linux] [...]

  23. Life as I see it.. » Blog Archive » Linux Apps on Mac os x linked to this post on May 13, 2007

    [...] Installing Fink and Fink Commander [...]

  24. renaissance chambara | Ged Carroll » Blog Archive » Links for 2007-05-12 [My Web 2.0] linked to this post on May 13, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough – Simplehelp [...]

  25. Monday Morning Links Serving: The May 14th Edition | [Geeks Are Sexy] Technology News linked to this post on May 14, 2007

    [...] -How to install Linux applications in OS X – a complete walkthrough This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander. [...]

  26. My del.icio.us bookmarks for May 12th through May 14th at Discovering my World… linked to this post on May 14, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough – Not muche more to say, everything is in the title. Excellent paper, well done [...]

  27. How To: Install Linux apps on your Mac » D-L Technology BLOG linked to this post on May 15, 2007

    [...] It’s a many-step process, but guide is very detailed, so it’s a pretty easy set up. Once you’ve finished, you can install and run any of a number of great Linux apps (actually, it’s technically UNIX apps that run on Linux). The guide gets an extra gold star for the Quicksilver addendum at the end describing how to add the new apps to your Quicksilver catalog. You’re not going to be able to run any Linux app under the sun with Fink, but if there’s something you’ve been dying to run on your Mac, this guide’s worth a try. — Adam Pash How to install Linux applications in OS X – a complete walkthrough [Simplehelp] [...]

  28. Come installare applicazioni Linux su OSX - Fink « gp linked to this post on May 15, 2007

    [...] Come installare applicazioni Linux su OSX - Fink Su simplehelp pubblica una semplice guida che ci aiuta nei primi utilizzi di Fink, applicazione open source, in grado di rendere utilizzabili applicazioni ideate per Linux su Mac OS X. Il tutorial, è diviso un 4 parti e corredato di screenshot che aiutano passo passo nell’istallazione di Fink, nella sua configurazione e nella istallazione e lancio delle applicazioni linux: [...]

  29. Cool Websites and Tips (makeuseof extra #56) » MakeUseOf.com linked to this post on May 17, 2007

    [...] HowTo: install Linux applications in OS X [simplehelp.net] [...]

  30. links for 2007-05-17 at Kenny Hyder - Media Analyst linked to this post on May 17, 2007

    [...] How to install Linux applications in OS X – a complete walkthrough – Simplehelp install Linux applications in OS X (tags: macosx linux foruse tools) [...]

  31. How To: Install Linux apps on your Mac at SoftSaurus linked to this post on May 21, 2007

    [...] It’s a many-step process, but the guide is very detailed, so it’s a pretty easy set up. Once you’ve finished, you can install and run any of a number of great Linux apps (actually, it’s technically UNIX apps that run on Linux). The guide gets an extra gold star for the Quicksilver addendum at the end describing how to add the new apps to your Quicksilver catalog. You’re not going to be able to run any Linux app under the sun with Fink, but if there’s something you’ve been dying to run on your Mac, this guide’s worth a try. — Adam Pash How to install Linux applications in OS X – a complete walkthrough [Simplehelp] [...]

  32. Hostgator » Blog Archive » How to install Linux applications in OS X - a complete walkthrough linked to this post on May 28, 2007

    [...] This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander.read more | digg story [...]

  33. Run Linux/UNIX programs in OSX » It’s Not the Network! linked to this post on May 29, 2007

    [...] This one comes via that amazingly useful site, Lifehacker, and gives you step-by-step instructions for installing Fink and Fink Commander. Fink is basically a ports collection based on Debian’s dpkg and APT, and a package management system to handle installation and uninstallation, etc.. Fink Commander is a nice GUI to help out. I’ve known about Fink for along time, and even tried to install and use it when I first got my MacBook Pro, but it was a royal pain and I quickly gave up. These instructions make it easy and clear, and really make the process simple. How to Install Linux Applications in OSX Simplehelp.net via Lifehacker Bookmark to: [...]

  34. Simplehelp Recap: May 2007 - wow, and thank you! - Simplehelp linked to this post on June 1, 2007

    [...] How to install Linux applications in OS X (thank you digg and lifehacker) [...]

  35. How to install Linux applications in OS X - a complete walkthrough - Simplehelp linked to this post on August 9, 2007

    Tektag / linuxgaru

    This tutorial will take you each and every step of the way through installing Linux programs in OS X – using Fink and FinkCommander.

  36. hubab » How to install Linux applications in OS X - a complete walkthrough linked to this post on October 22, 2007

    [...] full story here [...]

  37. luzee » How to install Linux applications in OS X - a complete walkthrough linked to this post on October 22, 2007

    [...] read more here [...]

  38. Linux » Blog Archive » How to install Linux applications in OS X - a complete walkthrough linked to this post on November 29, 2007

    [...] read more | digg story [...]

  39. iTunes with linux? - Overclock.net - Overclocking.net linked to this post on December 11, 2007

    [...] very similar…. hasn’t anyone made a compatability tool (like Winex) for MAC? Just curious. Where there is a will, there is a way. __________________ "Never forget that only dead fish swim with the stream" ~ Malcolm [...]

  40. fink commander linked to this post on April 19, 2008

    [...] and every step of the way through installing Linux programs in OS X – using fink and FinkCommander.http://www.simplehelp.net/2007/05/09/how-to-install-linux-applications-in-os-x-a-complete-walkthroug…Fink Commander – mac software for download at iusethisJul 11, 2006 … FinkCommander is an [...]

  41. Czy istnieje tryb zgodnosci MAC z Linux dla binarek na x86 - Strona 2 - MyApple.pl linked to this post on June 14, 2008

    [...] | #13 A może spróbuj How to install Linux applications in OS X – a complete walkthrough – Simplehelp Komputer: iMac c2duo 20" 256mb video, 3 GB ram/ Acer Aspire 5920G Odtwarzacz: iPod Video [...]

  42. Running linux application under mac os x - Èñïîëüçóé Ìàc. Ôîðóì ïðî Apple Mac, iPhone, Mac OS X Leopard. linked to this post on July 29, 2008

    [...] Öèòèðîâàòü åñòü ïîðòû — fink, macports, åñòü X.11 êàê ïðèìåðíî ýòî âûãëÿäèò How to install Linux applications in OS X – a complete walkthrough – Simple Help [...]

  43. Compare Online College Degrees : Free Programming Tools linked to this post on February 2, 2009

    [...] Mac OS X, you probably know that it’s based on UNIX (just like Linux is). So you can port and install Linux/ UNIX apps on Mac OS X. But if you have to work on Windows, you could set up a dual boot [...]

  44. Quicksilver for Mac: The Greatest App in the World at Mike in Real Life linked to this post on July 28, 2009

    [...] How to install Linux applications in OS X – a complete walkthrough – Simple Help – The bottom of this article tells you how you can launch those applications with Quicksilver. [...]



Some HTML is OK

or, reply to this post via trackback.