我将其还原后如何还原冲泡配方 [英] How to restore brew formula after I rm it

查看:104
本文介绍了我将其还原后如何还原冲泡配方的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是rm tap homebrew/homebrew-core中的一个公式,它是boost-pythonboost,因为它们似乎已损坏.我想删除它们,然后再次重新点击.

I just rm a formula in tap homebrew/homebrew-core which is boost-python and boost since they seem to be broken. I want to delete them and retap them again.

我尝试过的方法: brew tap --repairbrew tap homebrew/homebrew-core

What I have tried: brew tap --repair and brew tap homebrew/homebrew-core

但是他们没有用.我应该怎么做才能使这些公式恢复原状? https://github.com/Homebrew/homebrew-核心/blob/master/Formula/boost-python.rb https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb

But they didn't work. What should I do to get these formulas back? https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost-python.rb https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb

推荐答案

解决该问题的方法是直接从Github安装公式:

The way to fix it is directly installing a formula from Github:

brew install https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost-python.rb

这篇关于我将其还原后如何还原冲泡配方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