How to install tar.gz file

18,344

Try these commands,

cd ~/Desktop
tar -xzvf CatlateralDamage_v4.1a_linux.tar.gz
Share:
18,344

Related videos on Youtube

user246603
Author by

user246603

Updated on September 18, 2022

Comments

  • user246603
    user246603 over 1 year

    Trying to install Catlateral Damage using the usual extracting and installing commands on the terminal, but it keeps tossing me annoying errors. Probably missing something obvious. Both the archive and the file are on my desktop. Note: the file created by extracting the archive starts out named the same, but then switches to "Linux". I tried renaming it CatlateralDamage too.

    rachael@rachael-desktop:~$ cd /home/rachael/desktop/catlateraldamage
    bash: cd: /home/rachael/desktop/catlateraldamage: No such file or directory
    rachael@rachael-desktop:~$ cd /home/rachael/desktop/catlateral damage
    bash: cd: /home/rachael/desktop/catlateral: No such file or directory
    rachael@rachael-desktop:~$ cd /home/rachael/desktop/catlateraldamage
    bash: cd: /home/rachael/desktop/catlateraldamage: No such file or directory
    rachael@rachael-desktop:~$ cd /home/rachael/desktop/catlateraldamage_v4.1a_linux.tar.gz
    bash: cd: /home/rachael/desktop/catlateraldamage_v4.1a_linux.tar.gz: No such file or directory
    rachael@rachael-desktop:~$ tar -xzf catlateraldamage_v4.1a_linux.tar.gz
    tar (child): catlateraldamage_v4.1a_linux.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    rachael@rachael-desktop:~$ sudo apt-get install catlateraldamage
    [sudo] password for rachael: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package catlateraldamage
    rachael@rachael-desktop:~$ cd /home/rachael/desktop/linux 
    bash: cd: /home/rachael/desktop/linux: No such file or directory
    rachael@rachael-desktop:~$ tar -zxvf CatlateralDamage_v4.1a_Linux.tar.gz
    tar (child): CatlateralDamage_v4.1a_Linux.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    rachael@rachael-desktop:~$ 
    
    • Avinash Raj
      Avinash Raj about 10 years
      what was the path to the catlateraldamage_v4.1a_linux.tar.gz file?
    • user246603
      user246603 about 10 years
      it's sitting on my desktop...?
  • Avinash Raj
    Avinash Raj about 10 years
    D for desktop would be in caps.
  • user246603
    user246603 about 10 years
    no joy. same errors. this is where i got the file from: catlateraldamage.com/play click on the "linux" link for the tar.gz d'oh >.< didn't realize it's case-sensitive. now the tarball's unwound. what's next?
  • user246603
    user246603 about 10 years
    d'oh >.< didn't realize it's case-sensitive. now the tarball's unwound. what's next?
  • Avinash Raj
    Avinash Raj about 10 years
  • user246603
    user246603 about 10 years
    well, now i'm in the Linux directory, but ./configure doesn't work. what am i missing?
  • Avinash Raj
    Avinash Raj about 10 years
    if it was a directory then go inside it by using cd command,and then run ls command.
  • user246603
    user246603 about 10 years
    i did. the stupid comment box keeps reformatting it. it said "Catlateral Damage-v4.1a_Data", "Catlateral Damage-v4.1a.x86.64", "Catlateral Damage -v4.1a.x86", all on separate lines
  • Avinash Raj
    Avinash Raj about 10 years
    where did you download that tar.gz file?
  • user246603
    user246603 about 10 years
    catlateraldamage.com/play click on the "linux" link
  • Avinash Raj
    Avinash Raj about 10 years
  • user246603
    user246603 about 10 years
    that... did nothing that i can tell. "rachael@rachael-desktop:~/Desktop/Linux$ chmod u+x "Catlateral Damage - v4.1a.x86_64"
  • user246603
    user246603 about 10 years
  • Avinash Raj
    Avinash Raj about 10 years
    ls -l command and also your ubuntu is 32 bit or 64 bit?
  • user246603
    user246603 about 10 years
    pastebin.com/6ECQ3jYn not entirely sure
  • Avinash Raj
    Avinash Raj about 10 years
    what was the output of uname -m?
  • user246603
    user246603 about 10 years
    that would be i686
  • Avinash Raj
    Avinash Raj about 10 years
    then run sudo chmod +x "Catlateral Damage - v4.1a.x86" and then ./"Catlateral Damage - v4.1a.x86"
  • user246603
    user246603 about 10 years
    gah. well, it worked and launched the game, unfortunately it then turned the screen black and i had to escape out of it to shut down all my other programs. now i don't know how to launch it again ;.;
  • Avinash Raj
    Avinash Raj about 10 years
    go into the directory and then run ./"Catlateral Damage - v4.1a.x86".And don't forget to accept my answer.
  • kiri
    kiri about 10 years
    @AvinashRaj: Please don't encourage users to post to pastebin or provide output in comments. The question should be edited instead to add more information.