How To Install Lscpu On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
Install lscpu
-
Debian
apt-get install util-linuxClick to copy -
Ubuntu
apt-get install util-linuxClick to copy -
Alpine OS
apk add util-linuxClick to copy -
Arch Linux
pacman -S util-linuxClick to copy -
Kali Linux
apt-get install util-linuxClick to copy -
CentOS
yum install util-linuxClick to copy -
Fedora
dnf install util-linuxClick to copy -
Raspbian
apt-get install util-linuxClick to copy -
macOS
brew install util-linuxClick to copy
Displays information about the CPU architecture.
How to use lscpu?
Below are few example commands for lscpu that you can use in the terminal.
Display information about all CPUs:lscpuClick to copyDisplay information in a table:lscpu --extendedClick to copyDisplay only information about offline CPUs in a table:lscpu --extended --offlineClick to copy
Installation of latest lscpu command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




