Find the answer to your Linux question:
Results 1 to 5 of 5
Hello everyone, I am very new to Suse/Linux and having a great deal of trouble compiling programs. I want to put tripwire on my computer, but I downloaded it as ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    1

    Compiling with tar.bz2


    Hello everyone,
    I am very new to Suse/Linux and having a great deal of trouble compiling programs. I want to put tripwire on my computer, but I downloaded it as a tar.bz2 file. I don't even know how to compile that to get started.
    Thanks in advance,
    Johnmc

  2. #2
    Just Joined! Dpontes11's Avatar
    Join Date
    Nov 2005
    Location
    Gondomar, Portugal
    Posts
    68

    Red face

    I'm not 100% sure, but i think you can try:

    Code:
    tar -zxvf tar.bz2
    But, alas, I'm also very new to linux, and this is just a wild guess. Just hope that if you try this, it doesn't do any damage to your system

    Have fun!

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    Really close. tar -xvzf works for tar.gz files (the order of the options x, v, z, and f doesn't matter, except the f should be last). For tar.bz2 files, you need a j in place of the z.
    Ex: tar -xvjf filename.tar.bz2
    Then go into the directory that it creates, and look at the INSTALL file. It'll have instructions on how to compile and install the program.
    Stand up and be counted as a Linux user!

  4. #4
    Just Joined! Dpontes11's Avatar
    Join Date
    Nov 2005
    Location
    Gondomar, Portugal
    Posts
    68
    Quote Originally Posted by Zelmo
    Really close. tar -xvzf works for tar.gz files (the order of the options x, v, z, and f doesn't matter, except the f should be last). For tar.bz2 files, you need a j in place of the z.
    Ex: tar -xvjf filename.tar.bz2
    Then go into the directory that it creates, and look at the INSTALL file. It'll have instructions on how to compile and install the program.
    I stand corrected Live & Learn!! So,
    Code:
    tar -xvjf filename.tar.bz2

  5. #5
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    read the tutorial on this subject, in the tutorial area of thisw forum.

    http://www.linuxforums.org/forum/lin...re-readme.html

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

Posting Permissions

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