Followers

Monday, August 24, 2009

tarball

i hate this thing.
anyway here are some truly-bloody-hard-to-remember kinda how-to.
when i happen to do one, thousands (exaggerated for sure, but i dont know how to express like 'berpuluh-puluhan' or something to that effect) of google results i clicked to just to execute few tiny lines. why dont i compile it here for my reference, aite?

  • download a tarball. its a compressed folder, or zipped as the one in win. the extension can be .tar, .tar.gz, .tar.bz2 and few others. (obviously from the websites n not repo/sypnaptic)
  • change the directory to the folder that contains the downloaded tarball
cd /home/anggun/Download and ls to list all the files inside. should see the newly installed package by now.
  • unpack the tarball
tar xzvf filename.tar.gz
tar xjvf filename.tar.bz2
  • change the directory of newly unpack folder.
'cd /filename' then 'ls' to see what's inside.
  • look for install.txt or readme.txt and take sometimes to read. in case there might be some useful info there.
  • ./configure it just checks your system and assigns values for system-dependent variables.
  • make to actually built the executable binary program.
  • sudo make install to finally install it.
  • done, if it returns no error somewhere. and congratulations.

credits:
http://www.tuxfiles.org/linuxhelp/softinstall.html

http://linux.byexamples.com/archives/156/installing-from-tarballs/
http://www.berkshirelug.org/mediawiki/index.php/InstallTarball

p/s: i never succeed doing one. always try harder for a simpler alternative. too bad you tarballs, as bad as ur name sounds.

5 comments:

  1. (wat is diz tarball thing?)
    kak eena da geek gurl je yg tau..
    oopss.
    hahaha.

    ReplyDelete
  2. ahahahahaha nais wan wani!
    btw for ubuntu make sure ko dah apt-get install build-essential n fedora yum groupinstall development-tools kalau tak silap
    good luck

    ReplyDelete
  3. seblum berbuka.. mari kita merenung akan tarballs ini..
    saye cuba perkenalkan stakat yg saye knal ye wani..

    tarball
    a file with extension .tar.gz/ .tar.bz2/ .zip/ .rar
    dipanggil sedemikian rupa dalam environment linux.
    jadi tarball adelah sebiji archive atau compressed file(s)
    untuk menggunakannya, perlu di unpack/ unrar/ unzip.. atau extract. xbyk beza dgn windows.. :D

    adakah ini geeky thingy?
    tidak sama sekali. linux bukan sahaja dicipta untuk the geeks, malahan rakyat biasa seperti saye juga dapat menggunakannya dengan baik. masalah? windows saya pun pernah bermasalah :D

    tq for the suggestion teng.. tp da installed katenye.. mebi package yg aku amek tu agak bukan2 kot.. >__<

    akhir kata.. jika anda pengguna biasa.. tapi concern terhadap the well being n security of ur box, n nak desktop yg leh impress diri sendiri dgn efx2nya mungkin linux jawapan terbaek :D bukan sebab nk jd geek atau wat keje2 bukan2 ;D

    ReplyDelete
  4. wahhhhhh
    naisli said eena!!
    (tapi takle lari dari fact yg ko geek ;p)
    mindset cani la yg kite nak, tak stereotype, open to change
    :D

    ReplyDelete
  5. bese.. ayat kne schweet~~
    >__<
    tapi hakikatnya.. hanya kdg2 je aku ngaku.. wahahaha
    ko tau tape ah nk ckp aku pape pun, haha, pasrah2 :D

    ReplyDelete