为什么我不能在Mac上运行apt install?

问题描述 投票:0回答:1

当我在终端中键入apt install ffmpeg时,(我正在使用最新的Mac OS更新),出现以下错误:Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home/bin/apt" (-1)

我该如何解决?

macos terminal install apt
1个回答
0
投票

因此,默认情况下,Mac不支持APT命令(Linux中提供APT和YUM)。如果要安装ffmpeg,可以按照以下链接中的说明进行操作:https://sites.duke.edu/ddmc/2013/12/30/install-ffmpeg-on-a-mac/

代替apt安装,在mac中使用的是自制软件或macports,有关更多知识,请参考以下链接:https://unix.stackexchange.com/questions/80711/how-to-install-apt-get-or-yum-on-mac-os-x

© www.soinside.com 2019 - 2024. All rights reserved.