Find the answer to your Linux question:
Results 1 to 6 of 6
Hi all.. Here i have one situation, that is to compile 1.tar, 2.tar and 3.tar files and make them into a single bin file that is ready to install.. please ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    6

    Lightbulb How to Compile different packages and combine them into a single bin

    Hi all..

    Here i have one situation, that is to compile 1.tar, 2.tar and 3.tar files and make them into a single bin file that is ready to install..

    please help me out from this..

    thanks in advance

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Not enough information to give any pointers.

    What do the tarballs contain?
    Is it sourcecode, that needs to be compiled?
    How is their relation to each other?
    Why combine them in the first place?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Dec 2010
    Posts
    6
    ya Irithori,,

    for me it is like that, tar balls contains some source code first 1st, 2nd and 3rd tar ball to be executed..

    to make all this with single file execution, i am need to make them into a single file

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    So what do you usually do to install the sourcecode in the three tarballs?

    something like this?:
    tar xpf 1.tar
    cd <DIR>
    ./configure && make && make install
    cd ..
    tar xpf 2.tar
    cd <DIR>
    ./configure && make && make install
    cd ..
    tar xpf 3.tar
    cd <DIR>
    ./configure && make && make install
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Dec 2010
    Posts
    6
    ya Irithori,,

    some thing like this only.. but i need to get single bin file to use it later.. but it installs at that time..

    thank you so much Irithori

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    I am sorry, but the information you provide is way too vague.

    It would be quite easy to untar all three and create a new tarball from the unpacked files/directorys.
    untar them: tar xpf...
    create a new one: tar cpf...

    However, this is not "one install" then.
    This is just one tarball instead of three.
    You would still have to compile three times.

    So just the transportation of the sourcecode got a little bit modified.
    Which may or may not be a good thing, depends on what you are actually trying to achieve.
    You must always face the curtain with a bow.

Posting Permissions

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