I am in my Ubuntu server using terminal with a super user. I installed brew with sudo apt install linuxbrew-wrapper
. I tried the command brew search mysql
, and it comes back with the response:
Command 'brew' not found, but can be installed with:
sudo apt install linuxbrew-wrapper
I looked up this issue and it suggests to run the command for your path environment variable echo $PATH
which returns:
/home/myUser/.config/composer/vendor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
I'm attempting to edit ~/.bashrc
, but I cannot find anything there that says "export PATH". I wanted to try to change it to export PATH="/usr/local/bin:$PATH"
as the Stack Exchange answer suggests.
But perhaps this isn't the right thing to do for Laravel? How can I get Brew to run after installing it?