Menginstall Software di Ubuntu

timthumb.php

Credits to : Ubuntu Community Magazine

Introduction
Most Windows users who migrate to Ubuntu end up confused about software installation. They go to a website, download a .tar.gz file, double-click it, and don’t see a Next-Next-Next-Finish wizard. This tutorial is intended to introduce you to the preferred methods of software installation in Ubuntu.

Rather than leaving it up to the user to track down installer files and keep applications updated, Ubuntu (like many other Linux distributions) has a software package management system that provides a searchable database of easily installable applications (like an online shopping cart but the software is cost-free), which it will download and install for you with a few clicks.

Installing 101: Add/Remove
The best place to start with this package management process is to use a simple interface for it called Add/Remove.

Start by going to Applications and selecting Add/Remove. Add/Remove will then check to see what applications are installed and/or available for installation.

The default filter shows Supported applications only. These are the official packages released by Canonical, the company behind Ubuntu.

Third party applications can be maintained by the Ubuntu user community or an outside business.

All Open Source applications will show the software that isn’t proprietary.

Probably, when you’re starting out, you want to show All available applications, just so you have the largest selection of software to choose from.

You then have the option to search and/or browse for applications. In this case, I searched for hearts to find the card game Hearts. Since it’s in the community-maintained online software repository, and this is the first time I’m accessing that repository, Add/Remove will confirm with me that I want to Enable it.

Then, to install Hearts, I check (or tick) the box next to the program, click Apply, enter my password, and click OK.

Add/Remove will then fetch the installer files, install the files, and then let you know when the software is installed. Afterwards, it gives you the option to start the application you just installed, add or remove more applications, or just close Add/Remove.

Advanced interface: Synaptic Package Manager
Another interface for the package manager is Synaptic. Synaptic works very similarly to Add/Remove, but it has more advanced options. It allows you more categories and custom filters, and shows you supporting libraries (not just user applications).

To access Synaptic, go to System > Administration > Synaptic Package Manager. Then enter your password and click OK

You can click the Search button or press Control-F to search for software. Once you’ve found the software you want to install, right-click it and mark it for installation.

Once you’ve marked all the software packages you want to install (or remove, too), click Apply, confirm by clicking Apply when prompted, and then wait for the package files to download and install. Once they’ve installed, click Close.

Manual download: .deb
Most of the time, if you need software, you can use Add/Remove or Synaptic to install it from the online repositories. Sometimes, software is not available in the repositories, and you have to go to a website to download it. If you are able to download a file with a .deb extension, this is the software package format Ubuntu prefers.

For example, Skype is not in the default Ubuntu repositories, so you can go to the Skype website, and download the Ubuntu package.

Note: Skype doesn’t always update their Ubuntu packages. So, for example, in this screenshot Skype lists the installer file as being for Ubuntu 7.04, but I’m using Ubuntu 8.04. Opera, on the other hand, even if it hasn’t changed its browser version numbers will have all the Ubuntu release versions to choose from. Try to select whichever version seems most appropriate.

Once the .deb file is on your desktop, double-click it to install it. You’ll be prompted for your password, and then you can just wait for it to install.

You should then be able to use Skype or whatever application you installed.

Last resorts: .rpm and .tar.gz
The preferred way to install software in Ubuntu is to use the package manager, which you can access through Add/Remove or Synaptic. As we’ve seen with Skype, sometimes you can also find a .deb for software not in the repositories. But what if you can’t find a .deb?

.rpm
If you can’t find a .deb, you can try a .rpm. These files are packaged for other Linux distributions (usually Fedora or Mandriva), but there is an application called alien (which you can install using Synaptic) that allows you (most of the time) to convert .rpm files to .deb. Read more about this process.

.tar.gz
As a last resort, you can download a .tar.gz file. The .tar.gz file extension indicates the file is a compressed set of files and folders (the compressed files you see in Windows usually have a .zip extension). If you see the .tar.gz, it could be compressed files that have a precompiled binary file, or it could be compressed files that have the source code allowing you to compile the application from source.

If you have trouble installing a .tar.gz file, you can ask for help on the Ubuntu Forums.

Links
There are other guides out there that help you understand software installation a bit better.

Advertisements

4 comments on “Menginstall Software di Ubuntu

  1. Well semua proses instalasi sama semua kok prosesnya. Cuman yang versi EXE windows, semua prosesnya dipermudah. Lagian user umum tidak perlu tahu file apa yang di copy kemana atau proses apa yang dilakukan. so cara seperti itu sangat memudahkan. Seperti.deb itu lah.

    Lagian instalasi manual itu bikin stress lho, Manual disini artinya bener2 manual. File X di copy kesini, edit file bla-bla.ini, set parameter ini dst. Buset dah…

    • Hehe. aq dah nyoba ngecompille. lumayan panjang sih. memang disatu sisi agak ribet bro. tapi disisi lain, CLI ini yang bikin autorun virus ga jalan hehe. sebenernya ada tiga macem file yang bisa dicompile untuk instalasi : yang format .deb, .tar.gz plus satu lagi aq lupa.

      aq nganggep ubuntu ama linux mint sebagai maenan baru aja ka. nyoba keluar dari zona comfort hehe. asik loh. aq ngoprek linux, giliran km yang utak-atik Mac OS ya bro hehe.

  2. Kalo di linux stepnya biasanya,
    tar zxvf untuk ngekstrak file
    ./configure (defaultnya)
    make untuk meng-compile
    make install untuk memasang file2 ke system

    Kalo di windows,
    nyari file setup.exe, terus klik (dulu klo nanya mas/mbak di rental-an, gimana cara nginstall, jawabnya cari setup terus klik)

    Kalo di mac,
    Doublik klik .dmg, trus drag ke folder. (Pertama-tama gak percaya kok gampang banget nginstall di mac).
    Selanjutnya kalo mau uninstall, gak perlu nyari add/remove program. Tapi langsung dibuang aplikasinya ke tempat sampah.

    Yang paling menantang dari ketiganya, tentu nginstall aplikasi di linux, tapi menyenangkan juga karena bisa sambil belajar komputer. Inget dulu bolak-balik ke warnet gara-gara masalah dependency.

    • “Kalo di MAC, Doublik klik .dmg, trus drag ke folder. (Pertama-tama gak percaya kok gampang banget nginstall di MAC).”

      Woaa.. benarkah itu ji? MAC yg legendaris itu emang user friendly & inovatif ya. buset dah. tinggal drag haha. uninstall tinggal buang ke bin. oiya bro fasilitas autorun juga ada kah di MAC? klo di windows, itu yang bikin virus2 pada jalan begitu floppy media dicolokin ke USB.. Selalu bikin user was-was.

      Btw, km subscribe MACWORLD magazine kah bro? ada update baru apa dr Apple? Biasane Apple emang SELALU inovatif 😀

Mau komentar?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s