Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the exact command to install yum through brew?

Tags:

homebrew

yum

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.
like image 480
verystrongjoe Avatar asked Aug 22 '16 11:08

verystrongjoe


People also ask

Can we install yum on Mac?

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.

What is yum command Mac?

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.

Which command is used to install a package with yum?

To install a particular package from a specific enabled or disabled repository, you must use --enablerepo an option in your yum command.


1 Answers

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.

like image 149
MichielB Avatar answered Nov 10 '22 00:11

MichielB