How to remove systemd from a Debian jessie/sid installation

From Without Systemd
(Difference between revisions)
Jump to: navigation, search
(Created page with " First install a good init system # apt-get install sysvinit-core sysvinit sysvinit-utils Then reboot your machine and remove all the systemd crap # apt-get remove --purge --au…")
 
Line 1: Line 1:
+
First install the SysV init packages
First install a good init system
 
 
# apt-get install sysvinit-core sysvinit sysvinit-utils
 
# apt-get install sysvinit-core sysvinit sysvinit-utils
Then reboot your machine and remove all the systemd crap
+
Then reboot your machine and remove all of the systemd packages
 
# apt-get remove --purge --auto-remove systemd
 
# apt-get remove --purge --auto-remove systemd
To keep systemd away from your system you should prevent the package from being installed again.
+
Prevent apt from installing systemd packages in the future.
 
# echo -e "Package: systemd\nPin: origin ""\nPin-Priority: -1" > /etc/apt/preferences.d/systemd
 
# echo -e "Package: systemd\nPin: origin ""\nPin-Priority: -1" > /etc/apt/preferences.d/systemd

Revision as of 17:03, 1 December 2014

First install the SysV init packages

# apt-get install sysvinit-core sysvinit sysvinit-utils

Then reboot your machine and remove all of the systemd packages

# apt-get remove --purge --auto-remove systemd

Prevent apt from installing systemd packages in the future.

# echo -e "Package: systemd\nPin: origin ""\nPin-Priority: -1" > /etc/apt/preferences.d/systemd
Personal tools