Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [executable]

An executable is a program contained in one file. This file is often referred to as an executable because of the Windows extension for executables(.EXE).

1
vote
1answer
33 views

Executing a program (.exe) from a USB stick [duplicate]

I have a USB stick mounted (it appears in the output of lsblk) and contains an executable file: PortablePGP.exe which has executable permission and a file: autorun.inf I do not know how to launch ...
0
votes
1answer
70 views

Executable program will not run

I was trying to run Monero-cli one my Ubuntu laptop and it wont let me run the executable file after the start.sh file. It said Permission denied on both the executable and start.sh and I could not ...
2
votes
2answers
62 views

ldd started to show me “not a dynamic executable”

I am a bit confused because I don't understand why it happens: The last changes on the system that I remember were installed g++5 for the old porject (removed already) apt autoclean removed ...
1
vote
1answer
15 views

Error while installing MPICH: C compiler cannot create executables

I am trying to install mpich 3.2.1 on ubuntu 16. When i execute ./configure --prefix=/opt/mpich 2>&1 | tee c.tx i get: checking for icc... no checking for pgcc... no checking for xlc... no ...
0
votes
0answers
10 views

programs / applications / binaries take a long time to start after boot

After booting, every program I try to run takes a long time to start, but works perfectly fine and responsively after it finally starts. For example: - Bash takes several seconds to display the first ...
4
votes
1answer
205 views

Create executable and shared library with one makefile

Using makefiles is new to me. My first tests with the simplest approach worked very well so far. But now I got stuck writing a makefile that creates a executable file and a shared library. As I said I'...
0
votes
0answers
12 views

Can I create an executable file from a Code Blocks project?

I wrote a program using Code Blocks and I'd like to create an executable file that I can doubleclick to run. Is there a way to do so? Sorry if this is a duplicate, but I read a lot of posts and just ...
0
votes
1answer
49 views

installed bc but cannot run it

I installed bc from the repository using apt-get, but cannot make it run whatever I do. Can anyone please explain the following...? [~]$ pwd /home/polaris [~]$ bc File /home/polaris/.bc is ...
0
votes
1answer
41 views

Can't execute C executable file

I'm trying to use libusb for my project, but a mysterious problem occurred. I compiled the C source code with no errors. It successfully generated an executable C file into the current directory, but ...
1
vote
1answer
91 views

After upgrading to Ubuntu 18.04.1 LTS all my .desktop launchers went “Untrusted” [duplicate]

After upgrading to Ubuntu 18.04.1 LTS all my .desktop launchers went "Untrusted", and I have to "re-trust" them manually. While many other posts (e.g. this) say to use the command in terminal: gio ...
0
votes
0answers
25 views

How to make binary executable file appear as executable file in file browser?

I can't make compiled C (or C++) programs to appear as executables in file browser. In order to run them, I need to open them via terminal, while other programs (like Telegram) appear as executables ...
0
votes
1answer
40 views

How to execute g++ code and run it as well using execl

I am writing a program in c++ that uses fork and then child program do execl which opens xterm and execute another program let's say p2code. Here is what I am doing execl("/usr/bin/xterm", "/usr/bin/...
1
vote
1answer
56 views

How can I find the files for installed programs [duplicate]

Where are the files of my installed programs located? I would like to collect all of them in one "install" folder so that I can reinstall them any time I want, just as I can do in Windows.
1
vote
1answer
83 views

Wine + PlayOnLinux + SelfExtractingArchive.exe

What if I want to install Windows software using PlayOnLinux, but the only .exe file I can select is a self-extracting archive? How do I extract the actual main program file that PlayOnLinux is ...
0
votes
0answers
32 views

How to set default permission of .sh files for inside certain directory [duplicate]

I have created a directory /root/script/. Now I want to set default execution (x) permission for all files/folder of /root/script and also want to set the same for newly created files/folder. It means ...
0
votes
1answer
71 views

File Extension For Shell Execute

I have the allowed execution of shell scripts (they were already X by default in properties) but can not run them from outside the terminal without opening them to edit. I scrolled down in 'open with ...
0
votes
0answers
26 views

18.04.1 steam says I can't make a partition on a drive without exec but I edited fstab

