Membuat File .deb

12 08 2007

untuk membuat paket-paket debian dari source code maupun rpm diperlukan program : checkinstall untuk membuat paket debian dari source code dan alien untuk membuat paker debian dari file rpm.

Membuat File .deb dari file Souce Code

Pertama install program checkinstall
$sudo apt-get install checkinstall
ekstrak source tersebut, misal
$tar -zxvf LimeWireLinux.tar.gz
masuk ke direktori source yang telah di ekstras tadi
$cd LimeWireLinux
$./configure && make
$sudo checkinstall -D make install
Please write a description for the package.
End your description with an empty line or EOF.
>> Nailer is a command line application for generating JPEG or PNG thumbnails of video files.
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 – Maintainer: [ root@localhost ]
1 – Summary: [ Nailer is a command line application for generating JPEG or PNG thumbnails of video files. ]
2 – Name: [ limwire ]
3 – Version: [ 4.14.0-0 ]
4 – Release: [ 1 ]
5 – License: [ GPL ]
6 – Group: [ checkinstall ]
7 – Architecture: [ i386 ]
8 – Source location: [ limwire-free_4.14.0-0 ]
9 – Alternate source location: [ ]
10 – Requires: [ ]
Enter a number to change any of them or press ENTER to continue:
Masukan nomor untuk mengubah informasi paket
Jika informasi paket yang diperlukan sudah di isi tekan ENTER

Membuat File .deb dari file .rpm

untuk merubah extensi file .rpm ke .deb terllebih dahulu install alien
$sudo apt-get install alien
lalu gunakan command untuk mengconvert .rpm ke .deb
misalkan kita mempunya file LimeWireLinux.rpm
$sudo alien -k LimeWireLinux.rpm
limewire-free_4.14.0-0_i386.deb generated
coba langsung install file tersebut
$sudo dpkg -i limewire-free_4.14.0-0_i386.deb


Actions

Information

Leave a comment