homebrew

Using HomeBrew to install MySQL

眉间皱痕 提交于 2020-05-28 08:15:50
问题 I have MySQL stable 8.0.19 (bottled) installed via mac HomeBrew: brew install mysql and it asks me to follow these instructions in the Caveat section: We've installed your MySQL database without a root password. To secure it run: mysql_secure_installation MySQL is configured to only allow connections from localhost by default To connect run: mysql -uroot To have launchd start mysql now and restart at login: brew services start mysql Or, if you don't want/need a background service you can just

Using HomeBrew to install MySQL

百般思念 提交于 2020-05-28 08:15:48
问题 I have MySQL stable 8.0.19 (bottled) installed via mac HomeBrew: brew install mysql and it asks me to follow these instructions in the Caveat section: We've installed your MySQL database without a root password. To secure it run: mysql_secure_installation MySQL is configured to only allow connections from localhost by default To connect run: mysql -uroot To have launchd start mysql now and restart at login: brew services start mysql Or, if you don't want/need a background service you can just

Using HomeBrew to install MySQL

半城伤御伤魂 提交于 2020-05-28 08:15:30
问题 I have MySQL stable 8.0.19 (bottled) installed via mac HomeBrew: brew install mysql and it asks me to follow these instructions in the Caveat section: We've installed your MySQL database without a root password. To secure it run: mysql_secure_installation MySQL is configured to only allow connections from localhost by default To connect run: mysql -uroot To have launchd start mysql now and restart at login: brew services start mysql Or, if you don't want/need a background service you can just

Error: caskroom/cask was moved. Tap homebrew/cask-cask instead

这一生的挚爱 提交于 2020-05-26 10:48:06
问题 I try to go through installation process Github on MacOs Catalina The first step is to execute in Terminal: cd ~/ curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash But I get Error: Error: caskroom/cask was moved. Tap homebrew/cask-cask instead. Then I tried: brew tap caskroom/cask But I got the same error. Do you have any suggestions? 回答1: You don't need to install cask anymore, you just need homebrew. Try using any cask command 回答2: tap from homebrew

Unable to install java8 with homebrew

白昼怎懂夜的黑 提交于 2020-05-24 17:10:46
问题 Installing java8 with Homebrew seems to no longer be working. After running: brew install caskroom/cask/java8 I get the following error: Error: Cask 'java8' is unavailable: '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks/java8.rb' does not exist. Simply doing: brew cask install java8 Errors out with: Error: Cask 'java8' is unavailable: No Cask with this name exists. This seems like a recent development because I remember installing it this way a few months ago. Any suggestions

Can I use Homebrew on Ubuntu?

耗尽温柔 提交于 2020-05-24 08:10:11
问题 I just tried to use Homebrew and Linuxbrew to install packages on my Ubuntu Server but both failed. This is how I tried to install them: sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)" I got the following warning: Warning: /home/tong/.linuxbrew/bin is not in your PATH. I vi my bash.bashrc in home/etc and add this: export

Installed, just not linked

元气小坏坏 提交于 2020-05-21 08:17:38
问题 Note: I'm not so good at using shell. I was trying to install Valgrind using brew on Yosemite. brew install --HEAD valgrind Towards the end, I got an error having to do with linking so when I tried to reinstall, I got: Warning: valgrind-HEAD already installed, it's just not linked So apparently I've already installed it. Then based on other SO questions and answers, I tried: brew link valgrind This seemed to solve other people's problems with linking an already installed software but this

Installed, just not linked

人走茶凉 提交于 2020-05-21 08:17:23
问题 Note: I'm not so good at using shell. I was trying to install Valgrind using brew on Yosemite. brew install --HEAD valgrind Towards the end, I got an error having to do with linking so when I tried to reinstall, I got: Warning: valgrind-HEAD already installed, it's just not linked So apparently I've already installed it. Then based on other SO questions and answers, I tried: brew link valgrind This seemed to solve other people's problems with linking an already installed software but this

No such module psutil, even though psutil is installed

亡梦爱人 提交于 2020-05-14 13:00:06
问题 I am on OS X El Capitan. I want to import psutil for a python script, but get module psutil not found . If I do pip install psutil I get psutil already installed. How is this possible that I have psutil installed, but it does not find it in the script? I am using both macports and homebrew to install several python packages. Maybe this is a problem? Any ideas how I can get psutil to import? I have python27 and python34 on my system. For this project I need to use python27. This is my log for

Homebrew MySQL 8.0.18 on macOS 10.15 Catalina won't run as service

|▌冷眼眸甩不掉的悲伤 提交于 2020-05-13 06:39:47
问题 Another macOS upgrade + another MySQL upgrade = another set of problems. I can't seem to get MySQL 8.0.18 to run as a homebrew service on macOS 10.15 Catalina. Please show me the error of my ways. Here's what I did : brew install mysql brew pin mysql touch /tmp/mysql.sock mysql.server start unset TMPDIR mysql_secure_installation mysql.server stop sudo brew services start mysql Here's what I expected : MySQL to run merrily along as a homebrew service as user root. Here's what happened : MySQL