本文介绍了打开AppImage不会执行任何操作.我能做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Linux的新手,正在尝试打开一个名为Magick的AppImage,这是一个Imagemagick应用程序.

I am a complete newbie to Linux and trying to open an AppImage called Magick which is an Imagemagick application.

我尝试右键单击AppImage并选中将文件作为可执行文件运行"选项,但这没有用.我尝试过的另一件事是运行此命令,

I tried right clicking on the AppImage and checked "run file as an executable" option but that didn't work. Another thing that I tried is running this command,

chmod a+x magick.AppImage

这给我一个错误,

chmod: cannot access 'magick.AppImage': No such file or directory

我还尝试过通过运行包含文件的文件夹并在其中打开终端但仍然没有运气的方式来运行文件.

I have also tried running the file by navigating into the folder that contains the file and opening up the terminal there but still no luck.

我正在Oracle VM VirtualBox上运行Ubuntu.

I am running Ubuntu on Oracle VM VirtualBox.

推荐答案

ImageMagick是一个命令行工具,您不能通过单击来运行它.

ImageMagick is a command-line tool, you don't run it by clicking on it.

要在终端中运行它,您需要

To run it in a terminal you need to

  1. 在.AppImage上设置可执行标志(一次执行所有操作): chmod + x TheApp.AppImage
  2. 然后运行它只需调用AppImage:./TheApp.AppImage< arg1>< arg2>... .

如果带有.AppImage的目录位于PATH中,则可以删除 ./(或AppImage所在的任何目录).

If the directory with your .AppImage is in your PATH, you can remove the ./ (or whatever directory the AppImage is in).

ImageMagick也可以从Ubuntu存储库中作为常规应用程序使用: sudo apt install imagemagick

ImageMagick is also available as a regular application from your Ubuntu repository: sudo apt install imagemagick

这篇关于打开AppImage不会执行任何操作.我能做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-29 14:24