我需要运行的脚本使用tempfile
,但我没有在我的Mac上。我确实使用Macports。我如何知道我需要安装哪个Macports软件包以获得tempfile
?如何知道命令的macports软件包名称?
tempfile
是用于脚本编写的shell命令。它是我的Linux机器上的ELF二进制文件,属于debianutils
包,如dpkg -S /bin/tempfile
所示。我安装了Macports的debianutils软件包,现在有tempfile
。
只是想知道我怎么会想出这一点,如果我没有在Linux中得心应手......
这个问题似乎是脱离主题,因为它是关于一个程序而不是开发。尝试AskDifferent或超级用户 – Mark
https://stackoverflow.com/questions/25456982/find-a-macports-package-given-a-file-name –