Installing nabi (korean keyboard)

This is my sharing experience in installing nabi (korean keyboard) in ubuntu 12.04


1. Update sources.list file, add this following line

deb precise partner

debsrc precise partner

2. Run these command

$ sudo apt-get update

$ sudo apt-get install nabi

3. Set/activate nabi

$ im-switch -c

 Then select Nabi, logout and login. Done.

4. Restart the x server by typing this command

$ sudo restart lightdm


algorithm.sty is not found

if you use TexMaker editor for Latex 


and the error message  says

file algorithm.sty is not found.

try to install this following package

$ sudo apt-get install texlive-science

hope it works