Ubuntu / Linux Mint / LMDE : How to install a deb file via command line

The command to install a deb file via terminal is :

$ sudo dpkg -i package.deb

Ubuntu / Debian / LMDE : how to install font

To install a font in Debian based distros (Ubuntu, Linux Mint etc), simply copy the font file (.ttf file) to ~/.fonts

Next reload the font cache by executing the following command in the terminal:

fc-cache -fv

How to install InterPSS on Ubuntu / Debian (Part-2, running InterPSS)

This post is in continuation to the previous post depicting the installation instructions for installing InterPSS on Ubuntu.

Now we shall look at how to run the installed InterPSS

The following steps need to be followed to run InterPSS on Ubuntu:

  • First we need to open a terminal
  • Next we need to change the working directory to the directory where InterPSS is installed:

On my system the directory to which InterPSS is installed is :


so in the terminal I type :

cd /home/shank/Softwares/InterPSS_Editor

  • Next in order to start the InterPSS Editor, type the following command in the terminal and hit Enter :

java -jar ipss.jar -o Editor

Enjoy ! And do remember to share this information if it helped you..


How to install InterPSS on Ubuntu / Debian (Part-1, installation)

InterPSS is an open source Power System Simulator written in Java.

It can be downloaded from InterPSS_1.4 download

The following steps need to be followed in order to install InterPSS on Ubuntu :

  • Make sure that Sun JDK 1.6 or higher is installed on your PC and that its is the default JDK. Refer to this link for directions on  how to install/configure the Sun JDK as the default JDK.
  • check that Sun JDK is your default JDK by typing the command : 

java -version

and also :

javac -version

Here is my output :

shank@shank-G60VX:~$ java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode)
shank@shank-G60VX:~$ javac -version
javac 1.6.0_23
  • Move the downloaded InterPSS to your home folder i.e. /home/XXX. Here XXX corresponds to your username in Ubuntu. For instance mine is “shank”.
  • Now execute the following command to start the InterPSS installer:

cd /home/XXX/InterPSS_1_4_04

and then

java -jar interpss-install-1.4.04.jar

The InterPSS installer should start now. Follow the on-screen instructions to complete the installation.

Please note that the “.desktop” file that gets created on the desktop to run InterPSS wont work. This is because the installer was meant for windows and hence it tries to create a desktop file for windows which obviously wont work on Ubuntu. The instructions on how to run the installed InterPSS are in the next post…


Debian / LMDE : How to install wine

Open the terminal and type

sudo apt-get install bison flex gcc libc6-dev libfontconfig-dev libfreetype6-dev libglu-dev libgsm1-dev libice-dev libjpeg-dev libldap-dev libmpg123-dev libncurses5-dev libopenal-dev libpng-dev libsm-dev libssl-dev libusb-dev libx11-dev libxcomposite-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxml2-dev libxrandr-dev libxrender-dev libxslt-dev libxt-dev libxxf86vm-dev make libcapi20-dev liblcms-dev libsane-dev libhal-dev libdbus-1-dev valgrind prelink libcups2-dev opencl-dev lib32opencl1 oss4-dev gettext lib32v4l-dev lib32ncurses5-dev lib32asound2-dev lib32z-dev ia32-libs-dev

Then in terminal

mkdir ~/tmp

cd tmp/

wget http://prdownloads.sourceforge.net/wine/wine-1.4.tar.bz2

tar -xvf wine-1.4.tar.bz2

And finally


Enter “no” as the answer to the dialogue so that you can build wine without installing

and then 

sudo checkinstall


This articles gives the exact steps needed to install jdk on debian based linux distributions… really helpful..