I tried installing yum through brew install command. but it is not working with the message below. What is the problem? I can not find any good materials.
$ brew install "yum"
Error: No available formula with the name "yum"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
If you want the equivalent of apt-get or yum on Mac OS X, you have two choices. You can use brew install PACKAGE_NAME or port install PACKAGE_NAME to install the package available. There are guides on how to run Hombrew side-by-side with Macports or Fink, but it is generally recommended to choose one and stick with it.
Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.
To install a particular package from a specific enabled or disabled repository, you must use --enablerepo an option in your yum command.
yum
is a package manager for Red Hat Linux. It will not work on macOS. brew
is a package manager for macOS
So instead of trying to install yum
to install another piece of software, you might want to try to install this software using brew
directly. But beware: the package names might not be the same. Use brew search
to search for packages in brew, or maybe, even better, try and find specific instructions for macOS for the software you're trying to install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With