Using TFS in Linux Ubuntu



I have built a Linux Ubuntu virtual machine as a client for working with Team Foundation Server 2010 , using Eclipse plug in (Team Explorer Everywhere 2010).

I’ll Guide you through the required steps to do that.
Needless to say, we need a TFS server (2005/2008/2010) as a prerequisite, to connect to later on.

1. Let us build a machine.

If you already have an ubuntu macine – use it and skip this phase.

I Recommend for this testing to build a virtual machine, using Oracle Virtual Box Software.
Why Virtual Box? I experienced problems working on a virtual ubuntu machine based on Microsoft Virtual PC: delays using mouse, duplicate keyboard key clicks, etc…

Download Virtual Box from Here, and install it.

Download the latest version of ubuntu as iso file from here.

Activate Virtual Box and create a new Linux Ubuntu virtual machine, using the iso file as an installation media.

Follow the exact instructions in this great post.

2. We have a machine. Now install eclipse.

Note: Do not use Ubuntu Software Center to install eclipse. I tried that. The installation succeeds, but then the TFS plug in fails to install.

Go to Eclipse downloads site, and choose your favorite edition to download. I’ve chosen the IDE for Java EE Developers. download the zip file, and just extract it on your Ubuntu machine. Now you can use, No installation needed.

3. Download Team Explorer Everywhere from here.

If you did not purchased it you have a one month trial period.
There are 3 downloads in that page:

InstallTEE.htm – a useful readme file – the Team Explorer plugin for Eclipse – TF Command Line utility

Download the files. in order to install the Eclipse plug-in, extract from zip file is NOT needed.

4. Install the Plug-in.

Follow instructions on InstallTEE.htm in the paragraph titled “To install the plug-in”

5. Associate local projects to TFS

Follow instructions on InstallTEE.htm in the paragraph titled “To associate your local Eclipse workspace with the same Team Foundation Server workspace”

Be aware that “Workspace” has a dual meaning. Eclipse workspace is the local environment, while TFS workspace, well, You know.

These next instructions are taken from In InstallTEE.htm + my screen shots.

Project Explorer, right-click the project that you want to add to version control, point to Team, and then click Share Project.

01 Team - Share Project 
The Share Project dialog box appears.

In the Select a repository type list, click Microsoft Team Foundation Server, and then click Next.
02 - Select TFS 

The Team Project page of the Share Project to Team Foundation Server dialog box appears.

05 - Login Details 

In the list of servers, click the instance of Team Foundation Server to which you want to connect.

If your server is not listed, click Servers, and then add the instance of Team Foundation Server to which you want to connect.

In the Team Project Collections list, click the team project collection that contains the team project to which you want to add your project.

In the Team Projects list, select the check box that corresponds to the team project to which you want to add your project, and then click Next to advance to the TFS Workspace page.

07 - Select Workspace

In the list, click the Team Foundation Server workspace to which your project was previously connected, and then click Next.

My additions:

We may have to edit TFS workspace definition…

08 - Edit Workspace

And then we’ll choose the TFS folder to associate.

09 - Select Server Location

6. Done.

We can view pending changes (my java projects are not yet on TFS so we have “add” pending changes).

11 - Pending Changes

After Check in, The files are in TFS.

The Plug in we installed enables us to manage builds, use Source control Explorer:

15 - Source Control Explorer

and manage work items:

16 - Work Item

17 - Bug

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



  1. VB07/07/2010 ב 13:44

    Hi. Graet post! It realy help me.

    But I cant understend how to use Cross-Platform Command-Line Client for Team Foundation Server
    in Ubuntu…

    Unzip the archive (.zip file) that contains the client.
    Configure your shell or system path to include the folder to which you unzipped the archive (HOW????).
    To verify that the client is working, at a command prompt, type tf, and then press ENTER.

    If I type “tf” in terminal I have result:
    The program ‘tf’ can be found in the following packages:
    * tf
    * tf5

  2. RandomLurker12313/03/2012 ב 12:27

    @VB: adding the installation path to the PATH variable (e.g. in ~/.bash_profile or /etc/bash_profile or some such) is intended to allow for direct lookup of the app. If you don’t want to do such a change, simply launch it via “./tf” to directly start from that directory.

    Also, you might be interested in OpenTF,

    SvnBridge unfortunately currently leaves a lot to be desired. Something should be done about this.

  3. Alina30/03/2012 ב 05:19

    Thank you very much,it realy help me.

  4. recondite25/04/2012 ב 00:34

    This isn’t really getting it to work on linux, it’s getting the eclipse pluggin to work on linux. The difference between installing eclipse on linux and windows is trivial. WHat would be more helpful is a good explanation of how to install and run the CLC on linux.

  5. Theriault09/05/2013 ב 06:01

    Get the easy to understand guide to delete this virus completely.
    Place a little more details fot it, and you have a porcelain tile.

    For example, PPTP is great for fast browsing and streaming.