How To Install Chkconfig On Debian, CentOS, Fedora And Raspbian?

How To Install Chkconfig On Debian, CentOS, Fedora And Raspbian?

chkconfig

Manage the runlevel of services on CentOS 6.

Install chkconfig

  • Debian apt-get install chkconfig Click to copy
  • CentOS yum install chkconfig Click to copy
  • Fedora dnf install chkconfig Click to copy
  • Raspbian apt-get install chkconfig Click to copy

Manage the runlevel of services on CentOS 6.

How to use chkconfig?

Below are few example commands for chkconfig that you can use in the terminal.

List services with runlevel:
chkconfig --listClick to copy
Show a service's runlevel:
chkconfig --list ntpdClick to copy
Enable service at boot:
chkconfig sshd onClick to copy
Enable service at boot for runlevels 2, 3, 4, and 5:
chkconfig --level 2345 sshd onClick to copy
Disable service at boot:
chkconfig ntpd offClick to copy
Disable service at boot for runlevel 3:
chkconfig --level 3 ntpd offClick to copy
To install the latest version of chkconfig in your favorite operating system just copy the chkconfig installation command from above and paste it into terminal. It will download and install the latest version of chkconfig 2026 package in your OS.