Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 在mac os中将`file`命令升级至最新版本_Macos_File - Fatal编程技术网

Macos 在mac os中将`file`命令升级至最新版本

Macos 在mac os中将`file`命令升级至最新版本,macos,file,Macos,File,我的OSX上当前的文件命令 计算机是: $ file -v file-5.04 magic file from /usr/share/file/magic 在我的ubuntu服务器上: $ file -v file-5.14 magic file from /etc/magic:/usr/share/misc/magic 如何在mac os中升级它 我试图使用brew安装文件公式,但出现了错误错误:没有文件公式可用的公式 如果你去了,你可以点击FTP链接下载5.22版

我的OSX上当前的
文件
命令 计算机是:

$ file -v
file-5.04
magic file from /usr/share/file/magic
在我的ubuntu服务器上:

$ file -v
file-5.14
magic file from /etc/magic:/usr/share/misc/magic
如何在mac os中升级它

我试图使用
brew安装文件公式
,但出现了错误
错误:没有文件公式可用的公式

如果你去了,你可以点击
FTP
链接下载5.22版