LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-16-2017, 09:56 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Rep: Reputation: 30
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?
 
Old 07-16-2017, 10:26 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,160

Rep: Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374
#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.
 
  


Reply


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
what do selinux can't apply partial context to unlabeled file /usr/local/nagios/sbin/ parthipan Linux - Server 1 06-07-2012 02:36 PM
what do selinux can't apply partial context to unlabeled file /usr/local/nagios/sbin/ parthipan Linux - Server 3 06-07-2012 08:15 AM
Library issues while installing from a binary executable file kliew Red Hat 4 03-18-2009 08:34 PM
chcon: can't apply partial context to unlabeled file... DevNRG Linux - General 7 10-12-2005 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration