08 October 2013

Extracting and Installing .tar.gz and tar.bz2

Edit Posted by Miss Wanie with 2 comments

Dah lama tak blogging. Kak tipah busy lately.. harharhar. OK dah. Quick post kali ni pasal cara-cara nak extract dan install file yang didownload di Linux. Sepanjang intern, wanie just guna Backtrack 5. Ok, lets proceed.


Selalunya, file yang didownload di Linux sama ada berformatkan .tar.gz ataupun .taz.bz2. The way nak extract and install for both format are just same.


--------------------------------------------------------

1.  Open terminal - go to the downloaded folder/directories. Assume Desktop, so 
root@bt:~# cd Desktop


2.  gz ke bz2 ke, kalau kat Windows, file ni macam .rar atau .zip file. So, kena extract dulu. Untuk extract (assume file name is abc.bz2):
root@bt:~/Desktop# tar xvjf abc.bz2


3.  Get into the extracted folder/directories dan list down kan all files in it.
root@bt:~/Desktop# cd abc
root@bt:~/Desktop/abc# ls -a


4.  ls -a akan list down all files dalam directory tu. Cari file yang untuk diinstall, selalunya file name tu INSTALL (yes, huruf besar.) Then run command ni:
root@bt:~/Desktop/abc# ./INSTALL


5.  Then, just Enter je kalau keluar line yang hujung skali mcm ni: [/opt]


6. Da siap. Mohon belanja milo ais satu. Hehehehe~


Until next post. :)



2 comments:

  1. masih belum jelas mbak, maaf ya, kalau bisa di buat video tutorialnya :)

    ReplyDelete
    Replies
    1. hi... kalau punya waktu, nanti saya buat ya :)

      Delete