AppImage / AppImage/AppImageKit

Appimage does not launch (execv error: No such file or directory)

未关闭
#1,004 10 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
30 天内没有已合并 PR

描述

**History :**
Hello, I am sure you know [Veracrypt](https://github.com/veracrypt/VeraCrypt) app. It has a very useful portable version for Windows (to make it executable from a USB device) but not for Linux.
Thank to the developer, there is a generic installer with tar.bz2 which can extract the files instead of installing on the computer (it means there is binaries, images, and desktop file included).

**Problem :**
AppImage is the ideal tool to make it executable as a portable app, but... I am not a developer (if only you knew about my job, it has nothing to do with it).

I followed step by step an excellent tutorial from @probonopd , everything goes well (I even have a `Success` message at the end). Unfortunately, when I launch `Veracrypt.AppImage`, absolutely nothing happens. From the CLI, the message is as bellow:
`execv error: No such file or directory`

What do you think of that? I can't find the reason for this bug, however, I'm sure I'm very close to succeeding, it's frustrating. Thank you very much for your help!

**Information about the step-by-step procedure I have followed :**

```
# 1. Make the AppDir :

cd ~/Documents
mkdir -p veracrypt/veracrypt.AppDir

# 2. Download the generic Veracrypt linux installer :

wget -c https://launchpad.net/veracrypt/trunk/1.24-hotfix1/+download/veracrypt-1.24-Hotfix1-setup.tar.bz2
tar -xf veracrypt-1.24-Hotfix1-setup.tar.bz2 -C veracrypt_archive/
cd veracrypt_archive
./veracrypt-1.24-Hotfix1-setup-gui-x64

# 3. Accept the license, select extract and go to /tmp to extract the tar.gz content into the AppDir :

cd /tmp
tar -xf veracrypt_1.24-Hotfix1_amd64.tar.gz -C ~/Documents/veracrypt/veracrypt.AppDir/

# 4. In "/usr/share/applications/veracrypt.desktop" file, add "Version=1.0" below "Encoding=UTF-8" line and edit "Categories" line as "Categories=Utility;". Otherwise, I have "deprecated" error messages.

# 5. Organize the AppDir and make the AppRun executable :

cd ~/Documents/veracrypt/veracrypt.AppDir/
cp ./usr/share/pixmaps/veracrypt.xpm .
cp ./usr/share/applications/veracrypt.desktop .
wget -c https://github.com/AppImage/AppImageKit/releases/download/12/AppRun-x86_64
chmod a+x AppRun-x86_64

# 6. Package the AppDir as an AppImage :

cd ..
wget -c https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage
chmod a+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage veracrypt.AppDir ./Veracrypt-x86_64.AppImage

# 7. Launch Veracrypt-x86_64.AppImage (this is where I have the error message : execv error: No such file or directory) :

./Veracrypt-x86_64.AppImage

```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。