Tuesday, May 18, 2010

Installing VMWare Tools 6.0 on Peppermint OS 2010.04.24

These are the problems I encountered during the installation of VMWare Tools 6.0 on a fresh install of Peppermint OS 2010.04.24.

A)  What is the location of the "gcc" program of your machine?

If the gcc compiler is missing, use the following command to install:

$ sudo apt-get install gcc

After the installation is finished, to find the location of gcc,
$ which gcc

Output:
/usr/bin/gcc

Answer:  What is the location of the "gcc" program of your machine?
/usr/bin/gcc


B) "What is the location the directory of C header files that match your running kernel?

The C header files are not found under /usr/src/linux/include which is the default path specified on the prompt.  Here's how you install the linux header files.

$ sudo apt-get install linux-headers-'uname -r' build-essential

replace 'uname -r' with what you get when you type:
$ uname -r
2.6.32-22-generic

The complete command:
$ sudo apt-get install linux-headers-2.6.32-22-generic build-essential

 After the installation is finished, the location of the directory of C header files for your kernel is at:
/usr/src/linux-headers-2.6.32-22-generic/include

Answer:  "What is the location the directory of C header files that match your running kernel?  /usr/src/linux-headers-2.6.32-22-generic/include

2 comments:

  1. This was really really helpful. Thanks a bunch!

    ReplyDelete
  2. a little correction...

    $ sudo apt-get install linux-headers-2.6.32-22-generic build essential

    should be:

    $ sudo apt-get install linux-headers-2.6.32-22-generic build-essential

    ReplyDelete