Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
On Windows there are .exe files. You can just double-click on them and it will start a program and (depending on how your program is built) can be moved between computers with ease without having to do any reconfiguration.
I have not found a way to make my program I make so I can give it to someone in an email or something and then they just double-click on it and it work.
I could have a bash script start my program, but then the user would get that "run/run in terminal/display" prompt instead of just starting right away.
I could have a .desktop file start it (and this looked like it would work because you double-click and then the program starts) but it needs to know the path to the program, so if someone else opened up the program on their computers the path to the files would be different, so that wont work.
So is there something I am missing? What can I do so I can just give a folder with my program and a launcher in it to a user, so they can just double-click and launch the program?
I was thinking about using deb or rpm, but that would be a little extravagant for my small programs. Plus it is not really a click and start thing until after you install it.
hmm, if your program is statically linked there there should be no problem just sending it as a single file. Presumably, the user should know how to run such and executable: either by "double clicking" in some sort of file manager or by running it on the command line.
PS. The fact that it is generally inadvisable to run binary only executables attached to random emails is a separate issue.