Solved How to use install command to install an AppImage from command line

Solved issue

Straitsfan

Member
Joined
Dec 13, 2021
Messages
44
Reaction score
8
Credits
483
Hello: I have downloaded the latest version of an application. It's an AppImage file. The previous version I was able to install from the command line, but that was some time ago. I'd like to install this one to as well, but I wanted to ask if anyone out there can help me to use the "install" command. The current version I'm running is in my applications folder.

I want to do this because it automatically makes a clickable shortcut on the sidebar.
 


 
I don't think I was clear. When I do that There is no shortcut added to the side menu. What I meant was that the current version I'm using was also an Appimage, but I was able to use the 'install' command and it installed the application and created a shortcut in the side menu.

What I'm asking is how do I use the 'install' command to do this? I don't remember and It isn't in my terminal command history.
 
if anyone out there can help me to use the "install" command.
install command is used to install a file to location with specified permissions and ownership in one line, therefore an example is:
Bash:
sudo install -o $(id -un) -g $(id -gn) -m 550 file.appimage /opt/file.appimage

What this command does is install file name called file.appimage into /opt/file.appimage and sets ownership to your account and primary group (id) with read and execute permissions (550) for you and no permissions for others.
 
^^^^^.....after selecting properties and marking its permissions as 'allow executing file as program' ..........
 
Got it figure out. The command was:

./filename.appimage install

And it worked. Found the page that had the right syntax.
 
In Debian and Manjaro, I didn't have to do that

As mentioned a few threads ago, that's very much a distro-specific thing. Their own directions include setting the executable bit but some distros will do that for you. For the sake of completeness, when giving out instructions to use them, it's probably best to include that step - just in case their distro doesn't do that for them.

For example:

Linux Mint, needs the tick.
 
In Linux Mint...you can't install an applmage because it doesn't have an installation candidate...so I just download the appImage and tick execute allow executing file as program.

1743995799210.gif
 
Avidemux is a good example...
1743996514022.png


1743996590259.png


It's a portable app can be placed on the Desktop or in the Home Folder.
1743996719370.gif
 
@Straitsfan when you are sure this is solved, you can mark it as such by going to your first post, and do as follows

Near bottom left of the post click Edit - (No Prefix) - Solved

Cheers

Wizard
 
I am lazy I use a flatpak name "Gear Lever", it unlocks an appimage so it can be excuted. Then it moves it to the application menu.

Manage AppImages​

An utility to manage AppImages with ease! Gear lever will organize and manage AppImage files for you, generate desktop entries and app metadata, update apps in-place or keep multiple versions side-by-side.
 
That, ^^^^ is an interesting app. (Gear Lever)

Only available as a flatpak
 
That, ^^^^ is an interesting app. (Gear Lever)

Only available as a flatpak

I had it installed on one of the systems here because I saw it mentioned on Reddit (I think). I don't use many AppImages but it worked with one and didn't automatically update the other. I removed it.

I could see it being VERY handy for people who use AppImages. Maybe I should install it again, though I don't really use AppImages. Maybe it'd convince me to use them more often.

I have been using Flatpaks lately. That they are trivial to update (albeit huge in size) is one of the reasons I like them. Plus, most of the emulators I've been using have a Flatpak version and I've been into a bit of old game emulation for a few months now.
 


Follow Linux.org

Members online


Top