My blog has moved! Redirecting...

You should be automatically redirected. If not, visit http://techienote.com and update your bookmarks.

Tech Resources

Tuesday, July 6, 2010

Installing java on linux


Download java binary installation file for linux from java website http://www.java.com

Copy the binary file to /usr/local
#cp jre-6u20-linux-i586.bin /usr/local/

Extract the binary file
#cd /usr/local
#chmod +x jre-6u20-linux-i586.bin
#./jre-6u20-linux-i586.bin

Now you will see jre1.6.0_20 folder in /usr/local/ dir, We need to set system variable, to run the java properly
Setting the system variable for java
#vi /etc/profile.d/java.sh

export J2RE_HOME=/usr/local/jre1.6.0_20
export PATH=$J2RE_HOME/bin:$PATH

#source /etc/profile.d/java.sh

For finding your java version just do;
#java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)


Labels: , , , , ,

Monday, May 31, 2010

Installing HandBrake on Fedora13






Due to some reason Fedora12-HandBrake rpm is not working in Fedora13. So I decided to build the application from source.
Before doing this you must uninstall any previous version of HandBrake.
#rpm -e `rpm -qa | grep HandBrake` 

Installing Dependencies:
#yum groupinstall -y "Development Tools" "Development Libraries" "X Software Development" "GNOME Software Development"
#yum install -y yasm zlib-devel bzip2-devel dbus-glib-devel libgudev1-devel webkitgtk-devel libnotify-devel gstreamer-devel gstreamer-plugins-base-devel

Downloading source code from svn
#mkdir /tmp/vidyadhar
#cd /tmp/vidyadhar
#svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunk

Installing HandBarke from source
#cd /tmp/vidyadhar/hb-trunk
#./configure
#cd build
#make
#make install

Now we are ready to run application
#/usr/local/bin/ghb

Labels: , , ,

Tuesday, May 4, 2010

Convert video files for an iPod or iPhone



We have installed banshee on fedora. Its time to convert videos which can playable on your iPOD or iPAD. I am using handbrake for the same.

HandBrake is an open soure, GPL-licensed, multiplatform, multithreaded video trans-coder, available for Mac OS X, Linux and Windows.


Features :
  • Convert videos direct from DVD
  • Convert videos from most multimedia files
  • Create videos using a number of pre-defined format templates
  • Supports h264, MPEG-4, Theora, AAC, MP3 and Vorbis
  • Supports subtitles
  • Video filtering tools
To download & install HandBrake on fedora12, just run


#yum install -y desktop-file-utils python yasm automake libtool m4 intltool yasm zlib-devel bzip2-devel glib2-devel gtk2-devel gstreamer-devel hal-devel libnotify-devel webkitgtk-devel gstreamer-plugins-base-devel libmkv-devel libogg-devel libsamplerate-devel libtheora-devel libvorbis-devel faad2-devel lame-devel libmpeg2-devel faac-devel a52dec bzip2 faac faad2 ffmpeg lame libdca libdvdnav libdvdread libmkv libogg libsamplerate libtheora libvorbis libmp4v2 libmpeg2 x264 zlib


#wget http://handbrake.fr/rotation.php?file=HandBrake-0.9.4-Fedora_GUI_i686.rpm

#rpm -ivh HandBrake-0.9.4-Fedora_GUI_i686.rpm

To convert videos, run HandBrake from Application > Sound & Video > HandBrake
Select the "Source" and in "Preset menu" select ipod.

Labels: , , , , , , ,