AppImage introduction, use

1. What is AppImage?

Reference link: https://appimage.org/

AppImage is a Linux application file format designed to allow Linux applications to run anywhere

"As a user, after I download an app from the original author, I want to be able to run it directly on the Linux desktop, just like running a Windows or Mac application." "
As an app developer, I want to Providing software packages for Linux desktop systems does not require distribution to every distribution or compiling multiple versions for different distributions."

Features of AppImage

  1. The core idea of ​​Simple
    AppImage is that one application = one file. Each AppImage contains the application and all the files required for the application to run. In other words, apart from the basic components of the operating system itself, Appimage does not require dependency packages to run.
  2. The reliable
    AppImage format is ideal for upstream application packaging, which means you can get the software directly from the developer without any intermediate steps, exactly as the developer intended. Very quickly.
  3. Quick
    AppImage apps can be downloaded and run directly, no installation is required, and no root privileges are required.

2. How to run the AppImage program

Running an Appimage application is as simple as:

Give it run permission

chmod u+x *.AppImage

Then run it directly!

 ./*.AppImage

Take the redis visualization tool RedsiInsight as an example.
Download the program in AppImage format from the official website.

Insert image description here

File name: RedisInsight-linux-x86_64.AppImage

Run it on the Tongxin operating system version

Insert image description here

Grant execution permissions

[root@localhost package]# ls -l RedisInsight-linux-x86_64.AppImage 
-rw-r--r-- 1 root root 125801825 Jan  7 17:18 RedisInsight-linux-x86_64.AppImage
[root@localhost package]# chmod u+x RedisInsight-linux-x86_64.AppImage 
[root@localhost package]# ls -l RedisInsight-linux-x86_64.AppImage 
-rwxr--r-- 1 root root 125801825 Jan  7 17:18 RedisInsight-linux-x86_64.AppImage
[root@localhost package]# 

Insert image description here

Run RedisInsight-linux-x86_64.AppImage

./RedisInsight-linux-x86_64.AppImage

The error is reported as follows

Insert image description here

To run under root privileges, you need to add --no-sandbox

./RedisInsight-linux-x86_64.AppImage --no-sandbox

3. Package your own AppImage application

Link: Learn how to create your own AppImage in the AppImage doc

Guess you like

Origin blog.csdn.net/OceanWaves1993/article/details/135441878