Gambas software alternatif dari Visual Basic untuk Linux |
Jika kamu kuliah di jurusan Informasi Teknologi (IT) pasti tahu betul apa itu Visual Basic. Ya software yang merupakan bahasa pemrograman besutan dari Microsoft satu ini masih sangat diminati oleh para pengembang. Namun kali ini saya tidak akan membahas Visual Basic melainkan Gambas. Software pesaing sekaligus pengganti Visual Basic di Linux. Jika kamu tidak suka menggunakan Windows sedangkan kamu dituntut untuk menggunakan Visual Basic, maka Gambas-lah jawabannya. Kamu tetap bisa mengerjakan tugas-tugas Visual Basic menggunakan Gambas di Linux. Penggunaan Gambas di Linux hampir mirip dengan Visual Basic di Windows. Jadi tidak usah khawatir jika tugasmu keteteran karena kesulitan menggunakan Gambas. Gambas yang telah mencapai versi ke 3.5.4 pada tulisan ini diterbitkan telah banyak membantu para programmer. Jadi tetap semangat dan positive thinking.
Gambas dapat digunakan hampir di semua distribusi dari Linux. Contohnya Arch Linux, Debian, Fedora, Ubuntu, Linux Mint, Mageia, OpenSUSE 10.2 sampai dengan Mandriva. Untuk melakukan install gambas 3.5.4 terbaru di setiap distro Linux berbeda-beda namun tetap satu jua. Untuk menjelaskan cara install Gambas (Visual Basic) di Linux, saya akan memberikan tutorial untuk distro Debian dan Ubuntu saja. Namun jika kamu tidak menggunakan kedua distro tersebut, kamu tetap bisa install dengan mudah. Tetap baca, nanti di akhir akan saya arahkan link ke website resmi dari Gambas.
Cara Install Gambas 3 Stable (Visual Basic) di Ubuntu
Tambahkan repository gambas terlebih dahulu di source.list Ubuntu kamu. Perintahnya seperti di bawah ini.
$ sudo add-apt-repository ppa:gambas-team/gambas3
Setelah selesai penambahan repository, sebelum mulai melakukan pemasangan Gambas terlebih dahulu update source.list dengan perintah berikut lalu diikuti dengan instalasi Gambas.
$ sudo apt-get update
$ sudo apt-get install gambas3
$ sudo apt-get install gambas3
JANGAN gunakan gambas versi ini untuk Ubuntu 12.04 (Precise) sampai dengan versi Ubuntu 14.04 (Trusty) ini akan menyebabkan kesalahan dan kegagalan installasi.
Untuk kamu yang menggunakan versi Ubuntu 12.04 sampai Ubuntu 14.04 bisa mengunjungi website resmi dari Gambas untuk mengikuti cara install Gambas versi yang cocok untuk Ubuntu yang sedang kamu gunakan. Kunjungi link website resmi gambas berikut Install Gambas (Visual Basic) di Linux Ubuntu
Cara Install Gambas 3.5.4 (Visual Basic) di Debian
Lakukan update dan upgrade. Fungsi dari melakukan update adalah agar sistem operasi mendapatkan path dari repository dan fungsi untuk melakukan upgrade adalah untuk memperbarui update di sistem operasi. Lakukan kedua perintah di bawah ini:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get upgrade
Setelah itu buka sources.list dengan perintah di bawah ini
$ sudo nano -w /etc/apt/sources.list
Lalu tambahkan dengan Repository Jessie di sources.list Kali Linux kamu
deb http://ftp.nl.debian.org/debian/ jessie main
deb-src http://ftp.nl.debian.org/debian/ jessie main
deb-src http://ftp.nl.debian.org/debian/ jessie main
Simpan dengan menekan CTRL + O -> Enter lalu keluar dengan menekan CTRL+X. Selanjutnya buat sebuah file preferences untuk memastikan gambas terdependensi dengan Debian Wheezy atau Kali Linux. Buat file menggunakan nano dengan perintah di bawah ini
$ sudo nano -w /etc/apt/preferences
Lalu isikan dengan script di bawah ini
Package: gambas3
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-dev
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-examples
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-args
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-cairo
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-chart
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-clipper
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-complex
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-compress
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-compress-bzlib2
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-compress-zlib
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-crypt
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-data
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-form
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-mysql
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-odbc
Pin: release n=jessie
Pin-Priority: 1050
Package: libodbc1
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-postgresql
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-sqlite2
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-sqlite3
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-dbus
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-desktop
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-desktop-gnome
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-eval-highlight
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form-dialog
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form-mdi
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form-stock
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gmp
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gsl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gtk
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gtk-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gui
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gui-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-httpd
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image-effect
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image-imlib
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image-io
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-jit
Pin: release n=jessie
Pin-Priority: 1050
Package: libllvm3.4
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-libxml
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-logging
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-map
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-media
Pin: release n=jessie
Pin-Priority: 1050
Package: libgstreamer1.0-0
Pin: release n=jessie
Pin-Priority: 1050
Package: libgstreamer-plugins-base1.0-0
Pin: release n=jessie
Pin-Priority: 1050
Package: liborc-0.4-0
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-memcached
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-mime
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-mysql
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-ncurses
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net-curl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net-pop3
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net-smtp
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-openal
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: libglew1.10
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl-glsl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl-glu
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl-sge
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-openssl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-option
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-pcre
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-pdf
Pin: release n=jessie
Pin-Priority: 1050
Package: libpoppler46
Pin: release n=jessie
Pin-Priority: 1050
Package: libopenjpeg5
Pin: release n=jessie
Pin-Priority: 1050
Package: libtiff5
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4-ext
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4-webkit
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-report
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-sdl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-sdl-sound
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-settings
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-signal
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-v4l
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-vb
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-web
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml-html
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml-rpc
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml-xslt
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-ide
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-runtime
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-script
Pin: release n=jessie
Pin-Priority: 1050
Package: *
Pin: release n=wheezy
Pin-Priority: 950
Package: *
Pin: release n=jessie
Pin-Priority: -1
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-dev
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-examples
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-args
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-cairo
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-chart
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-clipper
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-complex
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-compress
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-compress-bzlib2
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-compress-zlib
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-crypt
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-data
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-form
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-mysql
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-odbc
Pin: release n=jessie
Pin-Priority: 1050
Package: libodbc1
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-postgresql
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-sqlite2
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-db-sqlite3
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-dbus
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-desktop
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-desktop-gnome
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-eval-highlight
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form-dialog
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form-mdi
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-form-stock
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gmp
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gsl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gtk
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gtk-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gui
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-gui-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-httpd
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image-effect
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image-imlib
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-image-io
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-jit
Pin: release n=jessie
Pin-Priority: 1050
Package: libllvm3.4
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-libxml
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-logging
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-map
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-media
Pin: release n=jessie
Pin-Priority: 1050
Package: libgstreamer1.0-0
Pin: release n=jessie
Pin-Priority: 1050
Package: libgstreamer-plugins-base1.0-0
Pin: release n=jessie
Pin-Priority: 1050
Package: liborc-0.4-0
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-memcached
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-mime
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-mysql
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-ncurses
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net-curl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net-pop3
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-net-smtp
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-openal
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: libglew1.10
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl-glsl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl-glu
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-opengl-sge
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-openssl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-option
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-pcre
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-pdf
Pin: release n=jessie
Pin-Priority: 1050
Package: libpoppler46
Pin: release n=jessie
Pin-Priority: 1050
Package: libopenjpeg5
Pin: release n=jessie
Pin-Priority: 1050
Package: libtiff5
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4-ext
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4-opengl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-qt4-webkit
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-report
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-sdl
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-sdl-sound
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-settings
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-signal
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-v4l
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-vb
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-web
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml-html
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml-rpc
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-gb-xml-xslt
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-ide
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-runtime
Pin: release n=jessie
Pin-Priority: 1050
Package: gambas3-script
Pin: release n=jessie
Pin-Priority: 1050
Package: *
Pin: release n=wheezy
Pin-Priority: 950
Package: *
Pin: release n=jessie
Pin-Priority: -1
Lakukan penyimpanan dengan menekan CTRL + O -> Enter lalu keluar dengan menekan CTRL +X. Setelah pembuatan file preferences selesai, saatnya kita melakukan update sebelum melakukan installasi Gambas di Debian Wheezy atau Kali Linux. Berikut perintahnya
$ sudo apt-get update
$ sudo apt-get install gambas3
$ sudo apt-get install gambas3
Jika installasi Gambas gagal, mungkin ada beberapa faktor yang menyebabkan kegagalan tersebut. Untuk memperbaiki kesalahan tersebut, silahkan kunjungi website resmi Gambas di Install Gambas (Visual Basic) di Kali Linux
Untuk kamu yang ingin mengambil sedikit resiko, kamu bisa menginstall Gambas 3.1.1. Gambas 3.1.1 adalah versi yang lama, mungkin dengan install Gambas versi lama bisa membuat keberhasilan kamu menginstall Gambas di Debian Wheezy atau Kali Linux kamu.
Install Gambas 3.1.1 di Debian Wheezy/Kali Linux
Lakukan perintah update sebelum melakukan installasi dengan perintah berikut
$ sudo apt-get update
$ sudo apt-get install gambas3
$ sudo apt-get install gambas3
Gambas 3.1.1 akan terinstall atau terpasang dan terletak di Programming.
Jika ada pertanyaan atau tambahan/masukan. Silahkan berkomentar, jika bisa saya bantu maka akan saya bantu. Terima kasih telah berkunjung di blog Semester Baru.
mantap nih buat belajar membuat program :D
ReplyDeleteSilahkan download dan install Gambas Visual Basic untuk Linux mas.
DeleteBisakah membuat mdi form di gambas.
ReplyDeletemohon petunjuknya mas