sudo命令需要使用其他分配吗?

时间:2018-07-03 07:29:03

标签: port sudo

我最近安装了MacPort,并向alias port=/opt/lcoal/bin/port添加了~/.bash_profile,因为不知道为什么,但是如果我输入port,shell会继续说cmd not found

无论如何,现在命令端口可以返回以下内容:

MacPorts 2.5.2
Entering shell mode... ("help" for help, "quit" to quit)
[Users/zachary] > 

但是,我的最终目标是使用以下命令安装Boost:

sudo port install boost

但是此命令返回

sudo:port: command not found

sudo是否需要额外分配其correspondent commands?

0 个答案:

没有答案