I'm trying to get ALEPH - A Learning Engine for Proposing Hypotheses - http://www.cs.ox.ac.uk/activities/machinelearning/Aleph/aleph - on Mac.
As I understood, I will need YAP - Yet Another Prolog. As far as I've found on the internet everyone does it be "brew install yap" (I have brew). That's what I get:
$ brew install yap
Error: No available formula with the name "yap"
==> Searching for a previously deleted formula...
Warning: homebrew/core is shallow clone. To get complete history run: git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Does anyone have any idea of what to do?
Related
I recently installed Homebrew via terminal, but I get some errors when I try to use it to install other programs.
This is an example situation when I try to install pyenv.
brew install pyenv
This is the output of above command:
Running `brew update --preinstall`...
Warning: No available formula with the name "ca-certificates".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Error:
homebrew-cask is a shallow clone.
To `brew update`, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Error: pyenv: undefined method `cellar' for #<BottleSpecification:0x00007fd7720b4360>
I had the exact same problem.
What solved my issue on macOS Monterey 12.1 was to investigate the problem with brew doctor and then do as the output recommended.
The output of brew doctor informed me that the homebrew/homebrew-core hasn't been tapped properly and recommended the following commands:
rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
brew tap homebrew/core
Then I just continued with Pyenv's installation process and everything worked.
When I try to install ffmpeg using brew, I am prompted to install the “nasm” formula first. However, when I tried to install “nasm” formula, made the following error
➜ ~ brew install ffmpeg
Running `brew update --preinstall`...
fatal: Could not resolve HEAD to a revision
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 5 casks.
Warning: No available formula with the name "nasm" (dependency of homebrew-ffmpeg/ffmpeg/ffmpeg).
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
➜ ~ brew install nasm
Warning: No available formula with the name "nasm".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
I think (long ago) I might have tried brew to install FFmpeg and got stuck. In the end, I installed it manually:
# 1. Install the zipped executable, or visit https://ffmpeg.org
curl -JL -o ~/Downloads/ffmpeg.zip https://evermeet.cx/ffmpeg/get/zipcurl -JL -o ~/Downloads/ffmpeg.zip https://evermeet.cx/ffmpeg/get/zip
# 2. Inflate/extract executable file
unzip ~/Downloads/ffmpeg.zip -d ~/Downloads/ffmpeg
# 3. Move file into executables directory
cp ~/Downloads/ffmpeg/ffmpeg /usr/local/bin/ffmpeg
# 4. Allow file to execute
chmod +x /usr/local/bin/ffmpeg
# 5. Quick check
file /usr/local/bin/ffmpeg
# /usr/local/bin/ffmpeg: Mach-O 64-bit executable x86_64
# 6. Ready set go!
ffmpeg
Source: I struggled with this and wrote a post on my personal site, recently updated.
I am trying to install wget on my Mac but when ever I try to install it it says
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "wget".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps
I have tried to uninstall Homebrew and then re install it but it still doesn't work. Please Help (Also this is my first post so if you have any comments on it please tell me)
i'm now using MacOS Mojave.
i want to use gcc-arm-none-eabi for ergodox.
but i cannot install it by brew.
vikke#kosanji:~/vcswork/qmk_firmware
[master]$ brew search gcc-arm-none-eabi
No formula or cask found for "gcc-arm-none-eabi".
Closed pull requests:
gcc-arm-none-eabi 8-2019-q3-update (new formula) (https://github.com/Homebrew/homebrew-core/pull/45780)
gcc-arm-embedded 9-2019-q4-major (new formula) (https://github.com/Homebrew/homebrew-core/pull/46584)
WIP: arm-none-eabi-gcc 8-2018-q4-major (new formula) (https://github.com/Homebrew/homebrew-core/pull/39869)
libelf: remove libelf and dependents (https://github.com/Homebrew/homebrew-core/pull/39871)
libelf 0.8.12 (downgrade to solve linkrot) (https://github.com/Homebrew/homebrew-core/pull/39910)
Revert "Update gcc-arm-embedded to 6-2017-q1" (https://github.com/Homebrew/homebrew-cask/pull/30433)
Update gcc-arm-embedded to 6_2-2016q4,20161216 (https://github.com/Homebrew/homebrew-cask/pull/28143)
arm-none-eabi-gcc 20150921 (new formula) (https://github.com/Homebrew/legacy-homebrew/pull/45236)
Adding recipe for Pebble SDK 2.0-BETA5 (https://github.com/Homebrew/legacy-homebrew/pull/24834)
vikke#kosanji:~/vcswork/qmk_firmware
[master]$ brew install gcc-arm-none-eabi
Error: No available formula with the name "gcc-arm-none-eabi"
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
Error: No similarly named formulae found.
==> Searching taps on GitHub...
==> Searching for similarly named formulae...
==> Searching taps...
Error: No formulae found in taps.
How to do it?
i resolved.
download https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads and install.
If you got here looking for a way to install arm-none-eabi-gcc on macos, use the ARMmbed brew formulae:
brew install armmbed/formulae/arm-none-eabi-gcc
Homebrew does not work all the time. If you are on an older mac it is also likely that your operating system version is no longer supported by Homebrew.
So for people who are not having success with the other answers, Arm provide a proper signed macOS packaged version of the arm-none-eabi-gcc tool chain here
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
I just installed linuxbrew with
git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew
Then I checked the environment variables and
$PKG_CONFIG_PATH
bash: /home/danilo/.linuxbrew/lib64/pkgconfig:/home/danilo/.linuxbrew/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:: No such file or directory
It seems that not everything went in the right place. In fact, I having problem with several package installation
Error: No available formula with the name "homebrew/dupes/unzip" (dependency of milaboratory/all/mixcr)
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
How is it possible?
(I am using Ubuntu 16.04)