Difference between revisions of "OpenRC, an alternative to systemd"

imported>Aaditya
imported>Aaditya
Line 33: Line 33:
  Total Download Size:    0.22 MiB
  Total Download Size:    0.22 MiB
  Total Installed Size:  1.19 MiB
  Total Installed Size:  1.19 MiB
:: Proceed with installation? [Y/n]
=== Method B (Deprecated) ===
'''Note-'''
This binary repo is now mostly outdated.
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.
To use the binary repos, add the following near the end of the ''/etc/pacman.conf'' file:
[openrc]
SigLevel = Optional TrustAll
Server = http://archbang.org/repos/$repo/$arch
[aur-nosystemd]
SigLevel = Optional TrustAll
Server = http://archbang.org/repos/$repo/$arch
And then run '''sudo pacman -Syu''' to synchronise the reposotories.
The main package to install is ''openrc-base''. It installs a binary init sysvinit (sysvinit), and the OpenRC base scripts and configuration.
(When installing from the AUR the package is [https://aur.archlinux.org/packages/openrc-core/ openrc-core] rather than openrc-base. You may also need to install [https://aur.archlinux.org/packages/sysvinit/ sysvinit] manually if the build fails.)
To install the ''openrc-base'' package, use:
sudo pacman -S openrc-base
This package conflicts with ''systemd-sysvcompat'', which will be removed. The output looks like:
$ sudo pacman -S openrc-base
resolving dependencies...
looking for inter-conflicts...
:: openrc-base and systemd-sysvcompat are in conflict. Remove systemd-sysvcompat? [y/N] y
Packages (3): systemd-sysvcompat-212-3 [removal]  sysvinit-2.88-15
              openrc-base-0.12.4-12
Total Download Size:    0.24 MiB
Total Installed Size:  0.96 MiB
Net Upgrade Size:      0.95 MiB
   
   
  :: Proceed with installation? [Y/n]
  :: Proceed with installation? [Y/n]
Anonymous user