Building a Linux Application

MadMax007

New Member
Joined
Feb 10, 2025
Messages
4
Reaction score
4
Credits
35
Hey everyone, I'm Max. I've been trying to build a Linux application and submit it to the Software (Linux App Store), but I haven't been successful so far. Even when I manage to create the .deb package, I can't get it to run on other Linux devices. I'm developing it on a Jetson Orin Nano 8GB, but I’m still facing issues. The application is a Python-based GUI with advanced camera features that I’ve built. Can anyone suggest a solution or share any helpful links or alternative approaches?
 


G'day Max, Welcome to Linux.org

I won't be of much help to you, new apps are not my thing....But...I will watch with interest.

A few of the names I mention here may be of some help. They will be notified and come and take a look.

@GatorsFan

@osprey

@Fanboi

@JasKinasis



Good Luck !
 
Hey everyone, I'm Max. I've been trying to build a Linux application and submit it to the Software (Linux App Store), but I haven't been successful so far. Even when I manage to create the .deb package, I can't get it to run on other Linux devices. I'm developing it on a Jetson Orin Nano 8GB, but I’m still facing issues. The application is a Python-based GUI with advanced camera features that I’ve built. Can anyone suggest a solution or share any helpful links or alternative approaches?
we have to know why it is not running. there must be error messages in a log of somewhere. Can you get it installed? is it failing the install? is it failing to run after install? Need more input
 
Edit: Just looked up your device: You are running on ARM64 (aarch64) so it will not be compatible with x86 architectures. Even though Python is not a compiled language, stuff like Qt is compiled for different architectures. Also, you don't mention if your app is compiled or Python based. So more info would help. You likely will need to cross-compile.
(Call this then the zeroeth mistake)



Well first mistake is putting it in a .deb.
  • Most people don't know debs can be unzipped and repacked.
  • Debs dependencies are specified in the control file. You need to be careful with this as one wrong move and apt et al. will be lost.
  • "Linux App Store"? Man I must be old. I know about Flathub and AppImage Hub...

... which neatly segways me into the first piece of advice: Use an AppImage for release.
  • You can dump all your dependencies and copy your venv into it and then use the app run script as an entry point.
  • Some users appreciate not having to install apps, especially from newer developers.
 
Last edited:
G'day Max, Welcome to Linux.org

I won't be of much help to you, new apps are not my thing....But...I will watch with interest.

A few of the names I mention here may be of some help. They will be notified and come and take a look.

@GatorsFan

@osprey

@Fanboi

@JasKinasis



Good Luck !
I appreciate the warm welcome! Also, thank you for sharing some usernames that I can refer to for assistance.
 
we have to know why it is not running. there must be error messages in a log of somewhere. Can you get it installed? is it failing the install? is it failing to run after install? Need more input
The app runs perfectly fine on the Jetson Orin Nano 8GB, where I’m developing it, so it’s not crashing there. However, I’m not sure how to properly run it on different Jetson devices. On the Jetson Nano 4GB, the app installs successfully, and the logo appears, but when I try to open it, nothing happens. There’s no visible error message. How can I debug this or check logs to understand what’s going wrong?
 
Edit: Just looked up your device: You are running on ARM64 (aarch64) so it will not be compatible with x86 architectures. Even though Python is not a compiled language, stuff like Qt is compiled for different architectures. Also, you don't mention if your app is compiled or Python based. So more info would help. You likely will need to cross-compile.
(Call this then the zeroeth mistake)



Well first mistake is putting it in a .deb.
  • Most people don't know debs can be unzipped and repacked.
  • Debs dependencies are specified in the control file. You need to be careful with this as one wrong move and apt et al. will be lost.
  • "Linux App Store"? Man I must be old. I know about Flathub and AppImage Hub...

... which neatly segways me into the first piece of advice: Use an AppImage for release.
  • You can dump all your dependencies and copy your venv into it and then use the app run script as an entry point.
  • Some users appreciate not having to install apps, especially from newer developers.
Thanks for this! I’m still a beginner in this area, but I’ll take the time to learn what you’ve mentioned. I’ll update you if I run into any further issues.
 
@MadMax007
Seems I misread your post a little... I thought you meant you wrote an app and then a frontend GUI for it in Python... Anyway, If I'm now understanding now, your app is a GUI fronted for a camera, yes?
If that's the case and you're having issues between the 8GB and 4GB models, it could be an issue with the hardware difference between the two models: https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-orin/ (notes on the camera)
So there may be unsupported features you're using. You'd need to consult the API/SDK docs on that one.

As @CaffeineAddict has suggested, an error message would be useful.
Let me add the suggestion of a full log. It can just be a list you append stuff like "Started <etc>", "Did <etc>" to for each step and then just output it at the end of your except block along with your error -- so as your code isn't littered with print statements and you don't rely on a module's accurate error ouputs. There's no getting around logging and the sooner you implement it, the less of a pain it'll be when you reach a point of have no choice but to -- just remember your users need a log, too.

Hope that's useful.
 


Members online


Latest posts

Top