Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25
hiya i have been really annoyed when downloading some downloads cause they are in gz or gunzip and tar format (y'know with the text files) and i found it hard ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jun 2003
    Location
    55 (degrees) north 7 west
    Posts
    126

    Binary and text file downloads


    hiya
    i have been really annoyed when downloading some downloads cause they are in gz or gunzip and tar format (y'know with the text files) and i found it hard to install things (i'm quite a noob so.. i love the rpms)
    but i was just just wondering if there is a tutorial on how to install stukff like that or is it individual to each download.

    thanks v much
    Thanks v much

    \"Anything bigger than my ego i want it caught and killed\"- Zaphod Beeblebrox

    Multi boot:
    Win xp home, SuSE 8.2 and Slackware 9.1

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    generally it is different for each download, but generally it goes something like:

    Code:
    user@localhost#   tar zxf file.tar.gz				#unzip the file
    user@localhost#   cd filedir							#go into the new directory created
    user@localhost#   more INSTALL					   #read install instructions (if there is any)
    user@localhost#   ./configure 						#configure (check installfile, need extra options?)
    user@localhost#   make									#compile the app
    user@localhost#   su									#go to root
    Password: 	
    root@localhost#   make install							#install application
    Jason

  3. #3
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    If the tarball is compressed with gzip (tar.gz) or bzip (tar.bz or tar.bz2) you will need to add either the z or j switch to the tar statement.

    Code:
    tar xvfz [b]tarball[/b].tar.gz
    tar jxfv [b]tarball[/b].tar.bz2
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  4. #4
    Linux Newbie
    Join Date
    Jun 2003
    Location
    55 (degrees) north 7 west
    Posts
    126
    thankx v much
    this will hopefully work out
    thanks
    Thanks v much

    \"Anything bigger than my ego i want it caught and killed\"- Zaphod Beeblebrox

    Multi boot:
    Win xp home, SuSE 8.2 and Slackware 9.1

  5. #5
    Just Joined!
    Join Date
    Sep 2003
    Location
    Between keyboard and chair.
    Posts
    79

    Problems installing Wine from source

    OK I'm having difficulties installing wine from source code. I followed the instructions on unzipping that Jaguar posted above. I got to the "make" part and thats when troubles began. Since I can't explain what went wrong I'll post my termial.

    [chris@linden-44 chris]$ tar zxf Wine-20030911.tar.gz
    [chris@linden-44 chris]$ cd wine-20030911
    [chris@linden-44 wine-20030911]$ ./configure
    checking build system type... i686-pc-linux-gnuoldld
    checking host system type... i686-pc-linux-gnuoldld
    checking whether make sets $(MAKE)... yes
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    [chris@linden-44 wine-20030911]$ make
    make: *** No targets specified and no makefile found. Stop.
    [chris@linden-44 wine-20030911]$

    I read the README file which was included and it told me to use the Wine installer. These are the results.

    [chris@linden-44 wine-20030911]$ ./tools/wineinstall
    WINE Installer v0.74

    Running configure...

    configure: creating cache config.cache
    checking build system type... i686-pc-linux-gnuoldld
    checking host system type... i686-pc-linux-gnuoldld
    checking whether make sets $(MAKE)... yes
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    Configure failed, aborting install.
    [chris@linden-44 wine-20030911]$

    Seems like I need a C compiler.

  6. #6
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    yes, you need a C compiler. I cant beleive that distro's let you proceed with an install without a C compiler, it is the one thing every linux box needs (more than a GUI!!).

    You could try to find an RPM of GCC and BinUtils, and install them, IIRC people have tried this in the past and came up with difficulties.

    2 places to look for these RPM's:
    1) On your CD
    2) rpmfind.net

    (you need to pre-compiled binaries, not source rpm's )

    Jason

  7. #7
    Just Joined!
    Join Date
    Sep 2003
    Location
    Between keyboard and chair.
    Posts
    79
    Quote Originally Posted by Jaguar
    I cant beleive that distro's let you proceed with an install without a C compiler, it is the one thing every linux box needs (more than a GUI!!).
    I think this is because I set this install up to be a desktop computer and not for a programmer.......currently looking for C compiler...

  8. #8
    Just Joined!
    Join Date
    Sep 2003
    Location
    Between keyboard and chair.
    Posts
    79
    I found the C compiler on my CD. Then it wanted the 'bison' package. I installed that then it wanted the 'flex' package. It's now doing all sorts of crazy crap . Seems like its installing without trouble.

  9. #9
    Just Joined!
    Join Date
    Sep 2003
    Location
    Between keyboard and chair.
    Posts
    79
    Update: It finished and said Wine build complete. But when I type wine <windows file> it says unknown command?

  10. #10
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    did you "make install" as well?

    if so:
    updatedb
    locate wine | more
    or
    locate wine | grep bin | more

    to find the location. The second locate command will give less output, but may not show you where the exe is.

    Didnt it say in the documentation?

    Jason

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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