简体   繁体   English

从别名获取Installer pkg

[英]get Installer pkg from alias

I'm trying to install pkg from terminal in mac using installer utility . 我正在尝试使用installer utility从Mac中的终端安装pkg。 The pkg file is in dmg. pkg文件在dmg中。 When I mount dmg I can see only alias for pkg not original pkg though it is present as I can access that pkg through alias in GUI. 挂载dmg时,我只能看到pkg的alias ,而看不到原始pkg的alias ,因为它可以通过GUI中的别名访问该pkg。 This gives me interpretation that original pkg is hidden but I'm not sure about this. 这给了我一个解释,那就是原始的pkg被隐藏了,但是我不确定。 Is there any way I can get original pkg from alias? 有什么办法可以从别名获取原始的pkg吗?

Inside dmg mount folder run command ls -la . 在dmg mount文件夹中,运行命令ls -la This will provide details to which file alias is pointing. 这将提供文件别名指向的详细信息。 Yes it's that simple. 是的,就是这么简单。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM