| 1 |
<!-- spell-checker:ignore pacman pamac nixpkgs openmandriva conda winget openembedded yocto bblayers bitbake MSYS --> |
| 2 |
|
| 3 |
# Installation |
| 4 |
|
| 5 |
This is a list of uutils packages in various distributions and package managers. |
| 6 |
Note that these are packaged by third-parties and the packages might contain |
| 7 |
patches. |
| 8 |
|
| 9 |
You can also [build uutils from source](build.md). |
| 10 |
|
| 11 |
<!-- toc --> |
| 12 |
|
| 13 |
## Cargo |
| 14 |
|
| 15 |
[](https://crates.io/crates/coreutils) |
| 16 |
|
| 17 |
```shell |
| 18 |
# Unix like |
| 19 |
cargo install coreutils --features unix --locked |
| 20 |
# Windows |
| 21 |
cargo install coreutils --features windows --locked |
| 22 |
``` |
| 23 |
|
| 24 |
## Linux |
| 25 |
|
| 26 |
### Alpine |
| 27 |
|
| 28 |
[](https://pkgs.alpinelinux.org/packages?name=uutils-coreutils) |
| 29 |
|
| 30 |
```shell |
| 31 |
apk update uutils-coreutils |
| 32 |
``` |
| 33 |
|
| 34 |
> **Note**: Requires the `edge` repository. |
| 35 |
|
| 36 |
### Arch |
| 37 |
|
| 38 |
[](https://archlinux.org/packages/extra/x86_64/uutils-coreutils/) |
| 39 |
|
| 40 |
```shell |
| 41 |
pacman -S uutils-coreutils |
| 42 |
``` |
| 43 |
|
| 44 |
### Debian |
| 45 |
|
| 46 |
[](https://packages.debian.org/sid/source/rust-coreutils) |
| 47 |
|
| 48 |
```shell |
| 49 |
apt install rust-coreutils |
| 50 |
# To use it: |
| 51 |
export PATH=/usr/lib/cargo/bin/coreutils:$PATH |
| 52 |
``` |
| 53 |
|
| 54 |
### Fedora |
| 55 |
|
| 56 |
[](https://packages.fedoraproject.org/pkgs/rust-coreutils/uutils-coreutils) |
| 57 |
|
| 58 |
```shell |
| 59 |
dnf install uutils-coreutils |
| 60 |
# To use it: |
| 61 |
export PATH=/usr/libexec/uutils-coreutils:$PATH |
| 62 |
``` |
| 63 |
|
| 64 |
### Gentoo |
| 65 |
|
| 66 |
[](https://packages.gentoo.org/packages/sys-apps/uutils-coreutils) |
| 67 |
|
| 68 |
```shell |
| 69 |
emerge -pv sys-apps/uutils-coreutils |
| 70 |
``` |
| 71 |
|
| 72 |
### Manjaro |
| 73 |
|
| 74 |
[](https://packages.manjaro.org/?query=uutils-coreutils) |
| 75 |
[](https://packages.manjaro.org/?query=uutils-coreutils) |
| 76 |
[](https://packages.manjaro.org/?query=uutils-coreutils) |
| 77 |
|
| 78 |
```shell |
| 79 |
pacman -S uutils-coreutils |
| 80 |
# or |
| 81 |
pamac install uutils-coreutils |
| 82 |
``` |
| 83 |
|
| 84 |
### NixOS |
| 85 |
|
| 86 |
[](https://search.nixos.org/packages?query=uutils-coreutils) |
| 87 |
|
| 88 |
```shell |
| 89 |
nix-env -iA nixos.uutils-coreutils |
| 90 |
``` |
| 91 |
|
| 92 |
### OpenMandriva Lx |
| 93 |
|
| 94 |
[](https://repology.org/project/uutils-coreutils/versions) |
| 95 |
|
| 96 |
```shell |
| 97 |
dnf install uutils-coreutils |
| 98 |
``` |
| 99 |
|
| 100 |
### RHEL/AlmaLinux/CENTOS Stream/Rocky Linux/EPEL 9 |
| 101 |
|
| 102 |
[](https://packages.fedoraproject.org/pkgs/rust-coreutils/uutils-coreutils/epel-9.html) |
| 103 |
|
| 104 |
```shell |
| 105 |
# Install EPEL 9 - Specific For RHEL please check codeready-builder-for-rhel-9 First then install epel |
| 106 |
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y |
| 107 |
# Install Core Utils |
| 108 |
dnf install uutils-coreutils |
| 109 |
# To use it: |
| 110 |
export PATH=/usr/libexec/uutils-coreutils:$PATH |
| 111 |
``` |
| 112 |
|
| 113 |
### Ubuntu |
| 114 |
|
| 115 |
[](https://packages.ubuntu.com/source/rust-coreutils) |
| 116 |
|
| 117 |
```shell |
| 118 |
apt install rust-coreutils |
| 119 |
# To use it: |
| 120 |
export PATH=/usr/lib/cargo/bin/coreutils:$PATH |
| 121 |
``` |
| 122 |
|
| 123 |
### AUR |
| 124 |
|
| 125 |
[Build main branch from source](https://aur.archlinux.org/packages/uutils-coreutils-git) |
| 126 |
or |
| 127 |
[Binaries from main branch](https://aur.archlinux.org/packages/uutils-coreutils-git-bin) |
| 128 |
|
| 129 |
```shell |
| 130 |
git clone https://aur.archlinux.org/uutils-coreutils-git --depth=1 |
| 131 |
cd uutils-coreutils-git |
| 132 |
makepkg -si |
| 133 |
``` |
| 134 |
|
| 135 |
## MacOS |
| 136 |
|
| 137 |
### Homebrew |
| 138 |
|
| 139 |
[](https://formulae.brew.sh/formula/uutils-coreutils) |
| 140 |
|
| 141 |
```shell |
| 142 |
brew install uutils-coreutils |
| 143 |
``` |
| 144 |
|
| 145 |
### MacPorts |
| 146 |
|
| 147 |
[](https://ports.macports.org/port/coreutils-uutils/) |
| 148 |
|
| 149 |
``` |
| 150 |
port install coreutils-uutils |
| 151 |
``` |
| 152 |
|
| 153 |
## FreeBSD |
| 154 |
|
| 155 |
[](https://repology.org/project/rust-coreutils/versions) |
| 156 |
|
| 157 |
```sh |
| 158 |
pkg install rust-coreutils |
| 159 |
``` |
| 160 |
|
| 161 |
## Windows |
| 162 |
|
| 163 |
### Winget |
| 164 |
|
| 165 |
```shell |
| 166 |
winget install uutils.coreutils |
| 167 |
``` |
| 168 |
|
| 169 |
### Scoop |
| 170 |
|
| 171 |
[Scoop package](https://scoop.sh/#/apps?q=uutils-coreutils&s=0&d=1&o=true) |
| 172 |
|
| 173 |
```shell |
| 174 |
scoop install uutils-coreutils |
| 175 |
``` |
| 176 |
|
| 177 |
### MSYS2 |
| 178 |
|
| 179 |
[MSYS2 package (Windows native)](https://packages.msys2.org/base/mingw-w64-uutils-coreutils) |
| 180 |
|
| 181 |
[MSYS2 package (Cygwin)](https://packages.msys2.org/base/uutils-coreutils) |
| 182 |
|
| 183 |
## Alternative installers |
| 184 |
|
| 185 |
### Conda |
| 186 |
|
| 187 |
[Conda package](https://anaconda.org/conda-forge/uutils-coreutils) |
| 188 |
|
| 189 |
``` |
| 190 |
conda install -c conda-forge uutils-coreutils |
| 191 |
``` |
| 192 |
|
| 193 |
### Yocto |
| 194 |
|
| 195 |
[Yocto recipe](https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/recipes-core/uutils-coreutils) |
| 196 |
|
| 197 |
The uutils-coreutils recipe is provided as part of the meta-openembedded yocto layer. |
| 198 |
Clone [poky](https://github.com/yoctoproject/poky) and [meta-openembedded](https://github.com/openembedded/meta-openembedded/tree/master), add |
| 199 |
`meta-openembedded/meta-oe` as layer in your `build/conf/bblayers.conf` file, |
| 200 |
and then either call `bitbake uutils-coreutils`, or use |
| 201 |
`PREFERRED_PROVIDER_coreutils = "uutils-coreutils"` in your `build/conf/local.conf` file and |
| 202 |
then build your usual yocto image. |