Since Mark Shuttleworth decided to switch to sytemd in the future, I was wondering if I can install it on my Ubuntu now?
Asked
Active
Viewed 5.0k times
2 Answers
44
Wily Werewolf (15.10) and newer:
You don't have to do anything. You are using systemd by default.
Trusty (14.04) and older:
You are out of luck. Ubuntu repositories do not provide the systemd binaries for versions before Utopic, despite the fact that their sources do generate the files. You can learn more about this in this answer.
4
add these ppas
sudo add-apt-repository ppa:ondrej/systemd
sudo apt-get update
systemd requires the directory /sys/fs/cgroup
as a mountpoint. It doesn't exist in the current Ubuntu kernel (2.6.35). It can't be created with mkdir either because sysfs doesn't allow that. To create the directory this patch from the 2.6.36 kernel must be backported.
A suitably patched kernel can be pulled via apt-get
sudo apt-get install linux-image-2.6.35-23-generic=2.6.35-23.41ppa1 linux-headers-2.6.35-23-generic=2.6.35-23.41ppa1 linux-headers-2.6.35-23=2.6.35-23.41ppa1
then install systemd
sudo apt-get install systemd libpam-systemd systemd-gui systemd-extra-units
for more information go to this link

Avinash Raj
- 78,556

Zuko
- 1,267
- 11
- 12
-
-
-
2
-
1That wiki information is really out of date, I read it as well when trying to find the answer to this question and was not impressed – michel-slm Mar 13 '14 at 01:47
-
1
-
/lib/systemd/systemd
isn't provided by any package before utopic... I'm not sure what's going on since I have/lib/systemd/systemd
in my updated-from-raring trusty system. – Braiam Sep 03 '14 at 01:12"While systemd is available in prior releases through the Ubuntu repositories, there is a deemphasis of support for these releases as noted here. https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1438967/comments/2 "
– user14654 May 29 '15 at 10:54