How To Install Sysctl On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?
Maintainer: Craig Small
Email: [email protected] .
Website: https://gitlab.com/procps-ng/procps
Section: admin
Install sysctl
-
Debian
apt-get install procpsClick to copy -
Ubuntu
apt-get install procpsClick to copy -
Alpine OS
apk add procpsClick to copy -
Arch Linux
pacman -S procps-ngClick to copy -
Kali Linux
apt-get install procpsClick to copy -
CentOS
yum install procps-ngClick to copy -
Fedora
dnf install procps-ngClick to copy -
Raspbian
apt-get install procpsClick to copy
List and change kernel runtime variables.
How to use sysctl?
Below are few example commands for sysctl that you can use in the terminal.
Show all available variables and their values:sysctl -aClick to copySet a changeable kernel state variable:sysctl -w section.tunable=valueClick to copyGet currently open file handlers:sysctl fs.file-nrClick to copyGet limit for simultaneous open files:sysctl fs.file-maxClick to copyApply changes from /etc/sysctl.conf:sysctl -pClick to copy
To install the latest version of sysctl in your favorite operating system just copy the sysctl installation command from above and paste it into terminal. It will download and install the latest version of sysctl 2026 package in your OS.




