How to install KDE 4 in OS X

by Ross McKillop on July 22, 2007

Linux Mac

This (brief) tutorial is by no means the ‘only’ way to install KDE 4 in OS X. However, it’s probably the easiest. Keep reading for a step-by-step walkthrough, and a couple of disclaimers.

kde 4 on os x
KDE apps on an OS X desktop


There are a few things I should mention up front. They are:

  1. The gentleman who created these packages warns you: “They may not work. They may not even install. We are not responsible for any problems or system problems this may cause.”
  2. This is an alpha release – even if you get parts of it working, it’s pretty unlikely you’ll get all of it working.
  3. It’s a 1.5GB bittorrent download for the full package. A full installation will take up 12-13GB of space on your drive. That’s not a type-o. With that said, you can customize the installation not to include packages you’ll never use, which will result in less disk space being used. You can also use Monolingual to remove the unneeded architectures (PowerPC if you have an Intel CPU, Intel if you have a PowerPC CPU) if you really know what you’re doing. I’m not linking to Monolingual on purpose, it can completely mess up your OS X installation if you use it incorrectly – consider yourself very warned.
  4. If you find yourself asking “Why even do this?” the only answer I can come up with is “because it’s possible”. For a considerably more functional version of KDE on your Mac, I’d suggest using Parallels or VMWare to install a KDE based Linux distribution.

