$ brew unlink httpd24 $ brew uninstall httpd24 $ rm -rf /usr/local/etc/apache2/ I now want to completely uninstall httpd24 but am still seeing it in my processes. It seems that the default installation of Apache on macOS Sierra was still active in some way. This has caused some weird Apache issues. Leave a comment download below and share this post.On macOS Sierra, I installed Apache using Homebrew: You can now use Homebrew to install tools, command-line utilities, updating packages, managing services, and more. In this post you explored how to install and used Homebrew package manager on your macOS system. The command above should download the uninstaller script and run it on your system.įollow along the provided prompts to remove Homebrew from your system. If you no longer need Homebrew as your package manager, you can uninstall it by running the command: /bin/bash -c "$(curl -fsSL )" Output: Uninstalling /opt/homebrew/Cellar/vim/_1. To remove an existing package using Homebrew, run the brew uninstall command followed by the name of the package you wish to remove. The command should install the specified package and all the required dependencies. Once you find the package you wish to install, run the brew install command followed by the name of the package you wish to install: brew install vim You can also search packages in the brew homepage provided below: This should return the matching packages as: (base) ~ % brew search vimĪvimetaedit neovim-qt pyvim vimpc viu vis macvim neovim-remote vim ✔ zsh-vi-mode vit zim neovim pacvim vimpager vifm vip nimįvim goneovim kindavim macvim via vimediamanager vimr vym Once you have installed Homebrew, you can search for the package you wish to install by running the command: brew search įor example, to search for the package vim, we can run the command: brew search -desc "vim" Homebrew/homebrew-cask (git revision 5df420c2ae last commit ) Homebrew/homebrew-core (git revision 89380db84dc last commit ) This should return the installed brew version as: Homebrew 3.6.3 You can confirm by running the command: brew -version Once completed, you should have Homebrew installed and ready to go. The script may provide you with commands to learn to add Homebrew to the path. The installer script will download and configure the system for Homebrew. You can navigate to the installer file in the link below:Įnter the administrator password to install Homebrew. NOTE: It is good to ensure that you are comfortable with the operations executed by the installer script. Once Xcode tools are setup, run the command below to download the Homebrew installer script: /bin/bash -c "$(curl -fsSL )" Wait for the process to complete and proceed to the next step. You will also be prompted to read and accept the licenses for the provide tools. The command will prompt to accept the installation process. To install xcode tools, run the command: xcode-select -install It provides a suite of tools and dependencies that are required to run various packages.Īlthough you won't need Xcode to use Homebrew, it is required to ensure that the packages you install with Homebrew function properly. Xcode is a development environment for macOS. Advertisements Step 2 - Install Xcode Command Line Tools Once you have the terminal session ready, we can proceed. You can also open the Spotlight Search and enter Terminal. Navigate to Applications -> Utilities -> Terminal. When installing packages on your Mac using Homebrew, you will be using the terminal utility. Advertisements Step 1 - Launch the macOS Terminal Utility To successfully follow along with this tutorial, ensure you have the following: How to install redis on Mac OS Requirements
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |