Skip to main content

Yang Serba 'Mudah' di Desktop Linux : Konfigurasi Repositori Lokal di Mandriva Linux




Mandriva Linux adalah salah satu pemain senior dalam hal desktop Linux. Keindahan desktop dan kemudahan penggunaan adalah nilai jual utama Mandriva Linux. Selain itu distribusi ini juga menyertakan kumpulan driver hardware yang lengkap dalam bundel distribusinya. Tidak heran jika ada beberapa distribusi yang di turunkan dari Mandriva Linux, yang pada akhirnya juga menjadi distribusi yang populer, sebagai contoh adalah PCLinuxOS.


Walaupun secara keseluruhan manajemen sistem desktop Mandriva cukup mudah, ada satu pertanyaan simpel yang perlu dibahas, yaitu bagaimana cara menambahkan repositori lokal di Mandriva untuk dipakai dalam hal manajemen software?


Manajemen software Mandriva sama sekali tidak sulit. Sama seperti distribusi besar lain, cara kerja manajemen repositori paket Mandriva memiliki alur kerja sebagai berikut :


media_info > metadata / database paket RPM yang ada dalam repositori. Letaknya satu folder dengan kumpulan paket RPM yang ada dalam sebuah repositori. Metadata ini sama persis fungsinya dengan repodata milik keluarga Fedora/Red Hat dan Packages.gz milik keluarga Debian.

urpmi > merupakan manajemen software utama Mandriva Linux.


Akan lebih mudah kalau kita mempunyai repositori lokal (misal DVD) yang telah di lengkapi metadata, tetapi walau belum pun, membuat metadata urpmi milik Mandriva sangatlah sederhana. Berikut langkah-langkah konfigurasi dan penggunaan repositori lokal di Mandriva Linux :


Pertama, buat terlebih dahulu metadata repositori. Caranya, kita masuk ke direktori yang berisi kumpulan paket RPM :


$ cd folder_kita

$ su

# genhdlist


Kedua, masukan repositori lokal kita, dengan cara yang sangat simpel sekali :


# urpmi.addmedia nama_repo_terserah_kita file://lokasi_repo

misal :

# urpmi.addmedia repo_lokalku file://home/alwan/repo


Setelah itu, langkah terakhir kita tinggal menginstalasi paket yang kita inginkan. Bisa dengan perintah urpmi dari terminal :


# urpmi nama_paket


Bisa juga instalasi paket dari Mandriva Control Center (yang juga sangat praktis). Di Mandriva Control Center, semua sudah tersedia. Jika kita telah menambahkan lebih dari satu alamat repositori lokal, kita bisa memilih repositori lokal mana yang akan di gunakan (enable) atau yang di non-aktifkan untuk sementara (disable).


Begitulah! Sangat-sangat simpel sekali!


Selamat ber-Linux !


Comments

Anonymous said…
Bagus bos! Kita sering lupa membahas hal2 sepele..
Tak tunggu posting Slackware-nya !
Alwan Rosyidi said…
Slackware-nya nanti mas..
Di tunggu saja ^_^

Popular posts from this blog

Q4OS 4.6 "Gemini" Review: A Real Hidden Gem

Distro hopping is a fun adventure. It's a pure joy you can only find in GNU/Linux world. It's a nature you want to escape from what I call 'comfort ecosystem'. You need to play, trying something new even for a few little differences. For a long time I've been using Ubuntu family as my daily driver. The main reason is probably just same as any other Ubuntu user: it's reliable. You can't go wrong with Ubuntu. It works almost in any device, even for the newest one. It is the ultimate Linux distro you can rely on. However, sometimes, you will feel bored. The temptation to flirt with other new distro is unbearable. There are a lot of hot new Linux distros waiting to try.  A Real Hidden Gem I've known this distro for a quite long time. At first, it offered Trinity Desktop as the main desktop, which brings me the sweet memories about KDE3. It is simply fast, stable, almost without any issue, and it is based on Debian. I install it on my old machine and I love t...

How To Install Mac OS X Lion Theme On Lubuntu / LXDE

Lubuntu 12.04 with Mac OS X Lion Theme, xcompmgr & cairo-dock [click to enlarge] Mac OS X is the special one in the Desktop market. So many people admire it because of its beauty, safety (yes, it is an UNIX) and its profesional image as “an OS for profesional modern art designer”. Yeah, Mac OS X has beautiful look and I do like its look-n-feel. And so, there are so many theme patcher to make our Microsoft Windows or Linux OS become Mac OS X in the appearance. In Linux Desktop, there are some project specialized in designing theme transformation pack to make our Linux desktop to be looked like Mac OS X. The most popular project probably is Mac4Lin. But, all of those projects was designed only for GNOME or sometimes support XFCE and how about LXDE? Our Star in the current lightweight Linux desktop? (Yes, LXDE is the most light-but-complete Linux desktop for now). Until now, there is no project that officially support LXDE. Basically, LXDE uses gtk (now still stay w...

Download, Install and Play Angry Birds Rio In Ubuntu/Debian Linux

Angry Birds Rio is a spin-off of the new-legendary game Angry Birds. This plot is specially taken from popular animation film Rio, an adventure of a pet Blue macaw bird from US in Brazilian jungle. Based on that successful film, there are some game developers created a spin-off for Angry Birds game called Angry Birds Rio. The good news about this is, there is already a flash version of this game so we could play it in Linux desktop easily using flashplayer (standalone player, or by Internet Browser with flashplayer plugin). And just like what I've done before in Angry Animals game, I've packed this game too into Debian package so we could install it with ease. If you have had installed flashplayer standalone, you don't have to download and install it. But, if you haven't it yet, you have to download the flashplayer standalone to play this game. These are the packages : adobe-flashplayer-standalone-linux_10_i386_debian.deb angrybirds-rio_0.1_i386_debian.deb This is a fre...