Install Git Extensions on Ubuntu 16.04

来源:互联网 发布:性能数据 守望先锋 编辑:程序博客网 时间:2024/06/05 12:50

Installation (Linux)

You can watch this video as a starting point: Install Git Extensions on Ubuntu 11.04

For further help go to https://groups.google.com/forum/?fromgroups=#!forum/gitextensions

This section only covers mono installation, you should have git installed in your Linux at this point. Please refer to https://git-scm.com/download/linux

First, make sure you have the latest mono version on your Linux. This section will cover installation of Mono 4.6 on a Linux.

  1. Install mono latest version. You can always check for this here: http://www.mono-project.com/download/#download-lin

  2. If everything went okay, you should open your terminal and check mono version:

    $ mono --versionMono JIT compiler version 4.6.1 (Stable 4.6.1.5/ef43c15 Wed Oct 12 09:10:37 UTC 2016)Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com    TLS:           __thread    SIGSEGV:       altstack    Notifications: epoll    Architecture:  amd64    Disabled:      none    Misc:          softdebug    LLVM:          supported, not enabled.    GC:            sgen
  3. Now download Git Extensions latest version from https://github.com/gitextensions/gitextensions/releases/latest. Remember to select the appropriate package otherwise you could have problems.

  4. Browse into the folder where you extracted the package and just run mono command, like the example below:

    $ mono GitExtensions.exe
  5. 问题及解决
    $ mono GitExtensions.exe          报错

    Unhandled Exception:
    System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
    File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

    执行 $ sudo apt-get install mono-complete 后,再重新执行$ mono GitExtensions.exe ,成功安装。


0 0
原创粉丝点击