como instalo o mingw64 no kali linux 2.0?

0

Eu fiz o download de vários pacotes desses sites:

link

link

Aparentemente, eu tenho que ter o Wine instalado no Kali Linux também. No entanto, não consigo nem fazer isso corretamente.

root@blackJesus:~/Downloads# apt-get install mingw-w64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mingw-w64

Eu tentei descompactar e descompactar vários pacotes e isso ainda não ajudará. Este é o único que descompactou corretamente, e eu não vejo o que isso faz por mim. Talvez eu esteja errado e precise tentar outra coisa, mas o que eu faço daqui se essa for a solução:

root@blackJesus:~/Downloads# tar -xzvf gcc-mingw-w64_8.tar.gz
gcc-mingw-w64-8/
gcc-mingw-w64-8/debian/
gcc-mingw-w64-8/debian/control.source
gcc-mingw-w64-8/debian/control.c.sed
gcc-mingw-w64-8/debian/gobjc++-mingw-w64-i686.install
gcc-mingw-w64-8/debian/watch
gcc-mingw-w64-8/debian/g++-mingw-w64-x86-64.lintian-overrides
gcc-mingw-w64-8/debian/gobjc-mingw-w64-x86-64.install
gcc-mingw-w64-8/debian/gfortran-mingw-w64-i686.lintian-overrides
gcc-mingw-w64-8/debian/control.ada.sed
gcc-mingw-w64-8/debian/gnat-mingw-w64-i686.install
gcc-mingw-w64-8/debian/gnat-mingw-w64-x86-64.install
gcc-mingw-w64-8/debian/changelog
gcc-mingw-w64-8/debian/gcc-mingw32.links
gcc-mingw-w64-8/debian/compat
gcc-mingw-w64-8/debian/gobjc-mingw-w64-i686.install
gcc-mingw-w64-8/debian/gfortran-mingw-w64-x86-64.install
gcc-mingw-w64-8/debian/control.fortran.sed
gcc-mingw-w64-8/debian/rules.variant
gcc-mingw-w64-8/debian/gcc-mingw-w64-x86-64.install
gcc-mingw-w64-8/debian/control.template
gcc-mingw-w64-8/debian/g++-mingw-w64-x86-64.install
gcc-mingw-w64-8/debian/copyright
gcc-mingw-w64-8/debian/control.bootstrap
gcc-mingw-w64-8/debian/gcc-mingw-w64-bootstrap.install
gcc-mingw-w64-8/debian/g++-mingw-w64-i686.lintian-overrides
gcc-mingw-w64-8/debian/gcc-mingw32.lintian-overrides    
gcc-mingw-w64-8/debian/control.c++.sed
gcc-mingw-w64-8/debian/README.source
gcc-mingw-w64-8/debian/patches/
gcc-mingw-w64-8/debian/patches/disable-multilib.patch
gcc-mingw-w64-8/debian/patches/mingw-include.patch
gcc-mingw-w64-8/debian/patches/spelling-fixes-code.patch
gcc-mingw-w64-8/debian/patches/cpp-intrinsics.patch
gcc-mingw-w64-8/debian/gfortran-mingw-w64-x86-64.lintian-overrides
gcc-mingw-w64-8/debian/gnat-mingw-w64-x86-64.lintian-overrides
gcc-mingw-w64-8/debian/gobjc++-mingw-w64-x86-64.install
gcc-mingw-w64-8/debian/gcc-mingw-w64-i686.lintian-overrides
gcc-mingw-w64-8/debian/bootstrap
gcc-mingw-w64-8/debian/gcc-mingw-w64-x86-64.lintian-overrides
gcc-mingw-w64-8/debian/rules.bootstrap
gcc-mingw-w64-8/debian/g++-mingw-w64-i686.install
gcc-mingw-w64-8/debian/gfortran-mingw-w64-i686.install
gcc-mingw-w64-8/debian/rules.full
gcc-mingw-w64-8/debian/gcc-mingw-w64.postinst
gcc-mingw-w64-8/debian/source/
gcc-mingw-w64-8/debian/source/format
gcc-mingw-w64-8/debian/source/lintian-overrides
gcc-mingw-w64-8/debian/control
gcc-mingw-w64-8/debian/gcc-mingw32.postinst
gcc-mingw-w64-8/debian/control.gcc-mingw32
gcc-mingw-w64-8/debian/control.base
gcc-mingw-w64-8/debian/control.obj-c++.sed
gcc-mingw-w64-8/debian/rules
gcc-mingw-w64-8/debian/control.objc.sed
gcc-mingw-w64-8/debian/gnat-mingw-w64-i686.lintian-overrides
gcc-mingw-w64-8/debian/gcc-mingw-w64-i686.install

Estou tentando instalar o mingw64 no kali linux. Ajuda?

- update: Eu fiz algum progresso, mas ainda tenho problemas para instalar o vinho -

root@blackJesus:~/Desktop/MinGW# wine mingw-get-setup.exe 
wine: Bad EXE format for Z:\root\Desktop\MinGW\mingw-get-setup.exe.
    
por mace 11.09.2015 / 07:40

1 resposta

0

Só para esclarecer. O Wine é uma ferramenta que permite instalar e executar (muitos, não todos) programas que foram projetados e compilados para o Windows. O Wine irá emular um ambiente Windows e permitirá a execução desses programas.

O que você precisa fazer é instalar o Wine . Procure por ele com apt-get e instale. Quando isso é feito. Vá para o download da página MinGW e instale o executável de instalação através do Wine (normalmente apenas clicando duas vezes no exe).

Se a instalação foi bem-sucedida, o compilador que você deseja usar para compilar programas para o Windows deve estar localizado em /root/.wine/drive_c/MinGW/bin .

    
por 11.09.2015 / 08:58