GNU CoreUtils
1.1、GNU CoreUtils简介
是什么 ?:the core utilities which are expected to exist on every operating system.
开发语言:C
官方主页:https://www.gnu.org/software/coreutils
1.2、通过包管理器安装GNU CoreUtils
操作系统包管理器安装命令
Windowsscoopscoop install coreutils
WindowsChocolateychoco install -y msys2msys2
macOSHomeBrewbrew install coreutils
GNU/LinuxLinuxBrewbrew install coreutils
aptsudo apt-get install -y coreutils
CentOSyumsudo yum install -y coreutils
dnfsudo dnf install -y coreutils
openSUSEzyppersudo zypper install -y coreutils
Alpine Linuxapksudo apk add coreutils

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm coreutils
Gentoo LinuxPortagesudo emerge coreutils
1.3、通过源码装GNU CoreUtils 

step1、安装依赖

下载时cURL
解压时tarxz
编译时POSIX shGNU CoreUtilsmakegcchelp2man
运行时glibc ( libc.solibpthread.sold-linux-x86-64.so )

step2、使用curl命令下载CoreUtils源码包 (

curl -LO https://mirrors.tuna.tsinghua.edu.cn/gnu/coreutils/coreutils-8.26.tar.xz

step3、使用tar解压CoreUtils源码包

tar vxf coreutils-8.26.tar.xz

step4、进入coreutils-8.26目录,并查看它的内容

step5、配置、编译、安装

./configure --prefix=/usr && make && sudo make install
1.4、GNU CoreUtils中包含的命令