Ubuntu Package Management

1,463 views

Published on

Teknologi Informasi

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,463
On SlideShare
0
From Embeds
0
Number of Embeds
12
Actions
Shares
0
Downloads
33
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Theme created by Sakari Koivunen and Henrik Omma Released under the LGPL license.
  • Ubuntu Package Management

    1. 1. Ubuntu Package Management
    2. 2. Overview <ul><li>Ubuntu adalah turunan Debian yang mewarisi fitur-fitur terbaik Debian </li></ul><ul><li>Package Manager : apt-get, dpkg, synaptic (GUI), aptitude (ncurses), gdebi, alien </li></ul><ul><li>Format Paket binary/source: deb </li></ul><ul><li>Repository: network, local (folder/ISO), CD/DVD </li></ul>
    3. 3. Menggunakan Apt <ul><li>Menginstal paket-paket di repo </li></ul><ul><li>Syntax: sudo apt-get [options] [packages] </li></ul><ul><li>Contoh: sudo apt-get install audacious </li></ul><ul><li>Apt Friends: apt-cdrom, apt-cache, dll </li></ul><ul><li>Opsi-opsi lain: remove, update, upgrade, dist-upgrade, -f, --purge </li></ul>
    4. 4. Menggunakan dpkg <ul><li>Menginstal paket-paket non-repo </li></ul><ul><li>Syntax sudo dpkg [options] [packages] </li></ul><ul><li>Contoh sudo dpkg -i ./wine-1.0.1-hardy.deb </li></ul><ul><li>Opsi-opsi: -i, -r, -P </li></ul>
    5. 5. Menggunakan Synaptic <ul><li>Frontend apt-get berbasis GUI </li></ul><ul><li>Mudah (Browse, Search, Sections)‏ </li></ul><ul><li>Informasi detil </li></ul><ul><li>Mampu membuat script </li></ul><ul><li>Menyimpan history </li></ul>
    6. 6. Menggunakan GDebi <ul><li>Dpkg GUI Frontend </li></ul><ul><li>Instalasi Single Package </li></ul><ul><li>Automatic Dependency Solver </li></ul>
    7. 7. Instalasi Dari Source <ul><li>Mengkompilasi program dari source adalah cara terbaik! </li></ul><ul><li>Langkah-langkah dalam contoh: - Ekstraksi: tar xzvf source_code.tar.gz - Konfigurasi: ./configure - Kompilasi: make - Instalasi: sudo make install </li></ul><ul><li>cara terbaik, gunakan checkinstall ! </li></ul>
    8. 8. Mengkonversi Paket Lain <ul><li>Debian, begitu juga Ubuntu dapat menggunakan Paket Non-Deb </li></ul><ul><li>Tidak Dianjurkan!!! </li></ul><ul><li>Gunakan Paket alien </li></ul><ul><li>Contoh: sudo alien nama_paket.rpm </li></ul>
    9. 9. Repository Paket <ul><li>Internet </li></ul><ul><li>Intranet (LAN)‏ </li></ul><ul><li>WWW Repo </li></ul><ul><li>DVD Repo </li></ul><ul><li>File ISO </li></ul><ul><li>AptOnCD </li></ul><ul><li>Membuat Paket Pribadi: - checkinstall - pbuilder - dll </li></ul><ul><li>Join menjadi developer ubuntu </li></ul>
    10. 10. Repository Paket <ul><li>Mengedit file (Copy-Paste) /etc/apt/sources.list </li></ul><ul><li>Gunakan Synaptic Settings > Repositories </li></ul>Setup Network Repo
    11. 11. Repository Paket <ul><li>Gunakan apt-cdrom di terminal Contoh: sudo apt-cdrom -d /media/cdrom add </li></ul><ul><li>Gunakan Synaptic Add CDROM </li></ul>Setup DVD Repo
    12. 12. Repository Paket <ul><li>Buat/Download ISO DVD Repo </li></ul><ul><li>Mounting </li></ul><ul><li>Edit file: /etc/apt/sources.list Contoh: deb file:///mountpoint/ hardy universe </li></ul><ul><li>Update: sudo apt-get update </li></ul><ul><li>Tambahkan ke /etc/fstab </li></ul>Setup ISO Repo
    13. 13. Selamat Ngoprek! <ul><li>www.debian.org </li></ul><ul><li>www.ubuntu.com </li></ul><ul><li>www.ubuntu-id.org </li></ul><ul><li>www.debuntu.org </li></ul><ul><li>www.ubuntugeek.com </li></ul><ul><li>www.linux.or.id </li></ul><ul><li>www.linuxindo.web.id </li></ul>

    ×