Como instalo este arquivo src.tar.gz? [duplicado]

0

Ouvi dizer que é possível instalar ou executar arquivos .tar.gz. Este é um código-fonte, também e se houver uma diferença, eu deveria ser informado sobre isso. O jogo é link . O sucesso seria ótimo. Este é um bom jogo, seria apreciado. ;)

Segui as instruções abaixo, mas encontrei:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libsdl1.2-dev' instead of 'libsdl-dev'
Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
build-essential is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

    The following packages have unmet dependencies:
     libcurl4-gnutls-dev : Depends: libcurl3-gnutls (= 7.22.0-3ubuntu4.2) but 7.22.0-3ubuntu4.3 is to be installed
                           Depends: libgnutls-dev but it is not going to be installed
                           Depends: libldap2-dev but it is not going to be installed
                           Depends: librtmp-dev but it is not going to be installed
     libfontconfig1-dev : Depends: libfontconfig1 (= 2.8.0-3ubuntu9) but 2.8.0-3ubuntu9.1 is to be installed
     libsdl1.2-dev : Depends: libx11-dev but it is not going to be installed
                     Depends: libglu1-mesa-dev but it is not going to be installed
                     Depends: libpulse-dev but it is not going to be installed
                     Depends: libxt-dev but it is not going to be installed
                     Depends: libxext-dev but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

apt-get autoclean removeu os pacotes retidos.

Isso me envia procurando por repositórios, mas os repositórios curl e libcurl não possuem libcurl4-gnutls-dev.

    
por Diogenes Lantern 29.11.2013 / 04:03

1 resposta

0

Eu não instalei o jogo e não sei se funciona, mas as etapas para criar esse código-fonte específico devem ser as seguintes:

  • Extraindo

Clique com o botão direito no arquivo baixado, selecione "Extrair aqui".

  • Instalando dependências

Abra uma janela de terminal (ctrl-alt-t no Ubuntu) e o comando abaixo. Ele irá instalar alguns arquivos adicionais.

sudo apt-get install build-essential libboost-dev libboost-filesystem-dev libboost-system-dev libboost-thread-dev libsdl-dev libcurl4-gnutls-dev libfreetype6-dev libfontconfig-dev
  • Instalando

Ainda em uma janela de terminal, mude para o diretório de origem com cd knights_022_src , execute make e aguarde. Se terminar sem erros, execute sudo make install .

    
por mikewhatever 29.11.2013 / 07:40