FreeBSD/Setup: Difference between revisions
mNo edit summary |
start to rewrite |
||
Line 36: | Line 36: | ||
After installing KDE Plasma 5 Workspace (`x11/plasma5-plasma-workspace`) either via ports or packages, you must also install SDDM. | After installing KDE Plasma 5 Workspace (`x11/plasma5-plasma-workspace`) either via ports or packages, you must also install SDDM. | ||
= rewrite = | |||
: by [[User:Vater|Vater]] ([[User talk:Vater|talk]]) | |||
=== Installing === | |||
The easiest way to get KDE running (on nearly every FreeBSD box) is to install the KDE binary packages from the standard FreeBSD repository. The default repository on FreeBSD is ''quarterly''. An alternate repository for FreeBSD is ''latest'' provided from FreeBSD as well. | |||
: [[#Installing by using the Binary Package Management]] | |||
An other way to install the KDE is to compile it from (FreeBSD) ports. | |||
: [[#Installing by using the FreeBSD Ports Collection]] | |||
And you can also install by cloning and compiling sources directly like for Area 51. | |||
: [[#Installing by using the sources for the FreeBSD Port]] | |||
==== Installing by using the Binary Package Management ==== | |||
[https://www.freebsd.org/doc/handbook/pkgng-intro.html FreeBSD Handbook:''Installing Applications: Packages and Ports''/''Using pkg for Binary Package Management] | |||
It is recommended to install and use [[#SDDM]]. | |||
==== Installing by using the FreeBSD Ports Collection ==== | |||
[https://www.freebsd.org/doc/handbook/ports-using.html FreeBSD Handbook:''Installing Applications: Packages and Ports''/''Using the Ports Collection''] | |||
==== Installing by using the sources for the FreeBSD Port ==== | |||
=== Dependencies === | |||
==== SDDM ==== | |||
SDDM is highly recommended to get KDE running easily. (So you can avoid stupid problems. SDDM helps to choose the right Screen<!-- ''DISPLAY'' variable --> for example.) | |||
===== SDDM meets pkg ===== | |||
Installing the binary package [https://www.freshports.org/x11/sddm x11/sddm] | |||
: <code>pkg ins -y sddm</code> | |||
Installing the (recommended) binary package [https://www.freshports.org/x11/xorg-minimal x11/xorg-minimal] | |||
: <code>pkg ins -y xorg-minimal</code> | |||
Starting the service ''sddm'' once | |||
: <code>service sddm onestart</code> | |||
Stopping the service ''sddm'' once | |||
: <code>service sddm onestop</code> | |||
Enabling the service ''sddm'' for system starts | |||
: <code>sysrc sddm_enable=yes</code> | |||
Starting the (enabled) service ''sddm'' now | |||
: <code>service sddm start</code> | |||
; additional packages: | |||
Installing the binary package [https://www.freshports.org/deskutils/plasma5-sddm-kcm deskutils/plasma5-sddm-kcm] | |||
: <code>pkg ins -y plasma5-sddm-kcm</code> | |||
Installing the binary package [https://www.freshports.org/x11-themes/sddm-freebsd-black-theme x11-themes/sddm-freebsd-black-theme] | |||
: <code>pkg ins -y sddm-freebsd-black-theme</code> | |||
===== SDDM meets Ports ===== | |||
== See also == | == See also == | ||
* [https://www.freebsd.org/doc/handbook/x11-wm.html#idp51996792 FreeBSD Handbook:''The X Window SystemDesktop''/''Environment''#''KDE''] | * [https://www.freebsd.org/doc/handbook/x11-wm.html#idp51996792 FreeBSD Handbook:''The X Window SystemDesktop''/''Environment''#''KDE''] |
Revision as of 11:10, 2 January 2019
Setup
To install the current official release, get ports or packages.
To install the bleeding edge, get area51.
Once you have installed whichever version of KDE you like (official ports of KDE4, or KDE Frameworks, Plasma Workspace and Applications from area51, as of early 2017), there are a few more steps to get it running, which we try to list here.
X Window System
To use KDE Software Compilation on FreeBSD, X.Org is required. If you still dont't have it, you'll need to install and configure it properly.
Other Dependencies
You should have the following packages installed and configured:
- DBus
service dbus start
- HAL
service hald onestart
- procfs
Without them, either KDE software won't run, or you won't have a keyboard and mouse in the X Window System, which reduces its usefulness considerably.
Starting KDE4
After installing KDE workspace (`x11/kde4-workspace`) either via ports or packages, you can add `kdm4_enable="YES"` to `/etc/rc.conf` to boot into KDE Plasma Desktop via KDM, the KDE Display Manager.
Starting KDE Plasma 5 Workspace
After installing KDE Plasma 5 Workspace (`x11/plasma5-plasma-workspace`) either via ports or packages, you must also install SDDM.
rewrite
Installing
The easiest way to get KDE running (on nearly every FreeBSD box) is to install the KDE binary packages from the standard FreeBSD repository. The default repository on FreeBSD is quarterly. An alternate repository for FreeBSD is latest provided from FreeBSD as well.
An other way to install the KDE is to compile it from (FreeBSD) ports.
And you can also install by cloning and compiling sources directly like for Area 51.
Installing by using the Binary Package Management
FreeBSD Handbook:Installing Applications: Packages and Ports/Using pkg for Binary Package Management
It is recommended to install and use #SDDM.
Installing by using the FreeBSD Ports Collection
FreeBSD Handbook:Installing Applications: Packages and Ports/Using the Ports Collection
Installing by using the sources for the FreeBSD Port
Dependencies
SDDM
SDDM is highly recommended to get KDE running easily. (So you can avoid stupid problems. SDDM helps to choose the right Screen for example.)
SDDM meets pkg
Installing the binary package x11/sddm
pkg ins -y sddm
Installing the (recommended) binary package x11/xorg-minimal
pkg ins -y xorg-minimal
Starting the service sddm once
service sddm onestart
Stopping the service sddm once
service sddm onestop
Enabling the service sddm for system starts
sysrc sddm_enable=yes
Starting the (enabled) service sddm now
service sddm start
- additional packages
Installing the binary package deskutils/plasma5-sddm-kcm
pkg ins -y plasma5-sddm-kcm
Installing the binary package x11-themes/sddm-freebsd-black-theme
pkg ins -y sddm-freebsd-black-theme