Turning rpm package into deb package.

So recently I had to install Libre Office on my Ubuntu machine but it came only in rpm package. The "dpkg -i *.deb" only works for deb packages, not rpm. So I needed a way to convert these rpm packages into deb. The utility to do that is called "alien".

Run the following to install alien and the necessary packages:
sudo apt-get install alien dpkg-dev debhelper build-essential

To convert a package from rpm to debian format, use this command syntax. The sudo may not be necessary, but we’ll include it just in case.
sudo alien packagename.rpm

To install the package, you’ll use the dpkg utility, which is the internal package management tool behind debian and Ubuntu.
sudo dpkg -i packagename.deb

Auto complete, Code Assist does not work in Eclipse

I checked out project from SVN into Eclipse. I tried to work on it, but when I hit Ctrl+Space, the expected Code Assist did not show up. What went wrong?
It turned out that Eclipse did not recognize the newly checked out project as Java Project. I right clicked and chose Properties, and I could not find the option to set the Java build path and lib.
To solve it, I had to delete the project from workspace. Only from workspace, not from disk. Then I reopened the project with: New project with existing source. And I tweaked the lib and build path. And there, Code Assist showed up again :)