how do you compile packages in xubuntu

Discussion in 'Linux, BSD and Other OS's' started by jester45, Sep 3, 2006.

  1. jester45

    jester45 Big Geek wanna be

    Likes Received:
    0
    Trophy Points:
    0
    how do you compile packages in xubuntu i dont have the sightest idead on how to do this i think it is easy once you figure out how it works but as of now all i know on how to do it is to have the sorce and then type a few commands in the terminal i dont know what the commands are how ot use then or what to do with the sorce

    many of the programs i want to use are in just sorce wich i think is a great thing ober windows becuase of you have a older version you can use alot of the things that a xp can but in linux your os forms the sorce to its self

    so can anyone help me with this i have look a 5 howtos and they where of not help
     
  2. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    What program do you want to compile? You may find that a package is available in the repositories.
     
  3. jester45

    jester45 Big Geek wanna be

    Likes Received:
    0
    Trophy Points:
    0
    azureus and java

    and a few others
     
  4. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    You don't have to compile Azureus, and you can't compile Sun Java, because the source code is not available (yet -- they may open the source soon). All you need to do is

    1. Download and Install Java
    2. Download and install Azureus
     
  5. jester45

    jester45 Big Geek wanna be

    Likes Received:
    0
    Trophy Points:
    0
    how do you install them after they dl
     
  6. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    Well, first of all, which packages did you download?
     
  7. jester45

    jester45 Big Geek wanna be

    Likes Received:
    0
    Trophy Points:
    0
    both in the links above
     
  8. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    For Java and other restriced formats, look here
     
  9. zeus

    zeus out of date

    Likes Received:
    0
    Trophy Points:
    36
    There are always help files with source downloads. But compiling isnt as simple as typing a few commands. You have to configure it all first which is sometimes simple but often not.

    generally, from the source directory
    ./configure --prefix=/usr &&
    make
    make install

    But I wouldnt bother if I were you, stick to binaries! The ./configure often requires LOADS of extras added and what about package management?
     
  10. jester45

    jester45 Big Geek wanna be

    Likes Received:
    0
    Trophy Points:
    0
    ok i just got the mutiveres repostiory on and im working on installing somethings now i will edit this if i find a problems

    didnt have any problems installing java azureus or mplayer
     
  11. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    If you do choose to compile programs from source, you will first need to install the appropriate tools to do it:

    Code:
    sudo apt-get install build-essential
     
  12. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    Not always, I've compiled many programs with just a plain ./configure and then compile goes fine as long as the necessary variables are set/right packages installed.
     
  13. zeus

    zeus out of date

    Likes Received:
    0
    Trophy Points:
    36
    Yeah, Xfce is a simple ./configure. I was quite surprised by that one.
     
  14. jester45

    jester45 Big Geek wanna be

    Likes Received:
    0
    Trophy Points:
    0
    i compiled something after about 2hours it was a dvd ripping tool it was cool but tok forever but i hope i never have to complie something big
     
  15. zeus

    zeus out of date

    Likes Received:
    0
    Trophy Points:
    36
    Open office took something daft like 11hrs for me. To get a good BLFS "distro" going takes well over 25hrs of compiling! Another good thing about binaries.
     

Share This Page