![]() ![]() Later, if you wish to unpin the package, Homebrew will then upgrade it along with all other packages. brew pin package_name: It allows you to specify a Homebrew package to prevent it from being upgraded when you run the brew upgrade command on your system.brew outdated: It's used for listing out all the Homebrew packages on your system that are outdated and need to be updated.brew doctor: It checks your system for any potential problems and lists them out, so you can fix them and avoid running into issues when using Homebrew.brew help sub_command: It's useful when you want to learn more about a specific Homebrew command, including the available options and usage.brew help: It prints out various Homebrew commands with their usage and purpose.Other Useful Homebrew Commands You Should KnowĪlthough the commands discussed so far are pretty much all you need to know to use Homebrew on Linux, Homebrew also has a few other useful commands that you should know about. However, if you aren't sure, you can look up the package to verify Homebrew has it by running: brew search package_nameįor example, to search if htop is available on Homebrew repositories, enter: brew search htopįinally, to install the package, use: brew install package_name Now, if you're following a guide online to install a package, you'd be sure that the package is present on Homebrew, and therefore, you can install it right away. Since you've just installed Homebrew, it's likely already up-to-date, but it's always a good practice to do this before installing a new package. Open the terminal and run this command to do this: brew update Installing a Package Using Homebrewīefore you jump in and install a package using Homebrew, you must first update Homebrew and all its package definitions. ![]() Follow the instructions in the following sections to carry out these operations. With Homebrew installed, you can now use it to install, update, and delete existing Homebrew packages on your Linux machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |