miércoles 5 de agosto de 2009

Ways to discover how to break something in some place


Well , there are a few moments where you want to update/upgrade/improve some applications in your system, right?, and you believe the promises of your well known provider of free soft, i mean , i don't have anything against promises, but, WTF , who need it?!?.
You are using the office suite that you get when installed your favorite OS, and you are part of that guys who think sometimes it's better have the latest version. It's some kind of familiar, right?
As all brainless ape, and let me tell you i love monkeys, you take the steps in order to make it. Oh , lord!.
So , let's gonna review it; first , downloaded the application, in this case we are gonna "upgrade" OpenOffice dude. Go to the well known site, and just wait a moment, you are not in a hurry, ok?. After that you are going to get something like this:

OOo_3.1.0_LinuxIntel_install_en-US_deb.tar.gz 


You can use the well-known-old-steps to uncompress and unpack it :

tar xvfz  OOo_3.1.0_LinuxIntel_install_en-US_deb.tar.gz 


And you must get something like this:

OOO310_m11_native_packed-4_en-US.9399/
|-- DEBS
| |-- desktop-integration
| | `-- openoffice.org3.1-debian-menus_3.1-9393_all.deb
| |-- ooobasis3.1-base_3.1.0-11_i386.deb
| |-- ooobasis3.1-binfilter_3.1.0-11_i386.deb
| |-- ooobasis3.1-calc_3.1.0-11_i386.deb
| |-- ooobasis3.1-core01_3.1.0-11_i386.deb
| |-- ooobasis3.1-core02_3.1.0-11_i386.deb
| |-- ooobasis3.1-core03_3.1.0-11_i386.deb
| |-- ooobasis3.1-core04_3.1.0-11_i386.deb
| |-- ooobasis3.1-core05_3.1.0-11_i386.deb
| |-- ooobasis3.1-core06_3.1.0-11_i386.deb
| |-- ooobasis3.1-core07_3.1.0-11_i386.deb
| |-- ooobasis3.1-draw_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-base_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-binfilter_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-calc_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-draw_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-help_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-impress_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-math_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-res_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us-writer_3.1.0-11_i386.deb
| |-- ooobasis3.1-en-us_3.1.0-11_i386.deb
| |-- ooobasis3.1-gnome-integration_3.1.0-11_i386.deb
| |-- ooobasis3.1-graphicfilter_3.1.0-11_i386.deb
| |-- ooobasis3.1-images_3.1.0-11_i386.deb
| |-- ooobasis3.1-impress_3.1.0-11_i386.deb
| |-- ooobasis3.1-javafilter_3.1.0-11_i386.deb
| |-- ooobasis3.1-kde-integration_3.1.0-11_i386.deb
| |-- ooobasis3.1-math_3.1.0-11_i386.deb
| |-- ooobasis3.1-onlineupdate_3.1.0-11_i386.deb
| |-- ooobasis3.1-ooofonts_3.1.0-11_i386.deb
| |-- ooobasis3.1-oooimprovement_3.1.0-11_i386.deb
| |-- ooobasis3.1-ooolinguistic_3.1.0-11_i386.deb
| |-- ooobasis3.1-pyuno_3.1.0-11_i386.deb
| |-- ooobasis3.1-testtool_3.1.0-11_i386.deb
| |-- ooobasis3.1-writer_3.1.0-11_i386.deb
| |-- ooobasis3.1-xsltfilter_3.1.0-11_i386.deb
| |-- openoffice.org-ure_1.5.0-11_i386.deb
| |-- openoffice.org3-base_3.1.0-11_i386.deb
| |-- openoffice.org3-calc_3.1.0-11_i386.deb
| |-- openoffice.org3-dict-en_3.1.0-11_i386.deb
| |-- openoffice.org3-dict-es_3.1.0-11_i386.deb
| |-- openoffice.org3-dict-fr_3.1.0-11_i386.deb
| |-- openoffice.org3-draw_3.1.0-11_i386.deb
| |-- openoffice.org3-en-us_3.1.0-11_i386.deb
| |-- openoffice.org3-impress_3.1.0-11_i386.deb
| |-- openoffice.org3-math_3.1.0-11_i386.deb
| |-- openoffice.org3-writer_3.1.0-11_i386.deb
| `-- openoffice.org3_3.1.0-11_i386.deb
|-- licenses
| |-- LICENSE_en-US
| `-- LICENSE_en-US.html
|-- readmes
| |-- README_en-US
| `-- README_en-US.html
`-- update


Have you notice which kind of system i'm using? the universal system, a trusty debian, it's cool, you know it. Ok, so can you see that enormous lists there?, yes , you have to install it, dammn!!
Don't worry, it's no so painful as you can believe, just calm down and take your time.

Firstable, you must install all the ooobasis3.1-core[X] files,, like this:

dpkg -i [filename].deb


After that , it the turn of ooobasis3.1-images_3.1.0-11_i386.deb..and so on. Try it, you can get a funny time. In my case i'm using gnome, so installed it with the gnome package, if you are using kde use the other,ok?.

And now , what?......be patient...ok , now we have our new and shiny office application, and also i already downloaded java from sun , installed it and edited my system's profile , in order to have sun's java in the PATH. Something like this:



PATH="/usr/java/jre1.6.0_13/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

You are that kind of guy who want to use the "proper" tools , and set the correct files in order to get everything working fine, yeah, sure!

And here appear our friendly web browser, the one that came with the OS, iceweasel. Before all the changes , i were able to visit all the websites without problem , but after that , and i guess sun's java is doing this, some web sites displayed ...like broken. Whats the moral of all this tour?? ....well, just do what you are going to accept, if you broke it , you must fix it .

At this moment i'm using chromium and even when it's beta, it displays everything well, so you can take a lot of lessons from this experience , you can fix it , you can undo it or you can change some settings in your system and keep it the way you like it even if you have to leave other apps. OpenOffice is working fine , and i like to use sun's java to code instead of gnu's one, cause i like it.