1. Uncomment the Partner repository lines by editing the /etc/apt/sources.list file
Look for the word "partner" in the file /etc/apt/sources.list
Uncomment the line for (by removing the "#") character
# deb http://archive.canonical.com/ubuntu lucid partner # deb-src http://archive.canonical.com/ubuntu lucid partnerIf your Ubuntu release is not lucid, add in the two lines above into the sources.list file
2. Update the package list
$ sudo apt-get update
3. Install DB2 using apt-get
$ sudo apt-get install db2exc
Reference:
http://www.db2teamblog.com/2010/09/db2-express-c-packages-for-ubuntu-1004.html
No Comment to " Installing DB2 on ubuntu "