Python Forum

Full Version: create exe file for linux?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
is there any way to create kind of exe file for my python code ?

in Windows I use
pyinstaller --onefile test.py
and I have test.exe file

can I do the same on linux ?

Thanks,
In Linux it will not be .exe,but a executable file file with no file extensions that will work the same as .exe.
Pyinstaller it is not a cross-compiler,to make a Windows app(.exe) you run PyInstaller on Windows,
and to make a Linux app(executable file) you run it on Linux.
so all I have to do is to install Pyinstaller on my linux computer ?

I will try

Thank you!