Hi
How can I install and use pyinstaller under Kali linux

I appricate your help with an example

I think I found solution!
root@kali:~# wine ~/.wine/drive_c/Python27/python.exe /usr/share/pyinstaller/pyinstaller.py /root/Desktop/1.py

root@kali:~# cd /root/build/pyi.win32/
root@kali:~/build/pyi.win32# ls
output_file
root@kali:~/build/pyi.win32# cd output_file/
root@kali:~/build/pyi.win32/output_file# ls

Hi,

you should not need the win32 version, just download the archive to a specific path, for example ~/sources/, extract and create a link to /usr/bin/ so that the script is available through the system:

wget https://github.com/pyinstaller/pyinstaller/releases/download/v3.1/PyInstaller-3.1.tar.gz
tar -zxf PyInstaller-3.1.tar.gz
cd PyInstaller-3.1
sudo ln -s $PWD/pyinstaller.py
pyinstaller.py -h | less

And you have finished. Also, instead of the Windows idle you can install the linux version, just run:

sudo apt-get install idle -y
idle &

Bye!

commented: Thanks for sharing ! +14

Ops! I forgot to complete the command:

sudo ln -s $PWD/pyinstaller.py /usr/bin/

Bye!

Thanks
Have you another way to compile .py to.exe in linux with pyinsaller?