You Are Reading

0

Cara Install software di Linux

Barry Kamis, 04 Februari 2010
Ketikan pada folder hasil ekstrak program yang akan diinstall
(Pastikan sudah ada didalam folder tsb.)
./configure
make
sudo make install
clean install

lets see what each one of them does…
./configure….. checks whether the required dependencies are available on your system or not….. if not an error is reported….
make compiles the source code and make install is used to install the program in to the location
if it asks for an installation location it is recommended to install all the source to /usr/src
clean install removes any temporary files created in the installation process of the source
and thats it your source file in installed in your system.

file ber-ekstensi *.tar.gz atau *.tar.bz2 itu adalah file source untuk program di linux. installer di ubuntu itu biasanya ber-eksternsi *.deb , *.bin, *.run. karena file ber ekstensi *.tar.gz adalah source, maka harus di-compile dulu agar bisa diinstall. oleh karena itu kita memerlukan compiler.

pada linux ubuntu, sudah ada paket compiler yang disediakan (distro lain tidak punya) yang dinamakan build-essential. karena tidak termasuk dalam cd installer ubuntu, silakan install via apt

$ sudo apt-get install build-essential


nah setelah install build-essential, maka kita bisa compile source *.tar.gz

$ tar zxfv filemilikmu.tar.gz <----- meng-ekstrack isi tar.gz, hasilnya ada dalam folder
$ cd folderhasilekstrack/ <----- masuk ke dalam folder hasil ekstrack
$ ./configure <----- ada kalanya source memiliki file bernama configure, jika di folder itu tidak ada file ini, silakan skip langkah ini
$ sudo make
$ sudo make install


udah setelah itu program sudah terinstall, tapi jika ada error, kayaknya ada depedency

0 komentar:

Posting Komentar

 
Copyright 2010 catatan si b4r12y
Flash Blue Blogger template by b4r12y