From https://apple.stackexchange.com/questions/69223/how-to-replace-mac-os-x-utilities-with-gnu-core-utilities
Brew install coreutils
Answer from paftiem on Stack Exchangeyour commands will be accessible with g préfix so call
gsplit
GNU
gcc.gnu.org › install
Installing GCC - GNU Project
The latest version of this document is always available at https://gcc.gnu.org/install/. It refers to the current development sources, instructions for specific released versions are included with the sources.
Videos
26:41
How to Install GNU Guix System (2027 Edition) - YouTube
01:28:03
Installing desktop GNU/Linux - YouTube
08:38
How to Install Linux in 2024 - A Beginners Guide - YouTube
11:57
How to Install GCC and G++ Compiler on Ubuntu 24.04 LTS (Linux) ...
The 'install' Command In Linux
14:02
How to Install GCC and G++ Compiler on Ubuntu 22.04 LTS (Linux) ...
Top answer 1 of 3
24
It looks like the install -D command is actually what I want.
Manpage:
-D create all leading components of DEST except the last, then copy SOURCE to DEST
Works great, except you have to specify every file individually.
2 of 3
19
install -d is just used to create directories. You told it to create two directories, test and test2. test already existed, so all it needed to do was make test2. I don't think install supports copying entire directory trees; it's normally used on files. You probably need to use cp
GNU
gnu.org › prep › standards › html_node › Install-Command-Categories.html
Install Command Categories (GNU Coding Standards)
Normal commands move files into their proper places, and set their modes. They may not alter any files except the ones that come entirely from the package they belong to. Pre-installation and post-installation commands may alter other files; in particular, they can edit global configuration ...
GitHub
gist.github.com › skyzyx › 3438280b18e4f7c490db8a2a2ca0b9da
Using GNU command line tools in macOS instead of FreeBSD tools · GitHub
I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging. Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.
GNU
gnu.org › software › coreutils › manual › html_node › install-invocation.html
install invocation (GNU Coreutils 9.11)
If the --target-directory (-t) option is given, or failing that if the last file is a directory and the --no-target-directory (-T) option is not given, install copies each source file to the specified directory, using the sources’ names.
GNU
gnu.org › software › make › manual › html_node › Install-Command-Categories.html
Install Command Categories (GNU make)
The most common use for a post-installation command is to run install-info. This cannot be done with a normal command, since it alters a file (the Info directory) which does not come entirely and solely from the package being installed.
GNU
gnu.org › software › sourceinstall
GNU Source Installer
the command line front end, called sourceinstall-2.5, and finally the GTK graphical front end, called sourceinstall-gtk-2.5. You can install either of these front-ends or both, depending on your taste. You can fetch GNU Source Installer using one of the following methods:
Wikipedia
en.wikipedia.org › wiki › Install_(Unix)
install (Unix) - Wikipedia
December 7, 2025 - install is a shell command that ... software installation process. Features beyond copying include creating directories, setting file permission, changing file ownership and stripping executable files. The command is available in many Unix systems and Linux distributions, but unlike many other long-standing and commonly-used Unix utilities, it is not defined by POSIX. The command is available for Windows via UnxUtils. Two variants exists – one from GNU and one from ...
Linux Man Pages
man7.org › linux › man-pages › man1 › install.1.html
install(1) - Linux manual page
May 23, 2026 - INSTALL(1) User Commands INSTALL(1) install - copy files and set attributes · install [OPTION]... [-T] SOURCE DEST install [OPTION]... SOURCE... DIRECTORY install [OPTION]... -t DIRECTORY SOURCE... install [OPTION]... -d DIRECTORY... This install program copies files (often just compiled) into destination locations you choose. If you want to download and install a ready-to-use package on a GNU/Linux system, you should instead be using a package manager like yum(1) or apt-get(1).
Linux Man Pages
linux.die.net › man › 1 › install
install(1): copy files/set attribs - Linux man page
install [OPTION]... [-T] SOURCE DEST install [OPTION]... SOURCE... DIRECTORY install [OPTION]... -t DIRECTORY SOURCE...