I have previously edited fstab successfully to automount my extra HDDs, and I've updated it to include exec permission rw,exec,user,auto,fmask=0177,dmask=0077,uid=1000 When I try to make a new ...
1
vote
1answer
152 views

How do I make an executable instead of a shared library under 18.04.1?

When I make a Fortran executable using make under 18.04.1, a shared library is made that is executable instead of an executable. I have attached images comparing 18.04 and 18.04.1 results. How do I ...
0
votes
1answer
21 views

x-executable does not run correctly on Nautilus

I have a script that I merged into a single file by using pyinstaller. For the case, let´s do it with a simpler example, since the error also ocurrs: helloworld.py #!/bin/bash print "Hello World!" ...
2
votes
1answer
110 views

Executing an executable with GTK2 requirement on Ubuntu 18.04

I am trying to run this program (https://www.scarabee-software.net/en/siren.html) on Ubuntu 18.04 and it won't start. Requirements Windows : XP minimum GNU/Linux : GTK2 mandatory Installation ...
0
votes
0answers
29 views

HPC job submission: difference betwee a binary and a script

I am trying to submit a job on an HPC and I am very new to the GSE submission system. Upon submitting a job using a script called script1.bash, I received the following error file. Warning: no ...
0
votes
0answers
121 views

Launching a shared object executable on Ubuntu via double-click

I've built my application on Ubuntu using a static build of Qt in order to simplify deployment. I just noticed that if I double-click the executable, I get an error: Could not display "slate". ...
2
votes
1answer
160 views

Where is the Vuze 'executable' located?

I am very new to Ubuntu and I'm struggling. Currently running 16.04 and I've installed Vuze via Ubuntu Software. The manual install was problematic for me. When I click on a magnet link in Firefox ...
0
votes
1answer
224 views

I cannot run any executable from nautilus

With Ubuntu 18.04 have a problem. When compiling something, the executable binary is showed as shared-library in Nautilus. When double clicked any executable file, I got the following message "There ...
-1
votes
1answer
344 views

'Bash ./main: No such file or directory' error while trying to execute a C++ program

The code snippet: #include <iostream> using namespace std; int main(){ unsigned int a, b, diff; cin>>a>>b; diff = a - b; if(diff % 10 == 9){ diff--; }...
2
votes
0answers
32 views

Ubuntu 18.04 - Lock Executable to Ubuntu dock [duplicate]

In Ubuntu 16.04, I was able to lock executables to the Unity Launcher. While they were open, I just had to right click, and select "lock to launcher". Then they would stay in the launcher even when ...
-3
votes
2answers
840 views

How to run .sh file by click in Xubuntu? [duplicate]

We should type ./file.sh in terminal to run sh. Is there way to run it as executable file by double click ?
0
votes
0answers
224 views

Cannot execute binary file for ADOM

I wanted to install a roguelike on my Gallium OS system(I believe galliumos is based of off 16.04 Ubuntu) so I installed the game and ran these commands. chmod +x /home/chrx/Documents/adomgraphical/...
0
votes
0answers
209 views

Xubuntu 18.04 LTS does not recognize executables

I upgraded to Xubuntu 18.04, and I have a problem with executable files because it recognizes (application/x-sharedlib) instead of (application/x-executable). How can I resolve this problem?. Thanks
1
vote
1answer
539 views

How to find the path of a specific application (Google Chrome)?

I have Google Chrome downloaded on my laptop and I want to find where it is compared to a Windows path use it, basically for a text to speech project. On Windows it is located here : chrome_path = '...
0
votes
0answers
11 views

Is there a way to limit write access to a filesystem based on the executable?

I would like to reasonably ensure that only a specific executable has write access to a filesystem (anything else is just read access). I do not need this to be secure (in the sense this is not a ...
0
votes
1answer
82 views

Cmap Tools - which file to execute

I have installed CMapTools in Ubuntu, into a directory ~IHMCP CMap Tools. But I can't seem to figure out which is the executable file. Can you help? Thanks!
0
votes
1answer
78 views

Differentiating user-defined executables from pre-existing executables

Commands like cp and ls reside under /bin or /usr/bin. Hypothetically, if we created another executable of the same name, how will Linux differentiate between them?
1
vote
0answers
141 views

IDL not running on Ubuntu 18.04 “exec: /idl/idl1706/bin/bin.linux.x86/idl: not found”

I have just installed IDL 7.1 on Ubuntu 18.04 x86_64. No error messages were prompted during the installation. However, when I try to run IDL on the shell, an error message is shown: /idl/idl706/bin/...
1
vote
1answer
35 views

PHP exec() has write permission error despite write privilege

I am running 7.0.28-0ubuntu0.16.04.1, under LAMP, on two Ubuntu 16.04. The C code, to open the file for writing is: #define ERROR_OPENING_FILE -4 fprintf(stderr, "Open output file: /var/www/...
0
votes
1answer
675 views

executable icon is missing for Ubuntu 18.04

I recently updated my Ubuntu from 16.04 to 18.04, and one problem is the icon for the executable is the same as the one for a text file. (ArucoDetect is an executable, and others are usual text files) ...
0
votes
0answers
14 views

get version from windows executable from within ubuntu

I have a mono app that is a .net developed application. It runs within linux and I'm trying to write a script that will extract the version number of the file from the executable itself. I've done a ...
0
votes
0answers
57 views

Unable to start exe files in Wine launched from Chrome

I'm trying to play Roblox on Ubuntu. I have installed wine, have .NET and Gecko, and have all the tools needed to start .exe files in Ubuntu. However, I encounter a problem. When I try to launch the ...
18
votes
2answers
4k views

Why not make .txt file executable instead of .sh file to run scripts?

I was wondering what's the need to put executable commands inside a .sh file to make a single script, since I can do the same by putting the commands inside a .txt file and making it executable using ...
1
vote
1answer
72 views

How can I download a .exe file from a given URL?

I would like to download, then install a .exe file from a URL via the command line via wget or curl. Specifically MS Build Tools 2015 (https://www.microsoft.com/en-us/download/confirmation.aspx?id=...
0
votes
0answers
120 views

I can't run an .x86 file

I recently downloaded ubuntu linux on my chromebook and i love it! I also downloaded a game called: Game of the year 420 blaze it. I had it installed on my windows computer and i also wanted it on my ...
3
votes
1answer
110 views

Does moving or renaming a executable file (in particular a Windows executable under Wine) impact its running while it is being run?

In Ubuntu, when running an executable file or a script file, if I move or rename the file, will the running be impacted? when running a Windows executable (e.g. PDFXCview.exe) under wine, will ...
0
votes
0answers
15 views

Running 32 bit application on 64 bit Ubuntu [duplicate]

In my project I want to run 32 bit executable on 64 bit Ubuntu.(Version 14.04) For this purpose I see that ; sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 ...
5
votes
2answers
21k views

How to run exe file in Ubuntu [duplicate]

Is it possible to run a .exe file in Ubuntu in a script? For example a simple Matlab code like this: system("dir/WAV2RAW.exe")
2
votes
0answers
40 views

web links are opened twice

Since I installed Firefox Quantum and Firefox ESR 52 both (Kubuntu Trusty / KDE 4.13.3) it happens every time that any external web link is opened twice in my default browser. So I presume this is an ...
3
votes
0answers
108 views

How to launch only shell scripts from Nautilus

This is related to questions like “How do I run executable scripts in Nautilus?” or “How to execute a script just by double clicking like .EXE files in Windows?”. I would also like to have shell ...
0
votes
1answer
55 views

How to write command lines [closed]

After my first login on Ubuntu 13 it tells me about copyrights and warranty then drops down to: Username@Hostname:~$_ I have no idea what I'm supposed to do here? Any help would be greatly ...
0
votes
0answers
109 views

How to run an executable file outside of it's folder?

I have an executable file in /home/m that shows an image with gtk3. I can run it when I go to it's folder /home/m by this command./img but when I try to run it from outside /home/m by this commands: /...
0
votes
1answer
106 views

Executable Text File set to execute

So I downloaded AutoMouseClick because I need the software. I downloaded the zip file, extracted it and made sure that under my Preferences settings in File are set to "Ask Each Time" whenever I ...
16
votes
3answers
4k views

Is ./ (dot slash) a command?

Core of the question: The question arose while I could not install the software, so I am genuinely asking about ./ because I didn't know about it and the output "command not found" was confusing me ...