Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
07-16-2017, 08:56 PM
|
#1
|
Member
Registered: May 2006
Location: Kansas City, MO
Distribution: Currently Mint
Posts: 655
Rep:
|
Installing an unlabeled executable file
There is a cryptographic coin wallet named Exodus. The linux version is just an unlabelled executable file, meaning it isn't even ending with "run" or "bin". There is no .deb or .rpm.
How do I install this so that all users can use it?
|
|
|
07-16-2017, 09:26 PM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,131
|
#1 get off the Microsoft extension train. Under several other operating systems the Microsoft file extension system is not only not required, it is meaningless. It only has purpose for human readability. Extensions mean nothing to linux.
#2 to detect the file type under *nix style operating systems including all Linux based systems and *bsd based systems you can use the "file" command. This detect the "magic number" in the first bytes of the file that identify it. Check your man page for details.
#3 if a file is a properly formed script or executable file (see #2 for a way to find out), you only need put it in the path of the user who needs to execute it. I generally place mine either in /usr/local/bin (after making sure that /usr/local/bin is in the path the users in question get on logon) or in the specific users ~/bin folder (again, making sure that ${HOME}/bin is in the users default path).
Another possible location is /usr/bin, depending on the system and purpose. I generally avoid placing mine here as a system software update that installs a file with the same or similar name could overwrite it in that location.
I hope that this helps a bit.
|
|
|
All times are GMT -5. The time now is 02:23 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
|
|