65

I have downloaded latest SmartGit installation and each time I want to use it I need to run script smartgit.sh from SmartGit bin directory, this process requires the same repository setup every time.

What it correct way of installing SmartGit on Ubuntu? Thus I can have normal icon and run the program from state of previous usage, without configuring repositories every time.

Thanks.

Nam G VU
  • 33,193
  • 69
  • 233
  • 372
eomeroff
  • 9,599
  • 30
  • 97
  • 138
  • Which repository must be setup every time? – mstrap Aug 30 '12 at 09:05
  • Local repository that I want to use. – eomeroff Aug 31 '12 at 09:24
  • SmartGit stores its settings in ~./smartgit/. Here, projects.xml contains all pointers to your local Git repositories. I currently can't see why it should be necessary to re-setup them every time, unless you have changed "smartgit.home" somewhere in bin/smartgit.sh? – mstrap Aug 31 '12 at 14:46
  • mstrap, `smartgit.sh` is the installer and the installer always prompts the user about finding or creating repositories. – H2ONaCl Jan 25 '16 at 06:22

4 Answers4

145

You can add a PPA that provides a relatively current version of SmartGit(as well as SmartGitHg, the predecessor of SmartGit).

To add the PPA run:

sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update

To install smartgit (after adding the PPA) run:

sudo apt-get install smartgit

To install smartgithg (after adding the PPA) run:

sudo apt-get install smartgithg

This should add a menu option for you

For more information, see Eugene San PPA.

This repository contains collection of customized, updated, ported and backported packages for two last LTS releases and latest pre-LTS release

Kevin Bowen
  • 1,625
  • 2
  • 23
  • 27
  • 18
    If anyone else finds this, make sure you do __sudo apt-get install smartgithg__ (don't forget `hg` on the end) this way you will get the latest version. – vladikoff Sep 07 '13 at 07:41
  • 1
    use this with caution as the ppa also holds new version of gnome 3 packages like gnome-session-data and may alter your gnome after a apt-get upgrade.. – iRaS May 28 '14 at 07:48
  • I added the PPA (copied and pasted the steps), but apt still can't find smartgit or smartgithg. I guess something's different in Ubuntu 17.10? – Michael Scheper Jun 25 '18 at 18:55
  • 3
    @MichaelScheper At this point(6 years after I originally posted this answer), It maybe simpler just get the .deb directly from the creators here: https://www.syntevo.com/smartgit/download/ I would strongly suggest reading the PPA description closely to determine if adding this PPA is appropriate for your needs. https://launchpad.net/~eugenesan/+archive/ppa YMMV – Kevin Bowen Jun 25 '18 at 23:31
  • Yep, I ended up just downloading the .deb. Cheers. – Michael Scheper Jun 26 '18 at 14:10
  • Installs on arm64 but comes with x86/x64 native SWT.so. Any chance I can get an arm64 SWT library? Or the package can actually package a x86 and arm version? – jschober Oct 14 '19 at 19:28
  • The won't even work anymore, because the PPA is outdated. Use the .deb as in @Michele 's answer. – James Hirschorn Nov 10 '20 at 09:36
67

What it correct way of installing SmartGit on Ubuntu? Thus I can have normal icon

In smartgit/bin folder, there's a shell script waiting for you: add-menuitem.sh. It does just that.

Nam G VU
  • 33,193
  • 69
  • 233
  • 372
oori
  • 5,533
  • 1
  • 30
  • 37
  • What is the default location of this bin folder for ubuntu 14 users? I couldn't find it in /etc/ my ubuntu 14. My smartgit is working perfectly but I would like to try this setup also. – rineez Nov 27 '15 at 05:44
31

Now on the Smartgit webpage (I don't know since when) there is the possibility to download directly the .deb package. Once installed, it will upgrade automagically itself when a new version is released.

Michele
  • 2,796
  • 2
  • 21
  • 29
13

Seems a bit too late, but there is a PPA repository with SmartGit, enjoy! =)

Shevchuk
  • 515
  • 5
  • 8