How can i find pathname of a file in macosx without moving to the specific directory where the file is located?

i want to go to specific file without searching for it by going in to all the directories and typing ls and all i know the file name and i want its path with just filename.Please help im new to unix programming and im interested in learning it thoroughly.And i have homebrew and iTerm (zsh) … Read more

Homebrew install older packages

When searching for an older version of a package – specifically phantomjs 1.9.8 – with Homebrew on Mac, it returns: If you meant “phantomjs” specifically: It was migrated from caskroom/cask to homebrew/core. Is there a way to get older versions? I’m on homebrew version 1.3.5 Answer I don’t see alternative versions from my side. > … Read more

Python 3.7.4 – Cant use installed packages (macOS)

So I have python 3.7.4 installed under macOS High Sierra 10.13.6 using brew (brew install python) and I am having some problems with it. First off, even though this is minor, I am wondering if this is contributing to it; When brew installs python, it says the following: Python has been installed as /usr/local/bin/python3 Unversioned … Read more

Node works globally but not in a specific directory after brew install yarn

MacOS Mojave here. When I installed yarn with brew install, I couldn’t run node (and thus npm). I went through a fair amount of troubleshooting steps that essentially forced uninstalled node and removed symlinks to node files in /usr/bin. I then installed nvm and successfully installed node. But, when I run node -v in a … Read more

Brew install a branch / fork

This might sound like a silly question. I can’t figure out how (if possible) to use brew on OSX to install an official branch of a GIT rep. Is there something i’m missing? Answer Homebrew can only install software that someone has created a recipe for. It isn’t a general-purpose installer. If you know how … Read more

Troubles when trying to install Homebrew

When I try to install Homebrew on my mac, I get this error message: ==> Downloading and installing Homebrew… error: could not lock config file /usr/local/Homebrew/.git/config: Permission denied fatal: could not set ‘core.repositoryformatversion’ to ‘0’ Failed during: git init -q pc132-196:~ x$ Any ideas of what I need to do? Answer Remove the current installation … Read more

Mac OS X: brew reports python 3.7.3, python3 –version reports python 3.6.3. How to fix?

I’m running Mac OS X High Sierra 10.13.6. When I do a “brew list python” from the terminal, it shows that I have python 3.7.3 installed: user@laptop:~$ brew list python /usr/local/Cellar/python/3.7.3/bin/2to3 /usr/local/Cellar/python/3.7.3/bin/2to3-3.7 /usr/local/Cellar/python/3.7.3/bin/easy_install-3.7 /usr/local/Cellar/python/3.7.3/bin/idle3 /usr/local/Cellar/python/3.7.3/bin/idle3.7 /usr/local/Cellar/python/3.7.3/bin/pip3 /usr/local/Cellar/python/3.7.3/bin/pip3.7 /usr/local/Cellar/python/3.7.3/bin/pydoc3 /usr/local/Cellar/python/3.7.3/bin/pydoc3.7 /usr/local/Cellar/python/3.7.3/bin/python3 /usr/local/Cellar/python/3.7.3/bin/python3-config /usr/local/Cellar/python/3.7.3/bin/python3.7 /usr/local/Cellar/python/3.7.3/bin/python3.7-config /usr/local/Cellar/python/3.7.3/bin/python3.7m /usr/local/Cellar/python/3.7.3/bin/python3.7m-config /usr/local/Cellar/python/3.7.3/bin/pyvenv /usr/local/Cellar/python/3.7.3/bin/pyvenv-3.7 /usr/local/Cellar/python/3.7.3/bin/wheel3 /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/ (2818 files) /usr/local/Cellar/python/3.7.3/IDLE 3.app/Contents/ (8 files) … Read more