LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 06-02-2024, 07:25 PM   #16
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9

Yes understand what a program is and why you cannot just write a program and it magically is for a distro. I specifically said can't do snap store. Using flatpak, it fills all like my needs. X E.
 
Old 06-02-2024, 07:28 PM   #17
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
Oops, meant developer not developer expert in tags, sorry. X E.
 
Old 06-02-2024, 07:47 PM   #18
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,448

Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
Quote:
Originally Posted by maybeJosiah View Post
Nice, anyway, I found flatpak is much easier and it has wider support and is "agnostic" when it comes to programming languages. It can still be installed though so close enough to native. Problem solved sort of. Flatpak does require some install steps but hey, native app, solved. X E.
I don't think flatpaks can actaully be distributed outside a repo tho? Usually people who offer flatpaks on their on provide a "ref" file that still requires connection to some flatpak repository. Of course you can get your app on flathub, but it sounded like you didn't want to use an existing appstore, so that means you'll have to setup your own flatpak repo. It's not a simple thing like a tarball or deb package.

Last edited by enigma9o7; 06-02-2024 at 07:48 PM.
 
1 members found this post helpful.
Old 06-02-2024, 07:54 PM   #19
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
So how do I make a .deb in say Rust or Java? All I have seen is in Python or C for official tutorials. Locally now, no push to some external repo I will probably be paying for later. X E.
 
Old 06-02-2024, 08:00 PM   #20
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
According to like my research flatpak is not exactly native but close enough and I should not need a flatpakref file and can just distribute as a .flatpak file. Also no repo needed seemingly. X E.

Last edited by maybeJosiah; 06-02-2024 at 08:01 PM.
 
Old 06-02-2024, 08:05 PM   #21
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
Actually yeah, flatpak may require a repo. X E.
 
Old 06-02-2024, 08:19 PM   #22
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
https://crates.io/crates/cargo-deb
Okay found Rust deb maker, solved. X E.
 
Old 06-03-2024, 12:40 AM   #23
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,924
Blog Entries: 1

Rep: Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886
TL;DR creating a .deb, .rpm, .snap, .lslpp etc. file is not programming, that's why languages like Rust, Python, Snobol or Focal have nothing to do with it.
 
Old 06-03-2024, 07:24 AM   #24
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
Well technically programming languages do have a part but are not everything. To program you must use some language almost irrelevant which it is though it may be. Also, .deb's are like only native solution for Debian based. That Rust thing was only for Ubuntu. X E.

Last edited by maybeJosiah; 06-03-2024 at 07:27 AM.
 
Old 06-03-2024, 07:36 AM   #25
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
I am still unclear how to know how to connect to native hardware stuff in Rust. Do not even know what libraries less how to connect to them. Not needed but how to use sensing hardware in Rust? Can it be like made .deb can just be installed with little dependencies? This I have not done much research on, too occupied what to program in how. Okay, I did research, bunches of libraries and dependencies to install, is there a direct way? More research, I found this library for making .deb files can use dependencies in Rust. Now just which to use, no help needed or wanted. X E.

Last edited by maybeJosiah; 06-03-2024 at 08:26 AM.
 
Old 06-03-2024, 09:33 AM   #26
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,145

Rep: Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048Reputation: 8048
Quote:
Originally Posted by maybeJosiah View Post
So how do I make a .deb in say Rust or Java? All I have seen is in Python or C for official tutorials. Locally now, no push to some external repo I will probably be paying for later. X E.
You *DO NOT MAKE A PACKAGE IN ANY LANGUAGE* Again, did you not read/understand what was spoon-fed to you???? AGAIN, it is well documented, and NO PACAKGES (either .deb or .rpm) need rust/python/c/whatever to work. Apparently, simple how-tos are too much for you to read or understand.

You specify what files are in the package; the package utility creates it. You are NOW DONE...it is a local package. Install it, upload it to a github, do whatever. The control file is (if you bothered to read or understand things) a text file. There are even utilities to help you create these things...again, you didn't read what you were given or do anything on your own as far as research. You are STILL harping on this/rust/python thing for .deb files, when **IT DOES NOT RELATE** to it. You have been told this many times now....is there a particular word you're having trouble with???
 
Old 06-03-2024, 09:48 AM   #27
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
Read it, understood and hey, do you not understand that an app needs logic e.g. a programming language? Are you struggling to understand that I do not just want static text? If you want logic and reactions you MUST use some programming language. Where did pick a language and write in it go? Out a window and over a hill? Also there are ALWAYS specific ways things must be structured so just throw in a few random files that do stuff on their own or in another system is wrong. Have you ever programmed TB0ne? If this persists I might just report you. Thanks for trying to help but it is not helping. Any programmers want to help? X E.
 
Old 06-03-2024, 10:12 AM   #28
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,924
Blog Entries: 1

Rep: Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886
TL;DR you wish to package your program into a .deb or .snap or something else; the first problem is that you haven't started writing the program yet.
 
Old 06-03-2024, 10:13 AM   #29
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
I think we may have had a misunderstanding, by native I meant like can be installed and by download to user it was like user gets package and can install, anyway, with that nearly saying same stuff. We do seem to disagree about whether any programming language CAN be used at all with apps, I think it can, you think it should not. X E.
 
Old 06-03-2024, 10:14 AM   #30
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 365

Original Poster
Blog Entries: 3

Rep: Reputation: 9
Quote:
Originally Posted by NevemTeve View Post
TL;DR you wish to package your program into a .deb or .snap or something else; the first problem is that you haven't started writing the program yet.
I know, I need to know what programming stuff I can or should use and Rust seems like a good option. X E.
 
  


Closed Thread

Tags
deb, deb package, develop, developer, linux, program, programing, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
Least resource & least space using linux operating system ? winxandlinx Linux - Software 4 05-25-2006 11:10 AM
Distribute updates to settings on a Debian based network (Lots of opinions wanted) amon Debian 0 04-11-2006 04:54 PM
a Distribute for a server and coding blackman890 Linux - Distributions 5 03-26-2005 08:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration