Mac/MacPorts Fink Homebrew: Difference between revisions

From KDE Community Wiki
< Mac
(→‎Installing using MacPorts: The KDE applications present in MacPorts might be old. E.g. kcalc is for KDE 4 https://ports.macports.org/port/kcalc/details .)
Line 13: Line 13:


=== Installing using MacPorts ===
=== Installing using MacPorts ===
The KDE applications present in MacPorts might be old. E.g. kcalc is for KDE 4 https://ports.macports.org/port/kcalc/details .


http://www.macports.org/
http://www.macports.org/

Revision as of 22:14, 22 September 2023

Installing KDE software via MacPorts/Fink/Homebrew

Installing using Homebrew

https://invent.kde.org/packaging/homebrew-kde

Updates are often shipped in a couple of days after official upstream release. As of December 2020, the latest available and supported version is KDE Applications 20.08.2, Frameworks 5.76.

You can tap this repository into your Homebrew. It adds KDE Frameworks 5 packages (and all their dependencies) and some applications that make use of them (e.g. Kate and Kwrite). As of December 2020 this repository is still experimental as the developers try to get apps into a working state. Hints and patches are welcome.

Please carefully follow installation instructions.

Installing using MacPorts

The KDE applications present in MacPorts might be old. E.g. kcalc is for KDE 4 https://ports.macports.org/port/kcalc/details .

http://www.macports.org/

As of October 2017, the latest available and supported version is KDE Applications 4.14.3.

Instructions are provided on TechBase for installing a development environment using MacPorts. If you want a user installation then just skip the final 'Configure your KDE development environment' section.

Additional information:

Installing using Fink

http://www.finkproject.org/

As of October 2017, the latest available and supported version is KDE SC 4.14.6.

The Fink packages allow you to install KDE SC 4 as either Qt/X11 or Qt/Mac (native) packages by selecting either packages ending in "-x11" or "-mac", for example "kdebase4-x11" and "kdebase4-mac".

Additionally, the Fink packages allow the running of the Plasma desktop in X11 mode. Just install "kdebase4-workspace-x11" to install it.

The Fink KDE software packages will be installed in /sw/opt/kde4/x11 or /sw/opt/kde4/mac respectively. They also are able to start D-Bus for you as long as you run "/sw/bin/init.sh" normally, or when you open a terminal, if you have run the path setup script in the Fink installer.

Running KDE Applications

Please see the distribution notes for MacPorts / Fink / Homebrew formulas you are using. You may need to run the following steps once after installation:

sudo chown -R $USER ~/Library/Preferences/KDE
sudo launchctl load  -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist

Sometimes, Installer.app fails to run the post-install. If things are acting funny, try running these two commands in a terminal:

sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
/opt/local/bin/kbuildsycoca4