LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 10-03-2019, 06:54 PM   #1
bkbyon
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
Question


hi. i'm trying to build custom extension with different name. than than iso or exe. Can anyone help how to do this?
 
Old 10-03-2019, 07:34 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by bkbyon View Post
hi. i'm trying to build custom extension with different name. than than iso or exe. Can anyone help how to do this?
A custom extension of what?
What version of Linux are you using?

Please read the How To Ask A Question link in my signature.
 
Old 10-03-2019, 09:04 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,758

Rep: Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930Reputation: 5930
I am guessing this is a followup to the OPs previous question

https://www.linuxquestions.org/quest...ne-4175656754/
 
Old 10-04-2019, 11:10 AM   #4
urbanwks
Member
 
Registered: Sep 2003
Distribution: Slackware64-Current, FreeBSD 12.1, Alpine 5.4, Manjaro 19, Alpine on WSL [Win10]
Posts: 194

Rep: Reputation: 213Reputation: 213Reputation: 213
Code:
rename file.exe file.xyz
Pretty simple. Now you can run your program that knows what to do with .xyz files.
 
1 members found this post helpful.
Old 10-04-2019, 01:26 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by michaelk View Post
I am guessing this is a followup to the OPs previous question

https://www.linuxquestions.org/quest...ne-4175656754/
Quote:
Originally Posted by urbanwks View Post
Code:
rename file.exe file.xyz
Pretty simple. Now you can run your program that knows what to do with .xyz files.
If so, the answer is going to be the same as in the previous thread; to wit: a Windows executable is not going to run on a Linux system. Period. Renaming the file will not change that. Just sayin'
 
Old 10-04-2019, 02:12 PM   #6
urbanwks
Member
 
Registered: Sep 2003
Distribution: Slackware64-Current, FreeBSD 12.1, Alpine 5.4, Manjaro 19, Alpine on WSL [Win10]
Posts: 194

Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by scasey View Post
If so, the answer is going to be the same as in the previous thread; to wit: a Windows executable is not going to run on a Linux system. Period. Renaming the file will not change that. Just sayin'
Sorry, that was a bit too nuanced I think. I meant that to say - you can call it whatever you want, something needs to be able to understand what to do with it.
 
1 members found this post helpful.
Old 10-04-2019, 02:48 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by urbanwks View Post
Sorry, that was a bit too nuanced I think. I meant that to say - you can call it whatever you want, something needs to be able to understand what to do with it.
Precisely. And, again, no matter what the name, if it's a Windows executable (binary) file, it will not run on Linux.
 
Old 10-04-2019, 11:53 PM   #8
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,434

Rep: Reputation: 110Reputation: 110
___

Last edited by lucmove; 10-04-2019 at 11:54 PM. Reason: never mind
 
Old 10-05-2019, 10:18 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,145

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Actually Linux doesn't pay attention to extensions. We use them so that we know what the file is, and most software uses them, but the operating system doesn't need them — it can normally identify a file type from the "magic number" at the start.

The extensions .exe and .iso are very different things — a Windows program and an optical disk image!
 
Old 10-05-2019, 02:44 PM   #10
urbanwks
Member
 
Registered: Sep 2003
Distribution: Slackware64-Current, FreeBSD 12.1, Alpine 5.4, Manjaro 19, Alpine on WSL [Win10]
Posts: 194

Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by scasey View Post
Precisely. And, again, no matter what the name, if it's a Windows executable (binary) file, it will not run on Linux.
Again, I agree. I'm just going to quit while I'm behind.
 
  


Reply

Tags
extension



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
Apache newbie question.. (very newbie question) tarballed Linux - Newbie 1 02-07-2003 08:41 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM
Security question {newbie question} Radio Linux - Security 3 05-17-2002 06:32 PM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 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
Open Source Consulting | Domain Registration