Difference between revisions of "OpenRC, an alternative to systemd"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
imported>Aaditya |
imported>Aaditya |
||
Line 6: | Line 6: | ||
== Installation == | == Installation == | ||
=== Method A === | |||
OpenRC is available in the '''Unstable''' branch of the Manjaro repositories. Users of that branch can install OpenRC in the following way: | |||
1) Remove ''systemd-sysvcompat'' | |||
sudo pacman -R systemd-sysvcompat | |||
2) Install ''sysvinit'' | |||
sudo pacman -S sysvinit | |||
3) Install the ''openrc-base'' package | |||
sudo pacman -S openrc-base | |||
The output of the above command looks like the following: | |||
$ sudo pacman -S openrc-base | |||
:: There are 10 members in group openrc-base: | |||
:: Repository community | |||
1) cronie-openrc 2) cryptsetup-openrc 3) dbus-openrc | |||
4) device-mapper-openrc 5) dhcpcd-openrc 6) glibc-openrc | |||
7) inetutils-openrc 8) lvm2-openrc 9) mdadm-openrc 10) openrc-core | |||
Enter a selection (default=all): | |||
resolving dependencies... | |||
looking for inter-conflicts... | |||
:: openrc-core and systemd-sysvcompat are in conflict. Remove systemd-sysvcompat? [y/N] y | |||
Packages (12): systemd-sysvcompat-212-3 [removal] sysvinit-2.88-15 | |||
cronie-openrc-20140614-1 cryptsetup-openrc-20140614-1 | |||
dbus-openrc-20140614-1 device-mapper-openrc-20140614-1 | |||
dhcpcd-openrc-20140614-1 glibc-openrc-20140614-1 | |||
inetutils-openrc-20140614-1 lvm2-openrc-20140614-1 | |||
mdadm-openrc-20140614-1 openrc-core-0.12.4-16 | |||
Total Download Size: 0.22 MiB | |||
Total Installed Size: 1.19 MiB | |||
:: Proceed with installation? [Y/n] | |||
=== Method B === | |||
OpenRC is currently available from the [https://aur.archlinux.org/packages/?O=0&K=openrc AUR], and from a binary repository courtesy Archbang and artoo. | OpenRC is currently available from the [https://aur.archlinux.org/packages/?O=0&K=openrc AUR], and from a binary repository courtesy Archbang and artoo. | ||
Line 29: | Line 70: | ||
This package conflicts with ''systemd-sysvcompat'', which will be removed. The output looks like: | This package conflicts with ''systemd-sysvcompat'', which will be removed. The output looks like: | ||
sudo pacman -S openrc-base | $ sudo pacman -S openrc-base | ||
resolving dependencies... | resolving dependencies... | ||
looking for inter-conflicts... | looking for inter-conflicts... | ||
Line 42: | Line 83: | ||
:: Proceed with installation? [Y/n] | :: Proceed with installation? [Y/n] | ||
=== Common === | |||
After installing the ''openrc-base'' package, OpenRC should boot by default instead of systemd. Note that it will boot to a command line, as the service for a graphical display manager has not yet been installed. | After installing the ''openrc-base'' package, OpenRC should boot by default instead of systemd. Note that it will boot to a command line, as the service for a graphical display manager has not yet been installed. |