Powered by Blogger.
Showing posts with label installation. Show all posts
Showing posts with label installation. Show all posts

dvrelay installation

Sunday, April 26, 2009

1. Install Linux kernel source code by using apt-get or yum

% sudo apt-get install linux-source

It will install latest version of Linux source code. We need to use the two header files from this kernel tree.
Extract source tree

% cd /usr/src
% sudo tar jxvf linux-source-2.6.22.tar.gz2

Create symbolic link from /usr/include
% cd /usr/include
% sudo ln –s /usr/src/linux-source-2.6.22/drivers/ieee1394/dv1394.h
% sudo ln –s /usr/src/linux-source-2.6.22/drivers/ieee1394/ieee1394-ioctl.h

2. Install libraw1394
Download libraw1394 from http://sourceforge.net/projects/libraw1394
Extract package, compile and install

% tar zxvf libraw1394-1.2.0.tar.gz
% ./configure
% make
% sudo make install
% sudo make dev

NOTE) If you have an error during "./configure", please run "sudo apt-get install build-essential" to prepare
development environment.

3. Install dvrelay

Download dvrelay from http://www.interlab.ait.ac.th/dvrelay/dvrelay0.1f.tar.gz
Extract package, compile and install

% tar zxvf dvrelay0.1f.tar.gz
% ./configure
% make
% sudo make install

You can confirm that dvrelay is installed at /usr/local/bin/dvrelay

How To Install OpenOffice.org 3.0.0 On Ubuntu 8.04

Sunday, April 19, 2009

1. Download the package
http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=linuxinteldeb&lang=en-US&version=3.0.1

2. Extract
sudo tar -zxvf OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz

3. cd OOO300_m15_native_packed-1_en-US.9379/DEBS/

4. sudo dpkg -i *.deb

Ubuntu Python2.6 Installation

Monday, April 13, 2009

OS: Ubuntu 8.04 (Hardy Heron)
Python Version: 2.6.1

1. Install prerequisites
sudo aptitude install build-essential libncursesw5-dev libreadline5-dev
libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev libdb-dev tk-dev

2. Download python 2.6
http://www.python.org/ftp/python/2.6.1/Python-2.6.1.tar.bz2

3. Uncompress it
tar -jxvf Python-2.6.1.tar.bz2

4. Change directory to python extracted python directory
cd Python-2.6.1

5. create a directory to install python2.6
here i created a directory in /etc folder
sudo mkdir /etc/python2.6

6. Configure python to install to that directory
./configure --prefix==/etc/python2.6

7. Compile python
make

8. Install python
sudo make install

9. Create symbolic link to that directory
sudo ln -s /etc/python2.6/bin/python /usr/local/bin/python2.6





How to install fonts in Ubuntu

Wednesday, July 9, 2008

cd /usr/share/fonts/truetype
sudo mkdir myfonts
cd myfonts
sudo cp ~/*.ttf .
sudo chown root.root *.ttf
sudo mkfontdir
cd ..
fc-cache

1. Change Directory
2. Make a directory called 'myfonts' (Can be any name)
3. Change to that direcotry
4. Copy the font that you want to install to this folder
5. Chown that font
6. Follow the rest steps