bash script to install apps, and have it show in Software

🛠️ Troubleshooting

I'm making a bash script to install some preset apps to many computers, rather than manually searching for and installing each one.

I've been looking online, but every method to install apps from the terminal doesn't seem to show it installed in Software.

Is there a command to install it as if it was installed from Software?

For reference I'm on Zorin OS 16. Using prusa-slicer as an example, neither flatpak install prusa
nor apt-get install prusa-slicer show up in Software. What other option am I missing?

I've tried adding --register-app at the end and that doesn't seem to help. Is there a specific method for Zorin's software store?

Posted Jul 14, 2022, 2:17 AM UTC

33
TheoCGaming•

Every Flatpak app has an ID, like com.mojang.minecraft for example. Replace prusa in flatpak install prusa with the respective app's ID in Software.

1
GoogelplexOP•

That saves the step of selecting the suggested correction (which is nice, thanks for that), but doesn't make it show as Installed in Software.

1
[deleted]•

[deleted]

1
NayamAmarshe•

Apps installed from commandline do show up in software store.

killall gnome-software

rm -rf ~/.cache/gnome-software

sudo apt-get --reinstall install -y gnome-software-plugin-flatpak
1