我如何从我已有的 zip 文件安装应用程序?

我如何从我已有的 zip 文件安装应用程序?

我该如何从终端安装 .zip 文件?我尝试从 .zip 文件安装应用程序,当我尝试更改目录(文件名)时,什么都没有出现。我知道我做错了什么,但这一切都让我感到困惑,因为我是新手。(我尝试安装的文件名为 QuestPatcher-ubuntu.zip,位于https://github.com/Lauriethefish/QuestPatcher/releases/tag/2.2.4

答案1

您必须下载 zip 文件,将其解压缩并放入 $PATH 变量中的某个目录中:

cd ~/Downloads
wget -c https://github.com/Lauriethefish/QuestPatcher/releases/download/2.2.4/QuestPatcher-ubuntu.zip
unzip QuestPatcher-ubuntu.zip
chmod +x QuestPatcher 
sudo mv QuestPatcher /usr/local/bin/QuestPatcher

然后使用 从终端调用它QuestPatcher

相关内容