Repeat step 2 until all the packages are uninstalled. Make sure that all Homebrew packages are removed by running brew list and verifying that the command doesn't give any output. Run brew list to list all the installed packages.įor every listed package p, run brew uninstall p. To completely undo everything that this command did, first uninstall all packages that could have been possibly installed by Homebrew. Homebrew is a community developed package manager for macOS. The instructions on the mentioned website led you to install Homebrew and Homebrew Cask, and use it to install qBittorrent. Here is the content of /usr/local folder drwxrwxr-x 2 user admin 68 Apr 24 11:52 Cellarĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 Frameworksĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 Homebrewĭrwxrwxr-x 9 user admin 306 Feb 4 17:08 binĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 etcĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 includeĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 libĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 optĭrwxr-xr-x 3 root wheel 102 remotedesktopĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 sbinĭrwxrwxr-x 4 user admin 136 Apr 24 11:52 shareĭrwxrwxr-x 2 user admin 68 Apr 24 11:52 var So I am worrying that the command might had anything "malicious" to download etc. The reason for asking this is because I pasted the url of the site, from which I copied the command, in and it showed that the site is malicious. When I type brew command I get unknown command so I guess homebrew is not installed.Ĭan anyone explain what exactly this command did and how to undo it? Ruby -e "$(curl -fsSL )" /dev/null brew install caskroom/cask/brew-cask 2> /dev/nullīut then I decided that I want to undo everything that this command has done since the system had another torrent program already installed.Īfterwards, the apple store poped up an update for the Xorg tools. The previous command only works for the official repository, if you want to upgrade the packages other repositories you can reinstall the package or use brew-cask-upgrade for Cask repository.I followed the instructions on this site and installed qbittorent. These are the commands to update Homebrew packages, the first update the homebrew database and the second one is to upgrade all the outdated packages: brew update Homebrew is a console application as you already noted, but if you want to install a graphic tool, Cakebrew is a graphic tool to manage the homebrew packages.Ĭakebrew is on the Cask repository to install this application you can use the command below: brew cask install -appdir="/Applications" cakebrew Or install a package in particular without adding the repository with this syntax: brew install homebrew/science/ There are a good number of science packages in this repository, to install packages you can add the repository to your homebrew, this way: brew tap homebrew/science Search fonts are disabled for this repository because there are bug, so if you want to search fonts you must use this command: brew cask search // Now you can install a font for example inconsolata: brew cask install font-inconsolata This repository has a lot of fonts for your system, to add the repository to you Homebrew you use the command below: brew tap caskroom/fonts You don't need to add the repository because already comes with Homebrew. One of the most used repositories is Cask because it provides applications like Google Chrome, Spotify, 1Password, etc. Like a Linux package manager in Homebrew is possible to add repositories to install more applications that are not available in the official repository. You can install applications with the install option, for example for install wget: brew install wgetĪnd that's it now your system has wget installed from Homebrew. Wait couple minutes the script will install Homebrew for your user. You only need open the terminal and insert this command: /usr/bin/ruby -e "$(curl -fsSL )" If you don't have Homebrew installed it is easy to install, you can see the installation instructions on its website. If you see in my previous posts, I used Homebrew to install my applications, and I used it because is easy to use and keeps applications updated. Homebrew is a package manager something similar that you can found on Linux distributions.
0 Comments
Leave a Reply. |