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
The command to install a deb file via terminal is :
$ sudo dpkg -i package.deb
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
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:
On my system the directory to which InterPSS is installed is :
/home/shank/Softwares/InterPSS_Editor
so in the terminal I type :
cd /home/shank/Softwares/InterPSS_Editor
java -jar ipss.jar -o Editor
Enjoy ! And do remember to share this information if it helped you..
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 :
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
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…
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
./tools/wineinstall
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..