Microsoft Office 2007 running in Ubuntu via Wine

Finally! I have been able to install Microsoft Office 2007 on my Linux (Ubuntu 8.10 Intrepid Ibex). This was the only lacking feature in my Ubuntu, a good office solution. Though I hate Microsoft, I like its Office solution.

So, have been searching and trying, searching and trying out various ways to install Office on Ubuntu, and finally, am successful! Shockingly, it’s pretty easy to install Office 2007 on Linux! :)

Steps:

1) Install Wine:

Wine is required. This is the basic requirement. If you dont have Wine, you cant install Office! It is currently in a development release. If you don’t have it already, here’s a quick guide.

Enter the following commands in the Terminal:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/winehq.list

sudo apt-get update

sudo apt-get install wine

2) Install winetricks:

Winetricks is a small shell script which allows you to install a large variety of library and support files, and is available here. To download directly, type the following command:

wget http://www.kegel.com/wine/winetricks

chmod +x ./winetricks

3) Use winetricks:

This will setup all neccesary libraries that Office will need to run.

./winetricks gdiplus riched20 riched30 msxml3 msxml4 msxml6 corefonts tahoma vb6run vcrun6 msi2

4) Download Office

If you read this post, you’ll see some wonderful resources for downloading Office 2007 (just in case you can’t find your cd). If you have your own Microsoft office, you can use that too. No need to download it again.

wget -c http://download.microsoft.com/download/7/c/4/7c49b09b-d6f9-431d-9738-4c00aff11fc7/Enterprise.exe

5) Install Office

To use your own copy of Office, enter the command:

wine

If you downloaded (w.r.t Step 4), enter the command:

wine ./Enterprise.exe

Enjoy! :)

This install worked absolutley perfectly for me! Please feel free to comment if this worked for you, if you have any questions or comments, or if you need any help.

Thanks to: http://kennethreitz.com/office-2007-in-linux/

http://www.programmerfish.com/roffice-2007-in-linux

Purchase Microsoft Office 2007 Professional at a good price from eCostSoftware UK.

Dell XPS M1530 Linux Touchpad Problems

Many of you might have experienced the “highly hyper” behaviour of the touchpad while working on Linux on Dell XPS M1530. It seems there is a configuration problem for the touchpad.

Here, I rectify the touchpad problem in Ubuntu. The same solution can be used for other Linux distributions too.

1) Open the boot file: /boot/grub/menu.lst
Command Line Interface:
sudo nano /boot/grub/menu.lst
[sudo] password for username:

Graphical User Interface:
Press ALT + F2
Enter: gksu gedit /boot/grub/menu.lst
Enter the root password when asked.

2) Change the following line:
Before:
# defoptions = quiet splash

After:
# defoptions = quiet splash i8042.nomux=1

3) Run this command in a terminal (Accessories > Terminal)
# sudo update-grub
# [sudo] password for xxxx:

4) Restart the machine …. DONE! :)

For other distributions, instead of # defoptions, you might have to edit the kernel boot line.

Linux on Dell XPS M1530

Contents:
Hardware Configuration
Installing Ubuntu 8.10 (Intrepid Ibex)
Drivers

Harware Configuration:
Processor: Intel Core2Duo T8100 (2.1 GHz/800 MHz FSB, 4MB Cache)
RAM: 4 GB (2 X 2048 MB) 667 MHz Dual Channel DDR2 SDRAM
Tuxedo Black LCD display with Integrated 2.0 mega pixel web cam
15.4″ Widescreen WXGA (1280 X 800) TFT Display with TrueLife
256 MB NVIDIA GeForce 8600M GT
250 GB SATA Hard Drive
6-cell Lithium Ion Primary Battery
Internal 8X DVD+/-RW Combination Drive with dual layer write capabilities
Intel(R) 4965AGN Wireless-N Mini-Card
6-cell Lithium Ion Primary Battery

Installing Ubuntu 8.10 (Intrepid Ibex):
Requirements:
- Install media Ubuntu 8.10 32 Bit (Intrepid Ibex). You can download it from http://www.ubuntu.com/getubuntu/download
- An external mouse, if you aren’t well versed with the keyboard shortcuts. Believe me, the Dell XPS M1530 touchpad creates a hell lot of troubles in Linux.

