Install Chown On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Maintainer: Michael Stone
Email: [email protected] .
Website: https://gnu.org/software/coreutils
Section: utils
Install chown
-
Debian
apt-get install coreutilsClick to copy -
Ubuntu
apt-get install coreutilsClick to copy -
Alpine OS
apk add coreutilsClick to copy -
Arch Linux
pacman -S coreutilsClick to copy -
Kali Linux
apt-get install coreutilsClick to copy -
CentOS
yum install coreutilsClick to copy -
Fedora
dnf install coreutilsClick to copy -
Raspbian
apt-get install coreutilsClick to copy -
macOS
brew install coreutilsClick to copy
Change user and group ownership of files and folders.
How to use chown?
Below are few example commands for chown that you can use in the terminal.
Change the owner user of a file/folder:chown user path/to/fileClick to copyChange the owner user and group of a file/folder:chown user:group path/to/fileClick to copyRecursively change the owner of a folder and its contents:chown -R user path/to/folderClick to copyChange the owner of a symbolic link:chown -h user path/to/symlinkClick to copyChange the owner of a file/folder to match a reference file:chown --reference=path/to/reference_file path/to/fileClick to copy
To install the latest version of chown in your favorite operating system just copy the chown installation command from above and paste it into terminal. It will download and install the latest version of chown 2026 package in your OS.




