Friday 24 April 2015

Tutorial Instalasi NGSPICE-26 di GNU/LINUX

Bagi teman-teman yg ingin install ngspice 26 di Linux. Berikut ini tutorialnya.

A. Ubuntu
Versi ubuntu yg saya pakai adalah Ubuntu 15.04 Vivid Vervet.
copas aja perintah berikut ini. Link Download Ngspice 26
1. Extract file source tarbal ngspice-26.tar.gz yang udah di download. Lalu buka terminal.
2. Pindah directory kerja ke hasil extract tadi.
3. Update repository :
 sudo apt-get update 
4. Install package gcc compiler dkk :
 sudo apt-get install build-essential linux-headers-`uname -r`
5.Install beberapa dependency ngspice :
 sudo apt-get install libtool automake autoconf flex bison texinfo libx11-dev libxaw7-dev 
6. Install gnu readlines :
 sudo apt-get install libreadline-gplv2-dev lib64readline-gplv2-dev 
7. Compile sourcenya :
 mkdir release && cd release && ../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp && make 2>&1 | tee make.log 
8. Install hasil compile :
 sudo make install 

B. Arch
1. Buka terminal dan update pacman.
 sudo pacman -Sy 
2. Install ngspice.
 sudo pacman -S ngspice

Karena Arch Linux adalah distro yang rolling release maka hampir keseluruhan aplikasi yang ada di repository adalah versi terbaru.

Semoga Bermanfaat...