SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
PEMAKETAN BLANKON
http://blankonlinux.or.id
somat@blankonlinux.or.id
Sesion II
Pengenalan
Pemaketan
Proses Pemaketan
Direktori Debian
Dalam Direktori Debian minimal
terdapat berkas :
● control
● changelog
● copyright
● rules
Direktori Debian
Source: ed
Section: unknown
Priority: extra
Maintainer: Akhmat Safrudin <somat@blankonlinux.or.id>
Build-Depends: debhelper (>= 7), autotools-dev
Standards-Version: 3.8.3
Homepage: <insert the upstream URL, if relevant>
Package: ed
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
BERKAS CONTROL:
Mendefinisikan berkas sumber dan berkas binari dari
sebuah paket
Direktori Debian
● Source : nama paket kode sumber
● Section:
admin, comm, devel, doc, editors, electronics, embedded,
games, gnome, graphics, hamradio, interpreters, kde,
libs, libdevel, mail, math, misc, net, news, oldlibs,
otherosfs, perl, python, science, shells, sound, tex, text,
utils, web, x11.
● Priority:
required, important, standard, optional, extra.
● Maintainer: nama pengelola paket
● Build-Depends: daftar paket-paket development yang
dibutuhkan untuk membangun paket binary.
● Standards-Version: versi dari debian policy
Direktori Debian
ed (1.1-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Akhmat Safrudin <somat@blankonlinux.or.id> Fri, 25 Dec 2009 19:17:12 +0000
BERKAS CHANGELOG :
Catatan perubahan yang terjadi pada paket
Direktori Debian
BERKAS COPYRIGHT :
Informasi copyright paket
This work was packaged for Debian by:
Akhmat Safrudin <somat@blankonlinux.or.id> on Fri, 25 Dec 2009 19:17:12 +0000
It was downloaded from:
<url://example.com>
Upstream Author(s):
<put author's name and email here>
<likewise for another author>
Copyright:
<Copyright (C) YYYY Firstname Lastname>
<likewise for another author>
License:
Direktori Debian
● Perintah untuk meng-compile kode sumber
dan membangun paket.
● Dimulai dengan #!/usr/bin/make -f
http://www.gnu.org/software/make/manual/make.html
● Required targets: build, binary, binary-
arch, binary-indep, clean.
● Beberapa metode untuk debian/rules:
manual, debhelper, cdbs
Direktori Debian
Direktori Debian
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
Membangun Paket
Thats All
● Jalankan debian/rules binary secara manual
● dpkg-buildpackages -rfakeroot
● sudo pbuilder build foo_1.0-1.dsc
Terdapat beberapa cara :

Más contenido relacionado

La actualidad más candente

Lecture1 2 intro-unix
Lecture1 2 intro-unixLecture1 2 intro-unix
Lecture1 2 intro-unix
nghoanganh
 
Unix Shell Script
Unix Shell ScriptUnix Shell Script
Unix Shell Script
student
 

La actualidad más candente (20)

Devops for beginners
Devops for beginnersDevops for beginners
Devops for beginners
 
Linux commands
Linux commandsLinux commands
Linux commands
 
BASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUXBASIC COMMANDS OF LINUX
BASIC COMMANDS OF LINUX
 
Exploring Async PHP (SF Live Berlin 2019)
Exploring Async PHP (SF Live Berlin 2019)Exploring Async PHP (SF Live Berlin 2019)
Exploring Async PHP (SF Live Berlin 2019)
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Command-Line 101
Command-Line 101Command-Line 101
Command-Line 101
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Lecture1 2 intro-unix
Lecture1 2 intro-unixLecture1 2 intro-unix
Lecture1 2 intro-unix
 
BASH Shell Script Training in Noida- Rexton It Solution
BASH Shell Script Training  in Noida- Rexton It SolutionBASH Shell Script Training  in Noida- Rexton It Solution
BASH Shell Script Training in Noida- Rexton It Solution
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
2019 11-bgphp
2019 11-bgphp2019 11-bgphp
2019 11-bgphp
 
Basic Linux day 2
Basic Linux day 2Basic Linux day 2
Basic Linux day 2
 
Basic commands
Basic commandsBasic commands
Basic commands
 
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
JDO 2019: Tips and Tricks from Docker Captain - Łukasz LachJDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
 
Unix Shell Script
Unix Shell ScriptUnix Shell Script
Unix Shell Script
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Docker compose workshop
Docker compose workshopDocker compose workshop
Docker compose workshop
 
Shell Scripting in Linux
Shell Scripting in LinuxShell Scripting in Linux
Shell Scripting in Linux
 

Destacado

Destacado (20)

Debian Tutorial
Debian TutorialDebian Tutorial
Debian Tutorial
 
TUTORIAL INSTALASI LIBREOFFICE FOR LINUX MINT
TUTORIAL INSTALASI LIBREOFFICE FOR LINUX MINTTUTORIAL INSTALASI LIBREOFFICE FOR LINUX MINT
TUTORIAL INSTALASI LIBREOFFICE FOR LINUX MINT
 
Database optimization
Database optimizationDatabase optimization
Database optimization
 
PortableApps on Fedora 10 LiveUSB
PortableApps on Fedora 10 LiveUSBPortableApps on Fedora 10 LiveUSB
PortableApps on Fedora 10 LiveUSB
 
Mulai melangkah dengan Node.js
Mulai melangkah dengan Node.jsMulai melangkah dengan Node.js
Mulai melangkah dengan Node.js
 
Pemaketan blankon-i
Pemaketan blankon-iPemaketan blankon-i
Pemaketan blankon-i
 
Database optimization 2
Database optimization 2Database optimization 2
Database optimization 2
 
Lokakarya penerjemah blank on 9.0
Lokakarya penerjemah blank on 9.0Lokakarya penerjemah blank on 9.0
Lokakarya penerjemah blank on 9.0
 
En game hacking
En game hackingEn game hacking
En game hacking
 
Domain name system dinamis dengan protokol dinamid versi 1.02
Domain name system dinamis dengan protokol dinamid versi 1.02Domain name system dinamis dengan protokol dinamid versi 1.02
Domain name system dinamis dengan protokol dinamid versi 1.02
 
Macam2 sertifikasi linux
Macam2 sertifikasi linuxMacam2 sertifikasi linux
Macam2 sertifikasi linux
 
Laporan praktikum jarkom
Laporan praktikum jarkomLaporan praktikum jarkom
Laporan praktikum jarkom
 
Skalabilitas Aplikasi Web
Skalabilitas Aplikasi WebSkalabilitas Aplikasi Web
Skalabilitas Aplikasi Web
 
Panduan praktikum jaringan & packet tracer
Panduan praktikum jaringan & packet tracerPanduan praktikum jaringan & packet tracer
Panduan praktikum jaringan & packet tracer
 
Introduction into R for historians (part 1: introduction)
Introduction into R for historians (part 1: introduction)Introduction into R for historians (part 1: introduction)
Introduction into R for historians (part 1: introduction)
 
Best Practices with IPS on Oracle Solaris 11
Best Practices with IPS on Oracle Solaris 11Best Practices with IPS on Oracle Solaris 11
Best Practices with IPS on Oracle Solaris 11
 
OpenOffice.Org Impress Tutorial
OpenOffice.Org Impress TutorialOpenOffice.Org Impress Tutorial
OpenOffice.Org Impress Tutorial
 
Ft tx presentation to telkom 25092013
Ft tx presentation to telkom 25092013Ft tx presentation to telkom 25092013
Ft tx presentation to telkom 25092013
 
FOSS and Linux
FOSS and LinuxFOSS and Linux
FOSS and Linux
 
Manual guide briker IP PABX
Manual guide briker IP PABX Manual guide briker IP PABX
Manual guide briker IP PABX
 

Similar a Pemaketan blankon-ii

Debian packaging howto
Debian packaging howtoDebian packaging howto
Debian packaging howto
Ding Zhou
 
Securing Apache Web Servers
Securing Apache Web ServersSecuring Apache Web Servers
Securing Apache Web Servers
webhostingguy
 
Xternal commands.31
Xternal commands.31Xternal commands.31
Xternal commands.31
myrajendra
 

Similar a Pemaketan blankon-ii (20)

Software Packaging for Cross OS Distribution
Software Packaging for Cross OS DistributionSoftware Packaging for Cross OS Distribution
Software Packaging for Cross OS Distribution
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
 
Debian packaging howto
Debian packaging howtoDebian packaging howto
Debian packaging howto
 
How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.
 
Debian Packaging tutorial
Debian Packaging tutorialDebian Packaging tutorial
Debian Packaging tutorial
 
Debian Packaging
Debian PackagingDebian Packaging
Debian Packaging
 
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
[EXTENDED] Ceph, Docker, Heroku Slugs, CoreOS and Deis Overview
 
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
2017-03-11 02 Денис Нелюбин. Docker & Ansible - лучшие друзья DevOps
 
Asian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On UblAsian Spirit 3 Day Dba On Ubl
Asian Spirit 3 Day Dba On Ubl
 
Modul quick debserver
Modul quick debserverModul quick debserver
Modul quick debserver
 
Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013
 
Comandos linux bash, f2 linux pesquisa, http://f2linux.wordpress.com
Comandos linux bash,  f2 linux pesquisa, http://f2linux.wordpress.comComandos linux bash,  f2 linux pesquisa, http://f2linux.wordpress.com
Comandos linux bash, f2 linux pesquisa, http://f2linux.wordpress.com
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 
Packaging for the Maemo Platform
Packaging for the Maemo PlatformPackaging for the Maemo Platform
Packaging for the Maemo Platform
 
Securing Apache Web Servers
Securing Apache Web ServersSecuring Apache Web Servers
Securing Apache Web Servers
 
Securing Apache Web Servers
Securing Apache Web ServersSecuring Apache Web Servers
Securing Apache Web Servers
 
Debian packaging
Debian packagingDebian packaging
Debian packaging
 
The Gory Details of Debian packages
The Gory Details of Debian packagesThe Gory Details of Debian packages
The Gory Details of Debian packages
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Xternal commands.31
Xternal commands.31Xternal commands.31
Xternal commands.31
 

Último

Último (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Pemaketan blankon-ii

  • 3. Direktori Debian Dalam Direktori Debian minimal terdapat berkas : ● control ● changelog ● copyright ● rules
  • 4. Direktori Debian Source: ed Section: unknown Priority: extra Maintainer: Akhmat Safrudin <somat@blankonlinux.or.id> Build-Depends: debhelper (>= 7), autotools-dev Standards-Version: 3.8.3 Homepage: <insert the upstream URL, if relevant> Package: ed Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: <insert up to 60 chars description> <insert long description, indented with spaces> BERKAS CONTROL: Mendefinisikan berkas sumber dan berkas binari dari sebuah paket
  • 5. Direktori Debian ● Source : nama paket kode sumber ● Section: admin, comm, devel, doc, editors, electronics, embedded, games, gnome, graphics, hamradio, interpreters, kde, libs, libdevel, mail, math, misc, net, news, oldlibs, otherosfs, perl, python, science, shells, sound, tex, text, utils, web, x11. ● Priority: required, important, standard, optional, extra. ● Maintainer: nama pengelola paket ● Build-Depends: daftar paket-paket development yang dibutuhkan untuk membangun paket binary. ● Standards-Version: versi dari debian policy
  • 6. Direktori Debian ed (1.1-1) unstable; urgency=low * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> -- Akhmat Safrudin <somat@blankonlinux.or.id> Fri, 25 Dec 2009 19:17:12 +0000 BERKAS CHANGELOG : Catatan perubahan yang terjadi pada paket
  • 7. Direktori Debian BERKAS COPYRIGHT : Informasi copyright paket This work was packaged for Debian by: Akhmat Safrudin <somat@blankonlinux.or.id> on Fri, 25 Dec 2009 19:17:12 +0000 It was downloaded from: <url://example.com> Upstream Author(s): <put author's name and email here> <likewise for another author> Copyright: <Copyright (C) YYYY Firstname Lastname> <likewise for another author> License:
  • 8. Direktori Debian ● Perintah untuk meng-compile kode sumber dan membangun paket. ● Dimulai dengan #!/usr/bin/make -f http://www.gnu.org/software/make/manual/make.html ● Required targets: build, binary, binary- arch, binary-indep, clean. ● Beberapa metode untuk debian/rules: manual, debhelper, cdbs
  • 10. Direktori Debian #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@
  • 11. Membangun Paket Thats All ● Jalankan debian/rules binary secara manual ● dpkg-buildpackages -rfakeroot ● sudo pbuilder build foo_1.0-1.dsc Terdapat beberapa cara :