So after reviewing all of the above reasons not to install KDE 4, if you still want to continue, here’s what to do.

  1. Visit http://ranger.users.finkproject.org/kde/index.php/Home and download the everything package (everything-2007xxxx.dmg.torrent). It took about an hour for me to download on a cable/broadband connection. Don’t forget to seed the file after your download has completed.
  2. Open the .dmg file. Since it’s huge it will take a while to verify – you might want to click the skip button if you’re certain the file is complete.
  3. Locate the kde.mpkg file and double-click it (it will be just kde if you hide extensions).
  4. kde 4 on os x
    click to enlarge

  5. The installation Wizard will launch – click Continue to get started.
  6. kde 4 on os x
    click to enlarge

  7. Review the information provided and click Continue.
  8. kde 4 on os x
    click to enlarge

  9. Review the Software License Agreement (yeah right) and again click Continue.
  10. kde 4 on os x
    click to enlarge

  11. When prompted, click Agree.
  12. kde 4 on os x
    click to enlarge

  13. Select the drive you wish to install KDE on, and click Continue.
  14. kde 4 on os x
    click to enlarge

  15. Now you can de-select packages that you don’t want to install. I skipped KDE Educational, but you may want it. After you’ve decided which packages you want to install, click Install.
  16. kde 4 on os x
    click to enlarge

  17. Enter your password when prompted.
  18. kde 4 on os x
    click to enlarge

  19. Go grab a cup of coffee. The (almost) full installation that I did took about 22 minutes to complete.
  20. kde 4 on os x
    click to enlarge

  21. And when it’s done, click Close.
  22. kde 4 on os x
    click to enlarge

  23. Now it’s time to give it a shot – cross your fingers and navigate to Mac HD -> opt -> kde4 -> bin and double-click one of the applications.
  24. kde 4 on os x
    click to enlarge

  25. I was able to launch Amarok, but I couldn’t get it to actually play music files.
  26. kde 4 on os x
    click to enlarge

  27. Konqueror worked, but would crash when I tried to use it as a web browser (it worked fine as a file manager).
  28. kde 4 on os x
    click to enlarge

  29. KWrite worked flawlessly.
  30. kde 4 on os x
    click to enlarge

  31. And finally – a screenshot of KOrganizer, KWrite and KMines all running on my OS X desktop.
  32. kde 4 on os x
    click to enlarge

  33. Get used to using Force Quit when KDE apps stall. Which I found they frequently did.
  34. kde 4 on os x

  35. If you find that it’s not stable enough for you, but you’re determined to get KDE 4 running in OS X, you can try building it yourself. I have no idea how long it would take to manually build everything, but it took me over 12 hours to compile just Amarok and its dependencies in OS X (and it didn’t even work when all was said and done).
  • Pingback: University Update - Linux - How to install KDE 4 in OS X

  • Kurt Pfeifle

    Please, you should add (in the very first sentence!) that this is not a KDE4 “final” install, but one of the very first *Alpha* releases. The way it reads now, it sounds a bit unfair…

    And it will still be a while before a final, stable release is available for Mac OS X users….

  • http://www.simplehelp.net Ross McKillop

    Hi Kurt -

    Item #2 – “This is an alpha release – even if you get parts of it working, it’s pretty unlikely you’ll get all of it working.”

    I think between that and the other ‘disclaimers’ it’s pretty clear that this isn’t final, isn’t stable and really only for folks that want to experiment a bit.

  • Pingback: SomGNU » Blog Archive » KDE4 al MacOSX

  • Pingback: Linux Platense » Blog Archive » Instalar KDE4 en Mac OS X

  • Pingback: links for 2007-07-27 « /tmp

  • Pingback: Guía para instalar KDE 4 en Mac OS X

  • Pingback: Tecnologia » Blog Archiv » Guía para instalar KDE 4 en Mac OS X

  • Pingback: Blog de software » Blog Archive » Guía para instalar KDE 4 en Mac OS X

  • Pingback: Guía para instalar KDE 4 en Mac OS X // menéame

  • Pingback: KDE 4.0 « Bacho’s blog

  • Pingback: WebMánia » Organizer hiány

  • Pingback: Como instalar o KDE 4 sob MacOS X « PerequeWeb Informação - Cultura - Entretenimento

  • Pingback: Imagen de KDE instalado en MacOSX Leopard « blog de rben1771

  • Pingback: WORKS13 • » Ausblick auf KDE 4.0

  • Pingback: “Tu ventana al Mundo” » Guia para instalar KDE 4 en Mac os X

  • http://www.thetechsavyteen.com Gregory Lee

    I installed this on an external drive (13 gigs is a bit too much space for something that I am planning to mess around with (as opposed to using it every day) And it worked pretty well, however, as it is an alpha release, I have no doubt that there are problems. (Somewhere)

    PS: Great tutorials! Love the site!

  • Pingback: Bacho’s Blog - Informatica y mas.

  • pakcik

    I’m just starting using OSX

    Ok …im finish install the packages (kde4) …but now how can i uninstall it since it already took huge amount of my hd?….Please somebody enlightent me….

  • http://www.simplehelp.net Ross McKillop

    @Kirby:

    If you want to delete everything, go to /opt/ and delete the kde4, kde4-deps and qt4 folders (and all of their sub-folders). If you have any problem deleting those, open a Terminal and type:

    sudo rm -rf /opt/kde4
    (enter your password when prompted)
    sudo rm -rf /opt/kde4-deps
    sudo rm -rf /opt/qt4

    Then delete the original file – kde.mpkg. That should wipe all of the KDE related files from your drive.

  • Pingback: The magazine, published each week inside the paper. — Software Freeware User Manuals

  • Pingback: TecnoSquad.org | El avance de KDE 4

  • Clifford

    At least you got icons on your applications.

    I’ve got Leopard on my Mac, I wonder if that is my issue? Anyways, I could get applications to start but without any icons at all. Simple apps worked great, like Kate, but Amarok was a crashing beast.

    I’m exited to see this happening and can’t wait for it to get all ported to OS X. Kate is a great text editor for programming and Amarok beats the pants off of iTunes, imo.

  • skill

    i made:

    @Kirby:

    If you want to delete everything, go to /opt/ and delete the kde4, kde4-deps and qt4 folders (and all of their sub-folders). If you have any problem deleting those, open a Terminal and type:

    sudo rm -rf /opt/kde4
    (enter your password when prompted)
    sudo rm -rf /opt/kde4-deps
    sudo rm -rf /opt/qt4

    Then delete the original file – kde.mpkg. That should wipe all of the KDE related files from your drive.

    but if you open the console every startup you will read a lot of think like

    04/09/08 09:02:12 com.apple.launchd[86] (org.freedesktop.dbus-session[211]) posix_spawnp(“/opt/kde4-deps/bin/dbus-daemon”, …): No such file or directory
    so he try to start it up……

    how can i put this off?

  • http://www.simplehelp.net Ross McKillop

    @skill

    Check the /Library/LaunchDaemons/ folder for a file w/ “kde” somewhere in it. Delete that file. I *think* that’s where mine was. There’s also a “hidden” folder in your /Users/your-user-name/ folder called .kde – it’s not big, but if you want to really get rid of all of KDE, delete it too.

  • http://www.simplehelp.net Ross McKillop

    re: my previous comment – skill sent me a followup email (I mailed him directly) – the file in /Library/LaunchDaemons/ is org.freedesktop.dbus-session.plist

    Remove it, reboot, and delete the .kde folder in your home directory (and the other folders I mentioned in comment #5) and KDE should be gone entirely. You can also use Spotlight and/or Google Desktop search to look for files w/ “kde” in them to make sure you got it all.

  • skill

    in /Library/LaunchAgents/ is org.freedesktop.dbus-session.plist

    thanks

  • http://www.hadak.org HaDAk

    What background are you using? I’d like it, if you’re willing to share.

  • Pingback: The first KDE 4.0 beta hits the streets | Ars Technica

  • Pingback: Guía para instalar KDE 4 en Mac OS X | TecnoApps.net