LinuxQuestions.org
Visit Jeremy's Blog.
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, 08:56 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Currently Mint
Posts: 655

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, 09:26 PM   #2
wpeckham
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

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

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

All times are GMT -5. The time now is 02:23 AM.

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