Questions about developing apps for Linux.
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
Questions about developing apps for Linux.
Hi Folks, I'm a Software Engineer (30+ years). I'm fluent in about 7 different programming languages... Although, I'm retired now...I would like to develop some GUI Apps for Linux. With regard to that - What's good? What are the favorite language/s? Are there any developer suites/tools? Any advise to start me off?
Last edited by LockBot on Wed Feb 28, 2024 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: Questions about developing apps for Linux.
Please see https://codedamn.com/news/linux/top-10- ... tem-admins
https://www.google.com/search?q=develop ... plications
https://www.google.com/search?q=develop ... plications
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Re: Questions about developing apps for Linux.
I had the same question as you do. I didn't like GTK or QT's programming model at all. For me the optimal way is to run web UIs with a desktop framework (Electron.js or Tauri), plus some React.js or Svelte or any other framework you like.
Re: Questions about developing apps for Linux.
Thanks, I see 3 IDE's that I would like to look at, at one of the links above...deepakdeshp wrote: ⤴Mon Aug 28, 2023 2:01 pm Please see https://codedamn.com/news/linux/top-10- ... tem-admins
https://www.google.com/search?q=develop ... plications
- Midnight True
- Level 7
- Posts: 1549
- Joined: Wed Jul 20, 2022 3:23 am
- Location: Southern and Southwestern area of Mato
- Contact:
Re: Questions about developing apps for Linux.
i would recommend packaging your app as
flatpak
in that way it can be easily deployed and have less issue with native runtime/dependencies, please check this out https://docs.flatpak.org/en/latest/ and https://docs.flatpak.org/en/latest/first-build.htmlAppImage is an option too but to my knowledge it is less popular than flatpak. Wish you all the best and i am excited to try your app
Re: Questions about developing apps for Linux.
Thanks, I'll give that a try, when that phase comes around. Funny you should mention flatpak. I wss just trying to install Eclipse IDE and it won't install on Cinnamon 20.2? Say's something about not having a new enough flatpak version?Midnight True wrote: ⤴Mon Aug 28, 2023 11:44 pmi would recommend packaging your app asflatpak
in that way it can be easily deployed and have less issue with native runtime/dependencies, please check this out https://docs.flatpak.org/en/latest/ and https://docs.flatpak.org/en/latest/first-build.html
AppImage is an option too but to my knowledge it is less popular than flatpak. Wish you all the best and i am excited to try your app
- Midnight True
- Level 7
- Posts: 1549
- Joined: Wed Jul 20, 2022 3:23 am
- Location: Southern and Southwestern area of Mato
- Contact:
Re: Questions about developing apps for Linux.
Your welcome i guess your system is using an outdated flatpak framework, please share the output of:
Code: Select all
flatpak --version
1.14.4
unfortunately the package on the repo is behind, consider using flatpak PPA
Re: Questions about developing apps for Linux.
You could have a look at Mint's git repo (https://github.com/linuxmint) which may give you some ideas. I'm sure they'd welcome some help from an experienced developer where you can get some first-hand experience before going off to write something new.
Re: Questions about developing apps for Linux.
If you want to go on the fringe, have a look at lazarus, an IDE for pascal. Very easy to develop GUI apps.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Questions about developing apps for Linux.
Thanks Andy, I'll check that out. I'm an old-school (main-frame) COBOL programmer. PASCAL is real blast-from-the-past! Never programmed in it, but
I can read it fine... Do we have a COBOL compiler for Linux??? I'll have to look... Peace!
Re: Questions about developing apps for Linux.
So, how do I do this IDE install? Do I have upgrade the entire OS?Midnight True wrote: ⤴Tue Aug 29, 2023 1:45 amYour welcome i guess your system is using an outdated flatpak framework, please share the output of:Current stable version isCode: Select all
flatpak --version
1.14.4
unfortunately the package on the repo is behind, consider using flatpak PPA
I'm on 20.2 LMC
user@CINNAMON-GIRL:~$ flatpak --version
Flatpak 1.6.5
Re: Questions about developing apps for Linux.
Was taught Algol60 at university, next was Coral66 then a bit of Ada. Bit of a give-away, defence background. Started with Pascal in the early 1980's used it ever since. I wrote foxclone in Pascal using lazarus:
https://foxclone.org/
Do use C++, prefer Pascal.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Questions about developing apps for Linux.
I don't think I've actually installed the JDK yet. I've downloaded it; and I've Extracted it... Not sure yet what to click on to Install it...
UPDATE: Looks like I already have a version of JDK installed:
user@CINNAMON-GIRL:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
UPDATE: Looks like I already have a version of JDK installed:
user@CINNAMON-GIRL:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
Re: Questions about developing apps for Linux.
That's the JRE - Java Runtime Environment. It all gets confusing because the builder/creator is called OpenJDK, but not everything that they release is the Java Development Kit.GARRETT1 wrote: ⤴Tue Aug 29, 2023 12:42 pm UPDATE: Looks like I already have a version of JDK installed:
user@CINNAMON-GIRL:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
The simplest option is to run the command
sudo apt-get install default-jdk
- this will install the Java 11 JDK. It's enough for most people and would be enough to get you going, but isn't the latest-greatest.I've not used Eclipse for a while now but within the Preferences dialog, it's possible to add multiple JDK locations so you can have per-project settings, if required.
Given the title of this topic, I'd suggest thinking about whether this is the direction you want to take. Java's very useful for creating cross-platform code (within certain limits) and it does have a UI framework. However any users would need the runtime in order to run your code, and outside of various developer IDEs and utilities, I can't think of many Linux apps written with it. That said, it's a better option than a local web application
Re: Questions about developing apps for Linux.
Thanks, good point too. I think I'll lean towards C/C++. I think those apps would be more 'stand-alone'. I've never liked the idea of having to have a run-time environment for my programs... Although, JDK is very widely used now and a lot of PC OS's include it by default... As far as 'web-based' apps, I'm not interested in developing those types... I've done a lot of that, over the years... And they have their place... But, I prefer a stand-alone application that folks can download from the repo... Haven't decided what I want to develop yet for my Linux project...dave0808 wrote: ⤴Wed Aug 30, 2023 8:55 amThat's the JRE - Java Runtime Environment. It all gets confusing because the builder/creator is called OpenJDK, but not everything that they release is the Java Development Kit.GARRETT1 wrote: ⤴Tue Aug 29, 2023 12:42 pm UPDATE: Looks like I already have a version of JDK installed:
user@CINNAMON-GIRL:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
The simplest option is to run the commandsudo apt-get install default-jdk
- this will install the Java 11 JDK. It's enough for most people and would be enough to get you going, but isn't the latest-greatest.
I've not used Eclipse for a while now but within the Preferences dialog, it's possible to add multiple JDK locations so you can have per-project settings, if required.
Given the title of this topic, I'd suggest thinking about whether this is the direction you want to take. Java's very useful for creating cross-platform code (within certain limits) and it does have a UI framework. However any users would need the runtime in order to run your code, and outside of various developer IDEs and utilities, I can't think of many Linux apps written with it. That said, it's a better option than a local web application
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: Questions about developing apps for Linux.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb