## Kubuntu 8.10 md5sum

I found the md5sum for Kubuntu 8.10:
04a2c5c8f394175e6d6579e626995c7a *kubuntu-8.10-alternate-i386.iso
b054fd985294c80dcd6400fede533c72 *kubuntu-8.10-beta-desktop-i386.iso
824de6bea59d41637a41f17c00d33f7d *kubuntu-8.10-desktop-amd64.iso
82c02dc7386dfb6858a9ec09a5059e1e *kubuntu-8.10-desktop-i386.iso

## Convenient File Sharing synchronization getdropbox

I am fond with www.getdropbox.com, it just nice and works as needed. I use it to synchronize files between my laptop and my desktop at office. there is plugin to be used in Kubuntu. It’s great!

## Multiple images in one figure by using subfig Latex

I found a package “subfig” which can be used to create “subfigures” within one floating figure in Latex. To do this simply type

\usepackage{subfig}
in the preamble, and then create a floating figure
\begin{figure} \centering \subfloat[]{\includegraphics[width=3.1in]{figures/gpEcUND.eps}} \subfloat[]{\includegraphics[width=3.1in]{figures/gpgTND.eps}} \caption{Potential for 0.5 V bias.} \label{fig:EcUND} \end{figure}

This will create figures (a) and (b) side by side. For more info, you can read the manual of subfig.

## Installing ARPACK from source

http://www.caam.rice.edu/software/ARPACK/

If you have retrieved arpack96.tar.gz and patch.tar.gz then issue the following command
zcat arpack96.tar.gz | tar -xvf - zcat patch.tar.gz | tar -xvf -

and then edit the ARmake.inc to specify the $(home) variable (this is the home of ARPACK after you unpack them), and the compiler options. For Octave, you will need to enable -fPIC in the compiler option. You can find my ARmake.inc file below (copy the text between the ==== lines). After the libarpack_ARCH.a copy to your library folder (ARCH is your achitecture and is specified in ARmake.inc). ==== ########################################################################### # # Program: ARPACK # # Module: ARmake.inc # # Purpose: Top-level Definitions # # Creation date: February 22, 1996 # # Modified: # # Send bug reports, comments or suggestions to arpack@caam.rice.edu # ############################################################################ # # %———————————% # | SECTION 1: PATHS AND LIBRARIES | # %———————————% # # # %————————————–% # | You should change the definition of | # | home if ARPACK is built some place | # | other than your home directory. | # %————————————–% # home =$(HOME)/Download/ARPACK/ARPACK
#
# %————————————–%
# | The platform identifier to suffix to |
# | the end of library names |
# %————————————–%
#
PLAT = linux
#
# %——————————————————%
# | The directories to find the various pieces of ARPACK |
# %——————————————————%
#
BLASdir = $(home)/BLAS LAPACKdir =$(home)/LAPACK
UTILdir = $(home)/UTIL SRCdir =$(home)/SRC
#
DIRS = $(BLASdir)$(LAPACKdir) $(UTILdir)$(SRCdir)
#
# %——————————————————————-%
# | Comment out the previous line and uncomment the following |
# | if you already have the BLAS and LAPACK installed on your system. |
# | NOTE: ARPACK assumes the use of LAPACK version 2 codes. |
# %——————————————————————-%
#
#DIRS = $(UTILdir)$(SRCdir)
#
# %—————————————————%
# | The name of the libraries to be created/linked to |
# %—————————————————%
#
ARPACKLIB = $(home)/libarpack_$(PLAT).a
LAPACKLIB =
BLASLIB =
#
ALIBS = $(ARPACKLIB)$(LAPACKLIB) $(BLASLIB) # # # %———————————————————% # | SECTION 2: COMPILERS | # | | # | The following macros specify compilers, linker/loaders, | # | the archiver, and their options. You need to make sure | # | these are correct for your system. | # %———————————————————% # # # %——————————% # | Make our own suffixes’ list. | # %——————————% # .SUFFIXES: .SUFFIXES: .f .o # # %——————% # | Default command. | # %——————% # .DEFAULT: @$(ECHO) “Unknown target $@, try: make help” # # %——————————————-% # | Command to build .o files from .f files. | # %——————————————-% # .f.o: @$(ECHO) Making $@ from$<
@$(FC) -c$(FFLAGS) $< # # %—————————————–% # | Various compilation programs and flags. | # | You need to make sure these are correct | # | for your system. | # %—————————————–% # FC = f77 FFLAGS = -O -cg89 -fPIC LDFLAGS = CD = cd ECHO = echo LN = ln LNFLAGS = -s MAKE = /usr/bin/make RM = rm RMFLAGS = -f SHELL = /bin/sh # # %—————————————————————-% # | The archiver and the flag(s) to use when building an archive | # | (library). Also the ranlib routine. If your system has no | # | ranlib, set RANLIB = touch. | # %—————————————————————-% # AR = ar ARFLAGS = rv #RANLIB = touch RANLIB = ranlib # # %———————————-% # | This is the general help target. | # %———————————-% # help: @$(ECHO) “usage: make ?”

====

## Installing Octave’s binding for ARPACK in Kubuntu Hardy for Sparse Matrix Calculation

Octave Forge provided an octave binding to Arpack to solve large scale sparse matrix. So first download from octave forge packages.

And to install the package, you need to have the header files for suitesparse and libarpack. So type this in console:
sudo apt-get install libsuitesparse-dev libarpack2-dev
after that go to the download folder of Octave’s arpack and run Octave
octave:\> pkg install arpack-1.0.6.tar.gz

EDIT: thanks Andrew, I previously typed wrongly suitesparse-dev, it should be libsuitesparse-dev.

## Octave configure cannot find libreadline

somehow my ./configure command for Octave 3.0.3 cannot find libreadline. I have specified in LDFLAGS and CPPFLAGS the directory of my non-standard installation. so in one of the forum, it was suggested to check the config.log, and I found this error message when testing readline:

libreadline.so: undefined reference to PC'
...
..
`

and after googling around, It turns out that the problem is in libncurses. I need to install libncurses first. After I install ncurses libs, my configure can detect readline.

2. Select “Linux” operating system,
3. and then select “Linux-x86 (.deb)” for the installer
4. and select the language. You will be directed to the download page. Save to desktop
5. After download Open Dolphin (KDE) and go to Home directory. Right click your “desktop” folder and choose “Actions”->”Open As Root”.
6. And then on the .deb file, right click and “Actions”->”Open with GDebi Package installer”.
7. Click install. done!

UPDATE:

It turns out that since I have installed previous version of Adobe, I need to set the “File Association” so that I can open PDF from KDE. To do this, go to “System Setting”-> “Default Applications”->”File Association”.

type in “pdf”, and on the “Application Prefered Order” on the right, click Adobe Reader 8, and “Edit”.

Go to the tab “applications” and under “command” type in “acroread” or the exact location of the new pdf file. If you install as mentioned above, the installation will create a symbolic link in /usr/bin. So you just need to type “acroread”.