How would I upgrade systemd?

I read today that systemd has been updated to version 220 over on It Runs On Linux. I was wondering a couple of things not included in the article and pertaining specifically to ubuntu 15.04.

  1. As the title states, how would I update systemd? It downloads as a tar.xz file, so would I just open up terminal and do a tar -xvzf systemd-220.tar.xz?

  2. Would it fix the "starting version 219" system stalls on boot? I figured out how to fix the ACPI part of the common error that comes with nvidia drivers but I still get that hang. Eventually my system boots but it takes sometimes upwards of a minute to get into the GUI.

Thanks in advance for any info


As already pointed out by @mikewhatever and @earthmeLon you really shouldn't mess around with this.

But if you really want to (make sure you've backups!), the best way to go would be with the uupdate script from devscripts. Run the following commands to install all necessary dependencies

$ sudo apt-get install build-essential devscripts
$ sudo apt-get build-dep systemd

Next download and extract the source tar-balls

$ mkdir systemd
$ cd systemd/
$ wget http://www.freedesktop.org/software/systemd/systemd-220.tar.xz
$ wget http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_219-7ubuntu3.dsc
$ wget http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_219.orig.tar.xz
$ wget http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_219-7ubuntu3.debian.tar.xz

$ tar xvJf systemd_219.orig.tar.xz 
$ cd systemd-219/
$ tar xvJf ../systemd_219-7ubuntu3.debian.tar.xz 

Finally you can create a new source dir with uupdate, build .deb files and install them

$ uupdate ../systemd-220.tar.xz 220
$ cd ../systemd-220
$ dpkg-buildpackage -us -uc
$ cd ..
$ sudo dpkg -i *.deb