Friday, April 23, 2010

Re-install Ubuntu and Kile

Last week, I did some changes to my Ubuntu 9.04 OS (Installed some packages which affect the system's performances.) and Ubuntu began to act wierdly. So I decide to re-install Ubuntu and share my installation procedure here.

Step 1: In Windows system, insert the Ubuntu 9.04 installation CD (You can download from http://www.ubuntu.com/getubuntu/download).

Step 2: Restart the PC and choose Ubuntu system to get in.

Step 3: WAIT for installing (Fairly easy, just find sth to do while waiting! lol)

Step 4: Install any application on Ubuntu and you are good to go.

However, I am right now using Latex for thesis writing. So I need to install Kile. I found the installation of Kile is a little tricky, especially its configuration part. So here is the procedure I install and configure Kile:

Step 1: Applications->Add/Remove->Search for "Kile" application

Step 2: Install Kile and wait for its running, also after the installation, the system will run "Update Manager" automatically. This step will take a while, for like 30 minutes.

Step 3: Restart Ubuntu, your Kile is installed

Step 4: Get the nessasary packages for Latex
Open terminal and type in:
sudo apt-get install latex-beamer texlive texlive-fonts-extra
texlive-latex-recommended texlive-pstricks texlive-science
texlive-latex-extra texlive-publishers texlive-font-utils xfig ipe
kile texlive-math-extra texlive-generic-extra texlive-bibtex-extra

Step 5: Open Kile and Configure it
1. Settings->Configure Kile->Build->Select tools->ViewPS
add new configuration "evince"
change the command to "evince"
2. Settings->Configure Kile->Build->Select tools->ViewPDF
add new configuration "evince"
change the command to "evince"
3.Settings->Configure Kile->Build->Select tools->QuickBuild
Select "Latex+DVItoPS+PStoPDF+ViewPDF"

You are good to go!!!

Friday, April 16, 2010

How to install Adobe Flash Player 10 on Ubuntu Linux

Here is a simply way operated on terminal to install Flash 10:

Step 1: Download getlibs from http://ubuntuforums.org/showthread.php?t=474790 and install_flsh_player_10_linux.tar.gz from Adobe website
Note: save them on Desktop

Step 2: Remove old plugins

sudo apt-get -y purge nspluginwrapper
sudo apt-get -y purge mozilla-plugin-gnash
sudo apt-get -y purge swfdec-mozilla
sudo rm -rfd /usr/lib/nspluginwrapper
sudo rm -f /usr/lib/firefox-addons/plugins/libflashplayer.so
sudo rm -f /usr/lib/mozilla/plugins/flashplugin-alternative.so
sudo apt-get purge flashplugin-nonfree
sudo rm -f /usr/lib/firefox-addons/plugins/libflashplayer.so
sudo rm -f
/usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so

Step 3: Install getlibs
cd ~/Desktop
sudo apt-get -y install nspluginwrapper
sudo dpkg -i getlibs-all.deb
sudo getlibs -p libcurl3
sudo getlibs -p libnss3-1d
sudo getlibs -p libnspr4-0d

Step 4: Install Flash plugin
tar -xzvf install_flash_player_10_linux.tar.gz
sudo mv -f ~/Desktop/libflashplayer.so
/usr/lib/firefox-addons/plugins/

Step 5: Wrap and Link
sudo nspluginwrapper -i /usr/lib/firefox-addons/plugins/libflashplayer.so
sudo ln -s /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so
/usr/lib/firefox-addons/plugins/

Step 6: Restart browser and you are good to go!

Reference: http://ubuntuforums.org/showthread.php?t=772490

Thursday, April 15, 2010

First blog

This is my first technical blog. Things get a little crazy but fun lately. I got my new job at Fixmo Inc. in Toronto and I cannot wait to join the team and explore the awesome area of software developing!

Good luck Catherine!