Users can install the under-development version of KDE Frameworks 5 side by side with KDE 4 from the Beta 2 stage. To make this possible the packages are installed under /usr instead of /opt/kf5 as it used to be on the Arch User Repository (AUR) previously. Till date the only exception was the kactivities component because both KDE Frameworks and KDE 4 ship a kactivitymanagerd binary. To make them co-install now both the packages from KDE4 and KDE Frameworks install a kactivities virtual package on the same system under the /usr directory. The packages are grouped into two parts: kf5 and kf5-aids (PortingAids).
With this in place Andrea hopes that the Plasma Next packages will follow soon. However they will go in the kde-unstable repository. To make them co-installable their prefix will be /opt/kf5. KWin is already available in kde-unstable.
To install the KDE Frameworks libraries, run:
# pacman -S kf5 kf5-aids
To install Plasma Next components like KWin, run the following:
# pacman -S kwin oxygen $ export KF5=/opt/kf5 $ export QML2_IMPORT_PATH=$KF5/lib/qt/qml:/usr/lib/qt/qml $ export QT_PLUGIN_PATH=$KF5/lib/qt/plugins:/usr/lib/qt/plugins $ export XDG_CONFIG_DIRS=$KF5/etc/xdg:/etc/xdg $ export PATH=$KF5/bin:$PATH $ kwin --replace
Arch is one of the first distributions to make the KDE Frameworks 5 packages available.