Awesome, thanks for the help!
I did some more searching based on what you said and was able to achieve this installation step by creating a local Debian package (.deb) which can be installed to Debian based Linux systems like Ubuntu. I noticed that the Linux version of Tracktion Waveform does something similar to this since they provide a Debian package file (.deb) to install Tracktion.
Setting up a minimal Debian package is pretty easy, so here’s a quick guide for anyone who finds this thread.
Just create a file hierarchy that looks like the following with
package_name replaced with the name of the app/package you want to be installed on the user’s system:
│ control [text file with package info]
│ package_name.desktop [text file with application info]
package_name.png/.svg [your app's icon file]
The contents of the
control text file in the
DEBIAN directory could look something like this, filling in the fields with the appropriate content for your application.
Description: A simple description of the app.
Here’s documentation for the various fields this file could have: 5. Control files and their fields — Debian Policy Manual v18.104.22.168
Next, in the
bin directory, make sure the file
YOUR_EXECUTABLE_FILE is replaced with your applicataion’s executable.
Next, the file
package_name.desktop in the
usr/share/applications directory provides more information about your app. Again, replace
package_name with the actual name of your package. The file may look like the following, with
MyApp being replaced with your application’s name:
Comment=Breif Description of MyApp
Finally, make sure to place your PNG or SVG icon in the directory
usr/share/pixmaps. The image file’s name should correspond to the name given for the
Icon field in
package_name.desktop. The actual image file should have an extension (.svg or .png), but the
Icon field name should be the name of the file without the extension.
After creating this directory structure and filling it with the proper files, use the command prompt to
cd to the directory containing the top level
package_name folder. Then run the following command:
dpkg-deb --build package_name
A file called
package_name.deb should be produced.
To install the package on the user’s system, all they need to do is double click the .deb package file and the Software Install app should open, allowing them to click to install the app and it’s icon.