Mar
28
How to Install VMware in Ubuntu Linux
March 28, 2008 | By: UbuntuLinuxHelp | 1 Comment
Posted in How to..., Installation, Linux Projects - Hands On
Over the week I received a couple messages asking about VMware installations. While I'm sure there are all sorts of tutorials about this, I thought (since I received questions) that a quick "How to" guide would be helpful to some of you.
What is VMware? It's a virtual environment that lets you install "guest" operating systems. Such as Windows, BSD, other Linux distributions, etc.
Why would you want to use VMware? To facilitate an endless number of OS environments without having to repartition your hard drive. In my case, it allows me to keep my "good installation" (the one I use day-to-day) from my play area where I experiment. For people who want or require a Windows environment, this would be a great solution!
Prior to installing VMware, we need to ensure a few things.
- This quick guide is for Ubuntu Linux 7.10 (Gutsy).
- Patch Ubuntu Linux 7.10, if you're using source to install (because the first time I did this it failed, and I Googled to find that we had to patch our systems).
- Make sure we have the tools and build environment to compile the needed modules for our kernel. This is only for those who prefer to install from Source instead of a Repository package.
- Add the correct repository address to our sources.list. This is only for those who prefer to install from a Repository package instead of Source.
- You'll need a free serial number to complete the installation. You can obtain it here: http://register.vmware.com/content/registration.html (Have you number available before you begin the installation.
As you can see in the above, there are two ways to install VMware. As a side note, this is pretty much the case with anything in Linux. Installations can be performed by compiling source or simply using a package.
Installation Via Repository:
You can either use nano to edit the /etc/apt/sources.list or you can do it in one step by echoing the address of the repository into the sources.list file. To try and keep this as simple as possible, let's use echo like this:
sudo su
echo "deb http://archive.canonical.com/ubuntu feisty-commercial main" >> /etc/apt/sources.list
This has added the correct address (it says feisty-commercial as there currently is no gutsy-commercial); after updating, you'll be able to complete the installation.
exit
(You are no longer sudo su). Install using (you'll be prompted to accept the EULA):
sudo apt-get update
sudo apt-get install vmware-server
Now just run VMware with the command:
vmware
In my case I want to connect to the localhost and then I get the interface to "Create a new virtual machine".
Have fun!
Note: Next week I'll post about using source to complete the installation!
:)
Update: Here is the installation using source: How to Install VMware in Linux via Source Files
Related posts:
- How to Install VMware in Linux via Source Files
- Using Ubuntu as an Electronic Document Management System
- Ubuntu LAMP Server With Torrentflux In VMware
- The Best Ubuntu Linux Repository List
- Simple apt-get to Keep Your Ubuntu System Clean.



[...] week we posted a very simple “How to Install VMware in Ubuntu Linux“. That guide used apt-get to access the appropriate repositories. Additionally, it explained [...]