Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Hey need help with tar.gz


    I did the guide and it works great but when do this

    cd /usr/local/src/tar -zxvf <nvidia-xconfig-1.0.tar.gz>

    I get this

    bash: syntax error near unexpected token `newline'
    ?

  2. #2
    Hi elfshadow14,
    Quote Originally Posted by elfshadow14
    I did the guide and it works great but when do this

    cd /usr/local/src/tar -zxvf <nvidia-xconfig-1.0.tar.gz>

    I get this

    bash: syntax error near unexpected token `newline'
    ?
    Just run
    # tar -zxvf nvidia-xconfig-1.0.tar.gz
    and continue with what is mentioned in the HOWTO. After extracting the .tar.gz file, change directory to nvidia-xconfig-1.0 and read the README file and INSTALL if they exists to know more.

    With Regards,
    Thinker

  3. #3

    I tryed that and now I get this.

    Quote Originally Posted by Thinker
    Hi elfshadow14,

    Just run

    and continue with what is mentioned in the HOWTO. After extracting the .tar.gz chnage directory to nvidia-xconfig-1.0 and read the README file and INSTALL if they exists to know more.

    With Regards,
    Thinker
    tar: nvidia-xconfig-1.0.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors

  4. $spacer_open
    $spacer_close
  5. #4
    Hi elfshadow14,
    Are you sure you typed the right spelling of the .tar.gz filename?
    Also, if tar is unable to extract it, re-download the installation file again and untar it.

    Once extracted, you should find a .run file in the extracted directory. Exceute it using sh the usual way you do.

    With Regards,
    Thinker

  6. #5
    Just Joined! Rishi's Avatar
    Join Date
    Jul 2005
    Location
    Toronto, Canada
    Posts
    24
    You must first change to the directory in which the archive (nvidia-xconfig-1.0.tar.gz) is located, or else specify the full path. Like so:
    Code:
    tar -xzvf /usr/local/src/nvidia-xconfig-1.0.tar.gz

  7. #6
    Your smooshing commands together. don't do that. First switch to the directory 'cd /usr/local/src/' then run the tar command then 'cd' to the nvidia directory and keep going.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •