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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-03-2024, 03:33 PM
|
#76
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Something like 'puts "X E"' in Ruby or 'println("X E")' in others, I just book learning know structure for a .deb and that there are layout files to edit and maybe some how to edit them, do you want all details? X E.
|
|
|
06-03-2024, 03:53 PM
|
#77
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,293
|
Quote:
Originally Posted by maybeJosiah
Something like 'puts "X E"' in Ruby or 'println("X E")' in others, I just book learning know structure for a .deb and that there are layout files to edit and maybe some how to edit them, do you want all details? X E.
|
No, that tells us what I wanted to know, which is that what you mean by " static layout" is something much different than I and many others would think of when we see those words. I also have formed the impression that what you are actually doing is trying to create a web page "program" that you imagine will install and run on other machines, which you are confusing with being a .deb.
That last thought may not be right however, so my next question is, what, exactly, do you mean by .deb? As clearly and thoughtfully as possible, describe from start to finish each action that a user would perform to obtain and make use of your .deb.
Last edited by astrogeek; 06-03-2024 at 03:55 PM.
Reason: tyop
|
|
1 members found this post helpful.
|
06-03-2024, 04:01 PM
|
#78
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
I am trying for anything BUT a web app thing or layout. What I now mean by a .deb is a file with that extension. It would be a thing like I have gugquettex.com, person goes to site, person downloads said .deb via PHP with actual file.deb in a private part of server, person uses it somehow, install etc..
I should note that I am used to program is install program so was using .deb as installed program. X E.
|
|
|
06-03-2024, 04:21 PM
|
#79
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
I can do more detail on obtaining but going through purchase process between go to website and download .deb is almost irrelevant. X E.
|
|
|
06-03-2024, 04:27 PM
|
#80
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
One other thing that bugs me, I do not remember claim to and do not claim to be an expert programmer, I just know like 8 out of 10 most popular now and some others. X E.
|
|
|
06-03-2024, 04:44 PM
|
#81
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,126
|
Quote:
Originally Posted by maybeJosiah
I am trying for anything BUT a web app thing or layout. What I now mean by a .deb is a file with that extension. It would be a thing like I have gugquettex.com, person goes to site, person downloads said .deb via PHP with actual file.deb in a private part of server, person uses it somehow, install etc.. I should note that I am used to program is install program so was using .deb as installed program. X E.
|
Right; which takes us back to post #3, where you were spoon-fed two easily-followed how-to guides (with examples) of how to generate a .deb file. How you deliver this app is irrelevant to this, and your question has been answered many times over now.
Quote:
Originally Posted by maybeJosiah
One other thing that bugs me, I do not remember claim to and do not claim to be an expert programmer, I just know like 8 out of 10 most popular now and some others. X E.
|
Really??? Very first post in this thread, you said: "I can program in basically anything", and from your introduction post here:
https://www.linuxquestions.org/quest...8/#post6475066
"I am a like advanced Linux user and programmer."
That's you, isn't it??? And you now claim to 'know' 8 out of 10 of the most popular programming languages...yet can't seem to understand what an 'app' (program) actually is, nor what you can write one in.
Again: you continue with the "X E." garbage, and ignore the question asked of you: why should anyone here continue to try to help you when you just aren't listening or even seemingly acknowledging what you're told???
|
|
|
06-03-2024, 04:49 PM
|
#82
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Did you give me wrong links or what? I am not seeing actual code anywhere which is like my main thing to make. Also, it occurs to me I never answered some of your questions. Sorry. I am trying to connect in sensing hardware, camera, audio recorder, etc.. X E.
|
|
|
06-03-2024, 04:55 PM
|
#83
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Thanks for help attempts everyone. Like my main problem which seems not to be answered yet is how to make code relevant to a file.deb. X E.
|
|
|
06-03-2024, 05:00 PM
|
#84
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Quote:
Originally Posted by TB0ne
Right; which takes us back to post #3, where you were spoon-fed two easily-followed how-to guides (with examples) of how to generate a .deb file. How you deliver this app is irrelevant to this, and your question has been answered many times over now.
Really??? Very first post in this thread, you said: "I can program in basically anything", and from your introduction post here:
https://www.linuxquestions.org/quest...8/#post6475066
"I am a like advanced Linux user and programmer."
That's you, isn't it??? And you now claim to 'know' 8 out of 10 of the most popular programming languages...yet can't seem to understand what an 'app' (program) actually is, nor what you can write one in.
Again: you continue with the "X E." garbage, and ignore the question asked of you: why should anyone here continue to try to help you when you just aren't listening or even seemingly acknowledging what you're told???
|
Yes advanced, maybe I would not use word expert. Yes it is me. I still do not understand how to make code actually run a Linux app is true but not true other about not understanding app stuff. Yess I can program in nearly anything. X E.
|
|
|
06-03-2024, 05:04 PM
|
#85
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
Also, I just zone out once you start insulting me or "X E", why I missed your last question, is there any help I am not acknowledging? Could you please list what I am not listening to? X E.
Last edited by maybeJosiah; 06-03-2024 at 05:08 PM.
|
|
|
06-03-2024, 05:28 PM
|
#86
|
Moderator
Registered: Aug 2002
Posts: 26,112
|
Quote:
Originally Posted by maybeJosiah
Thanks for help attempts everyone. Like my main problem which seems not to be answered yet is how to make code relevant to a file.deb. X E.
|
A deb file is an archive that contains two files, the first is the installable data like the program itself, man pages, configuration files etc and the second the instructions which basically tells the installer where everything goes. A deb package file does not have to be associated with a repository.
https://www.debian.org/doc/manuals/d...basics.en.html
Quote:
Sorry. I am trying to connect in sensing hardware, camera, audio recorder, etc..
|
The programs that use "sensing" hardware, the "sensing" hardware itself and the deb package are totally independent of each other. The term sensor encompasses a broad scope of hardware that can be internal or connected via USB, Ethernet, Serial bus, parallel port etc.
|
|
|
06-03-2024, 05:40 PM
|
#87
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
You are not saying no .deb package stuff as installed can access sensing hardware because I know that is false independent though they may be, right? There are ways to access hardware stuff or there should be. Like my main concern is how to make code that actually runs an app not just is by itself doing nothing and where it should be (though that last part may be solved). X E.
|
|
|
06-03-2024, 05:43 PM
|
#88
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,293
|
Quote:
Originally Posted by maybeJosiah
I am trying for anything BUT a web app thing or layout. What I now mean by a .deb is a file with that extension. It would be a thing like I have gugquettex.com, person goes to site, person downloads said .deb via PHP with actual file.deb in a private part of server, person uses it somehow, install etc..
I should note that I am used to program is install program so was using .deb as installed program. X E.
I can do more detail on obtaining but going through purchase process between go to website and download .deb is almost irrelevant. X E.
|
OK, as you said, the details about download are irrelevant, and about purchase process doubly so, so let's not mention those any more.
Quote:
Originally Posted by maybeJosiah
Like my main problem which seems not to be answered yet is how to make code relevant to a file.deb. X E.
|
So this question may be taken either of two ways, so now let's try to focus on which sense you are asking it:
1. I have a working program (details of which are irrelevnt), how do I package it into a .deb for example, for distribution?
Or...
2. How do I write a working program (which I eventually want to package for distribution, but that is irrelevant)?
Which is it?
Last edited by astrogeek; 06-03-2024 at 05:46 PM.
|
|
1 members found this post helpful.
|
06-03-2024, 05:45 PM
|
#89
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
2. X E.
|
|
|
06-03-2024, 05:53 PM
|
#90
|
Member
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish X E.
Posts: 358
Original Poster
Rep:
|
2 but packaging is relevant and only purpose. X E.
|
|
|
All times are GMT -5. The time now is 02:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|