How To Install Update-rc.d In Debian, Ubuntu, Kali And Raspbian?

How To Install Update-rc.d In Debian, Ubuntu, Kali And Raspbian?

update-rc.d

Install and remove services which are System-V style init script links.
Init scripts are in the /etc/init.d/.

Maintainer: Debian systemd Maintainers


Section: admin

Install update-rc.d

  • Debian apt-get install init-system-helpers Click to copy
  • Ubuntu apt-get install init-system-helpers Click to copy
  • Kali Linux apt-get install init-system-helpers Click to copy
  • Raspbian apt-get install init-system-helpers Click to copy

Install and remove services which are System-V style init script links. Init scripts are in the /etc/init.d/.

How to use update-rc.d?

Below are few example commands for update-rc.d that you can use in the terminal.

Install a service:
update-rc.d mysql defaultsClick to copy
Enable a service:
update-rc.d mysql enableClick to copy
Disable a service:
update-rc.d mysql disableClick to copy
Forcibly remove a service:
update-rc.d -f mysql removeClick to copy
Install the latest version of update-rc.d in Debian, Ubuntu, Kali and Raspbian from terminal. To install the update-rc.d just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of update-rc.d from the respository and install it in your computer/server.