Let's 'enlight' your openSUSE!!

Standard

Enlightenment is not just a window manager for Linux/X11 and others, but also a whole suite of libraries to help you create beautiful user interfaces with much less work than doing it the old fashioned way and fighting with traditional toolkits, not to mention a traditional window manager. It covers uses from small mobile devices like phones all the way to powerful multi-core desktops (which are the primary development environment).

While i’m reading a topic on Kaskus which talk about Enlightenment, that’s the first time i knew ‘her’. I’m trying to know much more about ‘her’. About ‘her’ beauty, glamour, ability and the other thing.

I just fall in love with ‘her’ beauty for the firs time i saw ‘her’. Then i’m looking at openSUSE site how to met ‘her’. I did what openSUSE told for about a minute, then VOILA!!. She is right now on my side, YAHHA!!

This is the simplest way, add Repository Enlightenment to your repositori list by using this command via konsole :

sudo zypper ar “http://ftp5.gwdg.de/pub/opensuse/repositories/home:/dmitry_serpokryl:/Enlightenment-cvs-core-metapackage/openSUSE_11.2” Enlightenment
sudo zypper mr -r Enlightenment
sudo zypper ref -r Enlightenment
sudo zypper in E17 e_modules

just log in by using Enlightenment session, and she’s will be yours 😀

Konfigurasi C++ Compiler dengan Netbeans pada Linux openSUSE

Standard


Berawal dari tugas kuliah yang pake bahasa C++ buat coding, akhirnya aku cari-cari compiler nya yang bisa jalan di Linux. Buat IDE nya aku pilih Netbeans karena dia support banyak bahasa pemrograman, salah satunya PHP yang sering aku pake juga.
Habis cari sana cari sini, tanya sana tanya sini, coba ini itu, akhirnya ketemu juga compiler C/C++ yang kompatibel sama Netbeans. Pada dasarnya banyak compiler yang sudah kompatibel sama Netbeans, cuman bagi ku ini yang paling gampang konfigurasinya, here it’s

Instalasi Netbeans & C/C++ Compiler
Kita pake cara yang gampang, YaST.
1. Tambahkan Education Repo dengan cara :

zypper addrepo –repo http://download.opensuse.org/repositories/Education/openSUSE_11.2//Education.repo

2. Buka YaST.
3. Pilih Software > Software Management
4. Dalam kotak search cari : netbeans
5. Beri centang pada netbeans dan netbeans-cpp
6. Accept.

Sampai disini semua yang kita butuhkan sudah lengkap, hanya perlu beberapa konfigurasi lagi.

1. Buka Netbeans.
2. Pilih Tools > Options.
3. Masuk ke dalam Tab C/C++.
4. Pada Tool Collection pilih Add.
5. Di bagian Base Directory, browse folder “/usr/bin”.
6. Klik Ok.
7. Pastikan setting yang diberikan seperti ini :

  • C Compiler: /usr/bin/gcc
  • C++ Compiler: /usr/bin/g++
  • Fotran Compiler: kosong karena tidak di install
  • Make Command: /usr/bin/gmake
  • Debugger Command: /usr/bin/gdb

8. Ok.

Uji coba
Buat sebuah program sederhana :
1. Buat project baru, File > New Project
2. Pada kotak Categories pilih C/C++
3. Pada kotak Projects pilih C/C++ Application
4. Buat file baru, File > New File
5. Pada kotak Categories pilih C++ Files
6. Pada kotak File Types pilih Empty C++ File
7. Buat program berikut :


#include

int main()
{
printf("Hello wolrd!\n");

return 0;
}

8. Di bagian kiri panel Netbeans, klik tab Files
9. Klik kanan project application, pilih Properties
10. Pada bagian kiri panel, pilih Run
11. Pada bagian kanan panel, pilih Console Type ke Output Window.
12. Klik Ok.