Announcement

Collapse
No announcement yet.

(SOLVED) How to un-tar a .tar.gz

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    (SOLVED) How to un-tar a .tar.gz

    Okay, I'm pretty much an intermediate user of linux, but when it comes to un-tarring a file, well to say the least I keep banging my head against a brick wall.

    I've tried using this guide (http://www.tuxfiles.org/linuxhelp/softinstall.html), but I just don't seem to get it right.
    Can someone please give me a step by step guide as what to do?

    The file is 120176-kopete-mxit-0.02.tar.gz and is located in /home/downloads

    TIA
    :P :P



    UPDATE: 9 JULY 2010
    Just add Google talk (google username, etc to Jabber) and from there just add your mxit contacts to a new group as follows their/phone/number@mxit.co.za (please use the international format)

    #2
    Re: How to un-tar a .tar.gz

    tar xvfz 120176-kopete-mxit-0.02.tar.gz doesn't work?

    Comment


      #3
      Re: How to un-tar a .tar.gz

      Conversely navigate to that file in dolphin->right click and choose extract (make you own choice on how / where)

      Hope that helps
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #4
        Re: How to un-tar a .tar.gz

        Originally posted by Ole Juul
        tar xvfz 120176-kopete-mxit-0.02.tar.gz doesn't work?
        Hi there Ole Juul
        tried that, but unfortunately it didn't work. Here's the output to the command

        tanya@tanya-laptop:~$ tar xvfz 120176-kopete-mxit-0.02.tar.gz
        tar: 120176-kopete-mxit-0.02.tar.gz: Cannot open: No such file or directory
        tar: Error is not recoverable: exiting now
        tar: Child returned status 2
        tar: Exiting with failure status due to previous errors
        tanya@tanya-laptop:~$ sudo apt-get tar xvfz 120176-kopete-mxit-0.02.tar.gz
        [sudo] password for tanya:
        E: Invalid operation tar
        tanya@tanya-laptop:~$

        Comment


          #5
          Re: How to un-tar a .tar.gz

          Originally posted by Fintan
          Conversely navigate to that file in dolphin->right click and choose extract (make you own choice on how / where)

          Hope that helps
          Hi Fintan
          I right-clicked and chose to extract to the same folder (downloads). It then showed a few text files & a few folders. Once of the files is a ReadMe:
          A Kopete plugin that allows you to chat on MXit(www.mxit.co.za).

          Compiling

          mkdir build
          cd build
          cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..

          Jimi Smith <smithj002@gmail.com>

          and then I start banging my head on the wall again ;-0

          Comment


            #6
            Re: How to un-tar a .tar.gz

            Okay, so you got it extracted.

            The read me is basicly telling how to compile (install) the plugin.

            I am no expert at compiling software but here goes:
            - install build-essential:
            In a terminakl (konasole) do:
            Code:
            sudo apt-get install build-essential
            When that is done navigate to the folder your plugin lives in with dolphin and open a terminal there view->panels->terminal.

            Now for the fun part:
            do these comannds from the terminal:
            you can copy and paste but make sure the syntax is correct.
            Especially the last command!!!

            Code:
            mkdir build
            this will make the build directory

            Code:
            cd build
            this changes into the build directory

            Code:
            cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
            this will compile your plugin (hopefully)

            If there any errors post them here.

            Good luck and enjoy
            HP Pavilion dv6 core i7 (Main)
            4 GB Ram
            Kubuntu 18.10

            Comment


              #7
              Re: How to un-tar a .tar.gz

              also -- and this is just a guess -- but I think the reason that your untar command didn't work may have been because you didn't "cd" to the file's location before running your commands.

              Mike

              Comment


                #8
                Re: How to un-tar a .tar.gz

                tar: 120176-kopete-mxit-0.02.tar.gz: Cannot open: No such file or directory
                tar: Error is not recoverable: exiting now
                Yep
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #9
                  Re: How to un-tar a .tar.gz

                  What is the md5sum of your tar file. My download of 120176-kopete-mxit-0.02.tar.gz from http://kde-apps.org/content/show.php...content=120176 gave an md5sum of: f148287fcbeed1aab6e506e498dd634d

                  If yours is the same then the md5sum should be the same. If it is not then the file has been modified by someone.
                  "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                  – John F. Kennedy, February 26, 1962.

                  Comment


                    #10
                    Re: How to un-tar a .tar.gz

                    Originally posted by Fintan
                    Okay, so you got it extracted.

                    The read me is basicly telling how to compile (install) the plugin.

                    I am no expert at compiling software but here goes:
                    - install build-essential:
                    In a terminakl (konasole) do:
                    Code:
                    sudo apt-get install build-essential
                    When that is done navigate to the folder your plugin lives in with dolphin and open a terminal there view->panels->terminal.

                    Now for the fun part:
                    do these comannds from the terminal:
                    you can copy and paste but make sure the syntax is correct.
                    Especially the last command!!!

                    Code:
                    mkdir build
                    this will make the build directory

                    Code:
                    cd build
                    this changes into the build directory

                    Code:
                    cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
                    this will compile your plugin (hopefully)

                    If there any errors post them here.

                    Good luck and enjoy
                    Hi there Fintan
                    I think I'm missing something small, but here is the output of the terminal in dolphin panel

                    tanya@tanya-laptop:~/Downloads$ sudo apt-get install build-essential
                    Reading package lists... Done
                    Building dependency tree
                    Reading state information... Done
                    build-essential is already the newest version.
                    0 upgraded, 0 newly installed, 0 to remove and 113 not upgraded.
                    tanya@tanya-laptop:~/Downloads$ mkdir build
                    mkdir: cannot create directory `build': File exists
                    tanya@tanya-laptop:~/Downloads$ cd build
                    tanya@tanya-laptop:~/Downloads/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
                    CMake Error: The source directory "/home/tanya/Downloads" does not appear to contain CMakeLists.txt.
                    Specify --help for usage, or press the help button on the CMake GUI.

                    Comment


                      #11
                      Re: How to un-tar a .tar.gz

                      Originally posted by GreyGeek
                      What is the md5sum of your tar file. My download of 120176-kopete-mxit-0.02.tar.gz from http://kde-apps.org/content/show.php...content=120176 gave an md5sum of: f148287fcbeed1aab6e506e498dd634d

                      If yours is the same then the md5sum should be the same. If it is not then the file has been modified by someone.
                      Hi GreyGeek
                      I downloaded it from the same site as you mentioned, but I've got no idea about the mdsum

                      Comment


                        #12
                        Re: How to un-tar a .tar.gz

                        In the terminal window, change directory to the directory where you downloaded the file:

                        Code:
                        cd /Downloads
                        in your user folder, for example. Then

                        Code:
                        md5sum 120176-kopete-mxit-0.02.tar.gz
                        and it will return the md5sum for you.

                        Comment


                          #13
                          Re: How to un-tar a .tar.gz

                          Okay, thanks to DIBL I've got the md5sum

                          tanya@tanya-laptop:~$ cd /home/tanya/Downloads
                          tanya@tanya-laptop:~/Downloads$ md5sum 120176-kopete-mxit-0.02.tar.gz
                          f148287fcbeed1aab6e506e498dd634d 120176-kopete-mxit-0.02.tar.gz
                          tanya@tanya-laptop:~/Downloads$

                          Comment


                            #14
                            Re: How to un-tar a .tar.gz

                            OK, that's a match to what GG said it should be, so now you know you have a valid file -- the download worked correctly.

                            So what's your next move -- you want to untar it? Probably Dolphin will be easiest for you -- just right-click it and choose "Extract Here".

                            The command line method is

                            Code:
                            tar -xvfz 120176-kopete-mxit-0.02.tar.gz

                            Comment


                              #15
                              Re: How to un-tar a .tar.gz

                              Hi there

                              i was hoping to un-tar it, but I just keep getting errors. It's frustrating especially when I pretty okay with Kubuntu, but I've got no clue as how to untar 1 file.
                              Perhaps I should just stick to Ubuntu?

                              Comment

                              Working...
                              X