Steps:
1) Insert the Ubuntu disc in the DVD drive and start your computer. Press F12 to enter the boot configuration and boot from your DVD Drive.

2) Once the computer boots up through the Ubuntu media, you would see the screen. Select the language of your choice and press Enter.

3) Next, Boot options:
2.1) Try Ubuntu without any change to your computer: Live Boot to use Ubuntu without installing it on your computer. You can install Ubuntu after the Operating System (the Live OS) has booted up.
2.2) Install Ubuntu: It says it all. Install Ubuntu directly.
2.3) Check for CD Defects: Check your installation media before installation.
2.4) Test Memory: Test the memory of the PC before installation.
2.5) Boot from first hard disk: Boot normally from the hard disk and not from the bootable Ubuntu disc.

3) After selecting the option 2 (Install Ubuntu), Ubuntu would start its own installation daemon (something similar to Anaconda of Fedora). From here, you will get a Graphical User Interface to install Ubuntu. A screen would come up asking you to select the language of your choice. Select the language and press Enter.

4) After the language settings, you need to select the location where you are. This is required to configure the system time. Just keep your mouse over your location and the map would enlarge itself. For eg: if you are in Mumbai, India, just go to that part of the map (dont click) and the map would enlarge itself, providing all the locations available (timezones) of which you could select the nearest one.


5) Next, Keyboard layout. Select the default one … USA – USA. You can select the others according to your keyboard type.

6) Partitions: We need to specify the partition on which Ubuntu should be installed. By default, it would resize one of the partitions (not sure which one) and use it to install Ubuntu. I suggest not to go for this option. Instead go for Manual partition. I would explain how to do that. Select the option and press Forward. Select the other options only if you are sure that it wont delete the other partitions on your system!

7) Once you are in the manual installation of Ubuntu, select the partition on which you want to install Ubuntu. Delete the partitions if there is some data on it.
Create 2 partitions here:
- Root Partition (/): Click the button “New Partition”. A new window would pop up named “Create partition”. Enter the size (in MB). Select the mount point as “/” (without the quotes, of course!). For this, use “Ext3 journaling File System” in the “Use As:” drop down list.
- Swap Partition: A Swap partition is used as a Virtual memory for linux. Preferably, it is double of RAM. But, if you have a 4 GB RAM, you can keep this to 2 GB. For this partition, use “Swap Area” in the “Use As” drop down list.


8) Finally, the partitions are created. 2 partitions as mentioned.
9) Once the partitions are set, enter other details (Name, Username, password, etc)


10) Finally, check your settings and click Install to install Ubuntu 8.10 on your Dell.

11) And finally, it installs the Operating System.

Once you boot into Ubuntu, you might encounter a touchpad problem. The mouse goes beserk once it is touched, flying all around the screen, clicking icons and buttons on its own. There is a way to repair this too … wait for my next blog :)

I wanted to write this blog since long and finally, took out time for it. If you liked this, please comment :)

Happy Linux’ing :)

Linux vs. Dell XPS M1530

I have been trying since 5 months to install Linux on my Dell XPS M1530. I have tried around 4-5 distros, but the touchpad created a hell lot of problems (though I am an all-keyboard type person). Finally, yesterday, I was able to get my touchpad work properly.

Configuration of my Dell:
- 2.1 GHz Intel Core2Duo Processor T8100
- 4 GB RAM
- 8600 GTx NVidia GeForce Graphics Card
- etc, etc, etc …

The Distros I used:
- Fedora Core 9
- Suse 10.2
- Mandriva
- CentOS
- Ubuntu (finally using this one)

Steps:
- Open the file /boot/grub/menu.lst in admin previledges, you can do this using and editor
——- ALT + F2
——- Type /boot/grub/menu.lst
——- Enter the root password (if asked)

- The file will be opened in an editor. You need to change a particular line in there
—– Before: # defoptions = quiet splash
—– After: # defoptions = quiet splash i8024.nomux=1

- Another thing that needs to be done is the following command to be executed in the terminal
—– sudo update-grub
—– password for xxxx: root password

Restart the machine.

This worked for me. Hopefully it would work for all out there.

Would like to thank this post and the writer:
https://answers.launchpad.net/ubuntu/+question/34253

You can also check this link:
https://wiki.ubuntu.com/InstallingUbuntuOnADellXPSM1530

Cheers :)

Follow

Get every new post delivered to your Inbox.