Running AppImage app on Ubuntu 16.04

Yes i had. dowloaded it here

Thank you for reply but i don’t need help any more because this problem solved by installing windows and downloaded game from another source

I suspect your download was corrupt.

You know you made it big when AppImage is used for warez. Congrats @probono :wink:

My friend software developer told me that my appimage-extract option ends with
fopen error
because AppImage ran out of limit file descriptors

My friend software developer told me that my appimage-extract option ends with fopen error because AppImage ran out of limit file descriptors

In this case, you could try to loop-mount the AppImage and copy out its contents. If it is a type 2 AppImage, then --appimage-offset to get the offset in bytes, then mount with the -o option.

Of course, pull requests would be welcome.

Please run

ulimit -n 10000

Then try to extract the AppImage again. Does it solve the problem?

I ran

ulimit -n 10000

Nothing changes. The same extract stop point with fopen error.

It’s very difficult for me. If you type the code that i must try i will.

./Civilization_VI- --appimage-offset
123456 # You will see another number

# Use the number you got above instead of the example 123456
sudo mount ./Civilization_VI- /mnt -o loop,offset=123456

sudo cp -r /mnt ./Civilization_VI-
sudo chown -R $USER  ./Civilization_VI-

instead of it I’ve got
denis@denis-Inspiron-1520:~/Загрузки$ qemu-x86_64 ./civ6.AppImage --appimage-extract
warning: TCG doesn’t support requested feature: CPUID.01H:ECX.vmx [bit 5]
trv.path: .DirIcon

I also use qemu to extract it as you see the x86_64 AppImage on i386 machine (add architecture was successfully added before).

Snapshot also available
http :// 14296311.png (please delete spaces)
Can you please see it and help me.

Sorry I made a mistake, instead of --appimage-extract you need to use --appimage-offset. Corrected above.

now AppImage successfully extracted in civ6.AppDir. size folder=19.3G. when AppImage=13.3G
but whein i’m trying to run it
i’ve got
./Civ6: 1: ./Civ6: Syntax error: word unexpected (expecting “)”)

Please post your AppRun file.

HERE="$(dirname "$(readlink -f "${0}")")"
export PATH="${HERE}:${HERE}"/usr/bin/:"${HERE}"/usr/sbin/:"${HERE}"/usr/games/:"${HERE}"/bin/:"${HERE}"/sbin/:"${PATH}"
#export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}"
#export PYTHONPATH="${HERE}"/usr/share/pyshared/:"${PYTHONPATH}"
#export XDG_DATA_DIRS="${HERE}"/usr/share/:"${XDG_DATA_DIRS}"
#export PERLLIB="${HERE}"/usr/share/perl5/:"${HERE}"/usr/lib/perl5/:"${PERLLIB}"
#export GSETTINGS_SCHEMA_DIR="${HERE}"/usr/share/glib-2.0/schemas/:"${GSETTINGS_SCHEMA_DIR}"
#export QT_PLUGIN_PATH="${HERE}"/usr/lib/qt4/plugins/:"${HERE}"/usr/lib/i386-linux-gnu/qt4/plugins/:"${HERE}"/usr/lib/x86_64-linux-gnu/qt4/plugins/:"${HERE}"/usr/lib32/qt4/plugins/:"${HERE}"/usr/lib64/qt4/plugins/:"${HERE}"/usr/lib/qt5/plugins/:"${HERE}"/usr/lib/i386-linux-gnu/qt5/plugins/:"${HERE}"/usr/lib/x86_64-linux-gnu/qt5/plugins/:"${HERE}"/usr/lib32/qt5/plugins/:"${HERE}"/usr/lib64/qt5/plugins/:"${QT_PLUGIN_PATH}"
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1)
cd "$HERE"
exec "${EXEC}" $@

can not upload as file because of allowed extension

when i try to add allowed extension i’ve got error

Sorry, but we couldn’t determine the size of the image. Maybe your image is corrupted?

Please change #!/bin/sh to #!/bin/bash and try again.

nothing changes

i test my script on online services
both of them told me that error in line 12
i change
exec "{EXEC}" @
exec -a "{EXEC}" @

as result no errors but nothing happens


It is most likely that 16.04 LTS Does not support Appimage

Upgrade to a version of Ubuntu that supports the .Appimage file.

Here are the versions of Ubuntu that support Appimages:

Ubuntu 17.04 (Zesty Zapus)

Download to Ubuntu 17.10:

then after going to the link, click "Ubuntu Desktop"
then scroll down until you see a text saying "Ubuntu 17.10 LTS)

Click the download button. then when it is installed, you have to burn it to a USB Disk. if you don’t have a USB. Buy one online on, if you have a USB already, Run Startup Disk Creator, then click the iso file that has ubuntu 17.10 on it. Restart the Computer, then hold or press F12 Or Enter, on most computers: F12
On some computers: Enter
Then boot from the USB. Now set up how to install Ubuntu.

Username: denis

Account name: Denis is Awesome

Password: denis420

Install updates while installing Ubuntu has to be selected to upgrade settings of the new version :slight_smile:

You can install Chromium and Flash.

That is the only option in the world!

Ubuntu 18.04 (Bionic Beaver)

and last but not least: Ubuntu 17.10!

that is the only option to get an appimage that is executable.

if that does not work, Im Sorry.

Sure, you can run AppImages on Ubuntu 14.04 LTS and later for sure. But the content of the AppImage (the “payload”) needs to be compiled on a version of the operating system no later than the one you want to run the AppImage on.

I suspect that the AppRun file is not correct.