[TANYA] apt-cache untuk Instalasi Offline

Aplikasi-aplikasi diubuntu: • Aplikasi Grafis •
Aplikasi Internet •
Aplikasi Office •
Aplikasi Sound & Video •
Aplikasi Programming
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

[TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 08 Mar 2013, 23:34

Tempat:
/var/cache/apt/archives

Kondisi:
Saya sudah unduh aplikasi Netbeans setelah sebelumnya 20+ aplikasi lainnya. Ada ratusan DEB di dalamnya.

Masalah:
Saya tidak tahu mana DEB dependensi untuk Netbeans. Saya tidak bisa membedakan mana DEB dependensi untuk Netbeans dari DEB lainnya yang ratusan itu.

Keinginan:
Saya ingin lacak/saring/temukan DEB dependensi khusus Netbeans saja (tidak yang selainnya) dari /var/cache/apt/archives untuk saya sudo dpkg -i *.deb di komputer teman-teman saya. Sama OS-nya dengan saya yaitu Ubuntu 12.04.

Pertanyaan:
Bagaimana melakukan pelacakan dependensi Netbeans saja (hanya Netbeans, bukan yang lain) dengan seluruh nama berkas ditampilkan? Harus lengkap namanya yang diambil dari semua DEB di cache. Yang saya harap seperti ini:

Dependensi untuk Netbeans:
anu_1.0_i386.deb
ani_1.0_i386.deb
ano_1.0_i386.deb

Saya tahunya hanya apt-cache, apt-rdepends, apt-offline, dan dpkg -l namapaket. Itu saja. Semuanya tidak sesuai. Hanya apt-cache depends namapaket yang mendekati. Adakah solusi dari akang sekalian?
User avatar
chiki
Posts: 1235
Joined: 23 Jun 2011, 17:35
Location: Jakarta, Indonesia

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby chiki » 09 Mar 2013, 07:39

kalo ndak salah, saat kita install aplikasi beserta paket2nya akan terekam di /var/log/apt/history.log
begitu juga saat install netbean, netbean beserta paket2nya juga terekam di file history.log tersebut.
cmiiw
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 09 Mar 2013, 08:01

Terima kasih. Tidak terekam jelas ini di saya, Kang Chiki:

Code: Select all

Start-Date: 2013-03-02  13:13:32
Commandline: /usr/sbin/synaptic
Install: compizconfig-settings-manager:i386 (0.9.5.92-0ubuntu3)
End-Date: 2013-03-02  13:14:16

Start-Date: 2013-03-08  22:34:15
Commandline: /usr/sbin/synaptic
Install: apt-offline:i386 (1.1.1build1)
End-Date: 2013-03-08  22:34:33

Start-Date: 2013-03-08  22:58:20
Commandline: apt-get install apt-offline-gui
Install: apt-offline-gui:i386 (1.1.1build1)
End-Date: 2013-03-08  22:58:32

Start-Date: 2013-03-09  01:23:15
Commandline: /usr/sbin/synaptic
Install: apt-rdepends:i386 (1.3.0-2)
End-Date: 2013-03-09  01:23:36


Ada log yang lain? Kayaknya seru banget.
User avatar
wurip
Posts: 22
Joined: 14 Jan 2013, 17:51

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby wurip » 09 Mar 2013, 09:31

1. Apt get remove netbeans
2. Apt get autoremove
3. Copy semua file cache ke folder lain
4. Apt get clean
5. putuskan koneksi internet
6. Apt get install netbeans
.
lihat di terminal pesan gagal terkoneksi, nama paket .deb di sebelah kiri pesan could not resolve archive/security.ubuntu.com. Kudu telaten. Haha. ! Semoga ada cara yg lebih mudah
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 09 Mar 2013, 09:48

Terima kasih banyak atas dukungan teknis akang. Namun bukan ini yang saya harapkan. Seharusnya tidak usah membuang Netbeans saya sendiri.

Terima kasih banyak, Kang. Ini posting pertama akang? Sebuah kehormatan besar untuk saya.
User avatar
wurip
Posts: 22
Joined: 14 Jan 2013, 17:51

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby wurip » 09 Mar 2013, 09:56

Copy yg ada di terminal, paste ke gedit, replace(crtl+h), (kamu tau yg harus dilakukan berikutnya) replace all biar cepet.
.
untuk install lagi netbeans, pindahkan semua file yg sudah diamankan tadi ke cache. Trus apt get install netbeans (gak usah koneksi). Mantra bisa gagal jika kamu pernah apt get update, solusinya harus konek internet. File konfigurasi netbeans seharusnya tidak hilang
User avatar
wurip
Posts: 22
Joined: 14 Jan 2013, 17:51

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby wurip » 09 Mar 2013, 10:03

Biar gampang pake mesin lain yg belum ada netbeansnya.
.
ini post ke 3 saya !! Horeee !
User avatar
RawOne
Posts: 128
Joined: 07 Jan 2013, 12:28
Location: /indonesia/aceh/tamiang

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby RawOne » 09 Mar 2013, 10:04

maaf akhii bukan mau ngajari, tapi biasa ane lihat dependensi di synaptic --> properti --> dependensi.
mungkin ada beberapa yang terlampir
User avatar
wurip
Posts: 22
Joined: 14 Jan 2013, 17:51

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby wurip » 09 Mar 2013, 10:12

Nah itu ! Masalahnya ane seumur2 pake linux gak pernah pake synaptic. Hehe. Sukurlah kalo ada cara yg lebih mudah
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 09 Mar 2013, 10:34

RawOne wrote:maaf akhii bukan mau ngajari, tapi biasa ane lihat dependensi di synaptic --> properti --> dependensi.
mungkin ada beberapa yang terlampir

Yaa akhii, andai antum ada di sini, malah ana akan minta antum ajari. Setiap informasi berharga bagi ana. Jazakumullahu khairan.

Masalahnya, informasi dari Synaptic ini apakah mewakili dependensi Netbeans yang telah ada di cache? Ataukah, informasi asli dari si Netbeans sendiri? Kalau dari Netbeans sendiri, ini masih kurang karena satu dependensi butuh dependensi yang lain. Nah, mau saya, saya ingin mendaftar dependensi dari paket-paket yang sudah ada di cache saya. Seperti dpkg bisa -i *deb gitu.
User avatar
RawOne
Posts: 128
Joined: 07 Jan 2013, 12:28
Location: /indonesia/aceh/tamiang

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby RawOne » 09 Mar 2013, 11:23

ini yang ane buat pake apt-id,
Tampilkan
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libdb4.8_4.8.30-11ubuntu1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libdb5.1-java_5.1.25-11build1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u5_all.deb --output-document=libgcj-common_1%3a4.6.3-1ubuntu5_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 2_i386.deb --output-document=gcj-4.6-base_4.6.3-1ubuntu2_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 2_i386.deb --output-document=libgcj12_4.6.3-1ubuntu2_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 5_i386.deb --output-document=libgcj-bc_4.6.3-1ubuntu5_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libapr1_1.4.6-1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 3_i386.deb --output-document=libaprutil1_1.3.12+dfsg-3_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 3_i386.deb --output-document=libsvn1_1.6.17dfsg-3ubuntu3_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 3_i386.deb --output-document=libsvn-java_1.6.17dfsg-3ubuntu3_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -7_all.deb --output-document=libxml-commons-resolver1.1-java_1.2-7_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libxml-commons-external-java_1.4.01-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libxerces2-java_2.11.0-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... d1_all.deb --output-document=ant_1.8.2-4build1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... d1_all.deb --output-document=ant-optional_1.8.2-4build1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libantlr-java_2.7.7+dfsg-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libstringtemplate-java_3.2.1-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=antlr3_3.2.is.3.2-0ubuntu1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 2_i386.deb --output-document=apache2-utils_2.2.22-1ubuntu1.2_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libaspectj-java_1.6.12+dfsg-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=aspectj_1.6.12+dfsg-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libjline-java_1.0-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... d1_all.deb --output-document=bsh_2.0b4-12build1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=bsh-gcj_2.0b4-12build1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u2_all.deb --output-document=gcj-4.6-jre-lib_4.6.3-1ubuntu2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -6_all.deb --output-document=javahelp2_2.0.05.ds1-6_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... .2_all.deb --output-document=libservlet2.5-java_6.0.35-1ubuntu3.2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libslf4j-java_1.6.4-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... .1_all.deb --output-document=libjetty-java_6.1.24-6ubuntu0.12.04.1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libcommons-daemon-java_1.0.8-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=jsvc_1.0.8-1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... .1_all.deb --output-document=jetty_6.1.24-6ubuntu0.12.04.1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -8_all.deb --output-document=libhamcrest-java_1.1-8_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=junit4_4.8.2-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libapache-pom-java_10-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libasm3-java_3.3.2-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libbeansbinding-java_1.2.1-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libnetx-java_0.5-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libbetter-appframework-java_1.9-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libbindex-java_2.2+svn101-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libjcodings-java_1.0.4-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libbytelist-java_1.0.6-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libcglib-java_2.2.2+dfsg-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libcommons-parent-java_22-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -9_all.deb --output-document=libcommons-logging-java_1.1.1-9_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libcommons-beanutils-java_1.8.3-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libcommons-codec-java_1.5-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -5_all.deb --output-document=libcommons-collections3-java_3.2.1-5_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=libcommons-compress-java_1.2-1ubuntu1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libcommons-digester-java_1.8.1-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -8_all.deb --output-document=liboro-java_2.0.8a-8_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -5_all.deb --output-document=libcommons-net1-java_1.4.1-5_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libdb-je-java_3.3.98-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libdb5.1-java-gcj_5.1.25-11build1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -6_all.deb --output-document=libeasymock-java_2.4+ds1-6_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libemma-java_2.0.5312+dfsg-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libfelix-framework-java_4.0.1-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libfelix-main-java_4.0.1-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libflute-java_1%3a1.1.6-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libfreemarker-java_2.3.18-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libganymed-ssh2-java_250-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libosgi-core-java_4.3.0-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libosgi-foundation-ee-java_4.2.0-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libosgi-compendium-java_4.3.0-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libgeronimo-osgi-support-java_1.0-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libgeronimo-jpa-2.0-spec-java_1.1-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=xorg-sgml-doctools_1%3a1.10-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=x11proto-core-dev_7.0.22-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libice-dev_2%3a1.0.7-2build1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libicu4j-java_4.2.1.1-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=libini4j-java_0.5.2-SNAPSHOT-1ubuntu1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libjemmy2-java_2.3.1.1-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 4_i386.deb --output-document=libjna-java_3.2.7-4_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libjoda-time-java_1.6.2-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... c1_all.deb --output-document=libjsch-java_0.1.42-2fakesync1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libjtidy-java_7+svn20110807-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libjvyamlb-java_0.2.5-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libjzlib-java_1.1.0-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=liblucene2-java_2.9.4+ds1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libmysql-java_5.1.16-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-absolutelayout-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libswing-layout-java_1.0.4-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-org-openide-util-lookup-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-org-openide-util-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-org-openide-modules-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-platform13-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-platform-devel-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libsac-java_1.3-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libtrilead-ssh2-java_6401-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libsvnkit-java_1.3.5+dfsg-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libsvnclientadapter-java_0.9.100-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libswingx1-java_1%3a1.0-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=libsimple-validation-java_0.4-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=libpostgresql-jdbc-java_9.1-901-1ubuntu1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=libpg-java_9.1-901-1ubuntu1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-ide14-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=libnb-javaparser-java_7.0.1-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-java5-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=libnb-apisupport3-java_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 3_i386.deb --output-document=libpthread-stubs0_0.3-3_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 3_i386.deb --output-document=libpthread-stubs0-dev_0.3-3_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -3_all.deb --output-document=libregexp-java_1.5-3_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 4_i386.deb --output-document=libsac-java-gcj_1.3-4_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libsm-dev_2%3a1.2.0-2build1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 4_i386.deb --output-document=libxau-dev_1%3a1.0.6-4_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 4_i386.deb --output-document=libxdmcp-dev_1%3a1.1.0-4_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -1_all.deb --output-document=x11proto-input-dev_2.1.99.6-1_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=x11proto-kb-dev_1.0.5-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -2_all.deb --output-document=xtrans-dev_1.2.6-2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libxcb1-dev_1.8.1-1ubuntu0.1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 2_i386.deb --output-document=libx11-dev_2%3a1.4.99.1-0ubuntu2_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u2_all.deb --output-document=libx11-doc_2%3a1.4.99.1-0ubuntu2_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=libxt-dev_1%3a1.1.1-2build1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... 1_i386.deb --output-document=openjdk-6-jdk_6b27-1.12.3-0ubuntu1~12.04.1_i386.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... -4_all.deb --output-document=netbeans_7.0.1+dfsg1-4_all.deb
wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=libdb-java_5.1.4ubuntu1_all.deb

kemudian ane rubah disemua baris
contoh:
[color:#FF0000]wget -c --tries=inf http://id.archive.ubuntu.com/ubuntu/poo ... u1_all.deb --output-document=[/color]libdb-java[color:#FF0000]_5.1.4ubuntu1_all.deb[/color]

menjadi
[color:#FF0000]cp[/color] libdb-java[color:#FF0000]* /home/user/netbeans[/color]

/home/user = disesuaikan
dan buat sebuah direktori dengan nama "netbeans"
semua baris ane ganti seperti pada contoh yang berwarna merah

jadinya seperti ini:
Tampilkan
cp libdb4.8* /home/user/netbeans
cp libdb5.1-java* /home/user/netbeans
cp libgcj-common* /home/user/netbeans
cp gcj-4.6-base* /home/user/netbeans
cp libgcj12* /home/user/netbeans
cp libgcj-bc* /home/user/netbeans
cp libapr1* /home/user/netbeans
cp libaprutil1* /home/user/netbeans
cp libsvn1* /home/user/netbeans
cp libsvn-java* /home/user/netbeans
cp libxml-commons-resolver1.1-java* /home/user/netbeans
cp libxml-commons-external-java* /home/user/netbeans
cp libxerces2-java* /home/user/netbeans
cp ant* /home/user/netbeans
cp ant-optional* /home/user/netbeans
cp libantlr-java* /home/user/netbeans
cp libstringtemplate-java* /home/user/netbeans
cp antlr3* /home/user/netbeans
cp apache2-utils* /home/user/netbeans
cp libaspectj-java* /home/user/netbeans
cp aspectj* /home/user/netbeans
cp libjline-java* /home/user/netbeans
cp bsh* /home/user/netbeans
cp bsh-gcj* /home/user/netbeans
cp gcj-4.6-jre-lib* /home/user/netbeans
cp javahelp2* /home/user/netbeans
cp libservlet2.5-java* /home/user/netbeans
cp libslf4j-java* /home/user/netbeans
cp libjetty-java* /home/user/netbeans
cp libcommons-daemon-java* /home/user/netbeans
cp jsvc* /home/user/netbeans
cp jetty* /home/user/netbeans
cp libhamcrest-java* /home/user/netbeans
cp junit4* /home/user/netbeans
cp libapache-pom-java* /home/user/netbeans
cp libasm3-java* /home/user/netbeans
cp libbeansbinding-java* /home/user/netbeans
cp libnetx-java* /home/user/netbeans
cp libbetter-appframework-java* /home/user/netbeans
cp libbindex-java* /home/user/netbeans
cp libjcodings-java* /home/user/netbeans
cp libbytelist-java* /home/user/netbeans
cp libcglib-java* /home/user/netbeans
cp libcommons-parent-java* /home/user/netbeans
cp libcommons-logging-java* /home/user/netbeans
cp libcommons-beanutils-java* /home/user/netbeans
cp libcommons-codec-java* /home/user/netbeans
cp libcommons-collections3-java* /home/user/netbeans
cp libcommons-compress-java* /home/user/netbeans
cp libcommons-digester-java* /home/user/netbeans
cp liboro-java* /home/user/netbeans
cp libcommons-net1-java* /home/user/netbeans
cp libdb-je-java* /home/user/netbeans
cp libdb5.1-java-gcj* /home/user/netbeans
cp libeasymock-java* /home/user/netbeans
cp libemma-java* /home/user/netbeans
cp libfelix-framework-java* /home/user/netbeans
cp libfelix-main-java* /home/user/netbeans
cp libflute-java* /home/user/netbeans
cp libfreemarker-java* /home/user/netbeans
cp libganymed-ssh2-java* /home/user/netbeans
cp libosgi-core-java* /home/user/netbeans
cp libosgi-foundation-ee-java* /home/user/netbeans
cp libosgi-compendium-java* /home/user/netbeans
cp libgeronimo-osgi-support-java* /home/user/netbeans
cp libgeronimo-jpa-2.0-spec-java* /home/user/netbeans
cp xorg-sgml-doctools* /home/user/netbeans
cp x11proto-core-dev* /home/user/netbeans
cp libice-dev* /home/user/netbeans
cp libicu4j-java* /home/user/netbeans
cp libini4j-java* /home/user/netbeans
cp libjemmy2-java* /home/user/netbeans
cp libjna-java* /home/user/netbeans
cp libjoda-time-java* /home/user/netbeans
cp libjsch-java* /home/user/netbeans
cp libjtidy-java* /home/user/netbeans
cp libjvyamlb-java* /home/user/netbeans
cp libjzlib-java* /home/user/netbeans
cp liblucene2-java* /home/user/netbeans
cp libmysql-java* /home/user/netbeans
cp libnb-absolutelayout-java* /home/user/netbeans
cp libswing-layout-java* /home/user/netbeans
cp libnb-org-openide-util-lookup-java* /home/user/netbeans
cp libnb-org-openide-util-java* /home/user/netbeans
cp libnb-org-openide-modules-java* /home/user/netbeans
cp libnb-platform13-java* /home/user/netbeans
cp libnb-platform-devel-java* /home/user/netbeans
cp libsac-java* /home/user/netbeans
cp libtrilead-ssh2-java* /home/user/netbeans
cp libsvnkit-java* /home/user/netbeans
cp libsvnclientadapter-java* /home/user/netbeans
cp libswingx1-java* /home/user/netbeans
cp libsimple-validation-java* /home/user/netbeans
cp libpostgresql-jdbc-java* /home/user/netbeans
cp libpg-java* /home/user/netbeans
cp libnb-ide14-java* /home/user/netbeans
cp libnb-javaparser-java* /home/user/netbeans
cp libnb-java5-java* /home/user/netbeans
cp libnb-apisupport3-java* /home/user/netbeans
cp libpthread-stubs0* /home/user/netbeans
cp libpthread-stubs0-dev* /home/user/netbeans
cp libregexp-java* /home/user/netbeans
cp libsac-java-gcj* /home/user/netbeans
cp libsm-dev* /home/user/netbeans
cp libxau-dev* /home/user/netbeans
cp libxdmcp-dev* /home/user/netbeans
cp x11proto-input-dev* /home/user/netbeans
cp x11proto-kb-dev* /home/user/netbeans
cp xtrans-dev* /home/user/netbeans
cp libxcb1-dev* /home/user/netbeans
cp libx11-dev* /home/user/netbeans
cp libx11-doc* /home/user/netbeans
cp libxt-dev* /home/user/netbeans
cp openjdk-6-jdk* /home/user/netbeans
cp netbeans* /home/user/netbeans
cp libdb-java* /home/user/netbeans



kemudian ane simpan dengan nama "netbeans.sh"
kemudian file tersebut ane kopi ke "/var/cache/apt/archives"
kemudian ane buka terminal arahkan ke "/var/cache/apt/archives"
kemdudian ane ketikan perintah "sh netbeans.sh"
makan di home sudah ada direktori neatbeans berisi file .deb

atau lebih praktis download aja langsung dari skrip apat-id tersebut
terima kasih
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 09 Mar 2013, 12:30

Sebentar, saya terkejut sekali. Apakah ini, dengan apt-id ini, saya harus unduh dulu paketnya atau cukup dengan cache saja, Kang? Kayaknya menjanjikan banget.
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby nif » 09 Mar 2013, 20:32

ikut menyimak. Ide-idenya bagus :smile:
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 09 Mar 2013, 21:27

nif wrote:ikut menyimak. Ide-idenya bagus :smile:

Akhirnya orang yang paling saya harapkan datang. Bisa bantu saya, Kang? Ada suatu metode dari akang? Pakai apt-cache atau dpkg saja.

Nanti kita bisa otomasi skripnya.
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby nif » 10 Mar 2013, 11:56

Malsasa wrote:...Pakai apt-cache atau dpkg saja...

maap, saya rasa lebih mudah pake apt-get, seperti yang disampaikan om wong_urip dan om RawOne.
Cuma perlu di-setting dikit.
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 10 Mar 2013, 18:32

Pertanyaan saya: apt-get itu untuk ke luar komputer atau mencukupkan diri pada cache?
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby nif » 10 Mar 2013, 20:02

Tentu prioritas ambil dari /var/cache/apt/archives, kalo gak ada ya download dari luar :smile:

Sekalian, memberi sedikit gambaran tentang script sederhana yang saat ini sedang saya kerjakan; alldeb_maker dan alldeb_user

# alldeb_maker

Tampilkan
Image


Tampilkan
Image


Tampilkan
Image



# alldeb_user

Tampilkan
Image


Tampilkan
Image
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 10 Mar 2013, 21:16

Kalau untuk prioritas cache, bagaimana perintahnya, Kang?

Sip, banyakin skrinsot!
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby nif » 11 Mar 2013, 16:15

Malsasa wrote:Kalau untuk prioritas cache, bagaimana perintahnya, Kang?
...

buat daftar dependensi dulu. Lalu cek di /var/cache/apt/archives. Kalo udah ada copy aja. Kalo belum ada baru download :smile:
User avatar
Malsasa
Posts: 2971
Joined: 07 Jun 2010, 22:37
Location: Mojokerto, Indonesia
Contact:

Re: [TANYA] apt-cache untuk Instalasi Offline

Postby Malsasa » 11 Mar 2013, 19:52

Cara membuat daftar dipendensinya? Mohon ajarkan satu-satu, Kang.

Return to “Aplikasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 27 guests