Installation - Sixdsn/terra-terminal GitHub Wiki

--

Dependencies

Build

To build Terra you need to install:

  • python (>= 2.7.1)
  • libgtk-3-dev
  • python-dev or python3-dev (depending on your python version)

On Debian/Ubuntu:

  • python-distutils-extra

On Archlinux:

  • community/python2-distutils-extra

Execute

To run Terra you need to install:

On Debian/Ubuntu:

  • gir1.2-glib-2.0
  • gir1.2-gtk-3.0
  • gir1.2-vte-2.90
  • gir1.2-gdkpixbuf-2.0
  • python-dbus

On Archlinux:

  • extra/python2
  • extra/python2-gobject
  • extra/python2-gobject2
  • extra/python2-dbus
  • extra/pygtk
  • extra/gdk-pixbuf2

Sources

  • With GIT: git clone
  • With SVN: svn checkout

Get the Stable Version (Master):

Get the Testing Version (Develop):

Ex:

  • Get the Testing Version with GIT over SSH:
git clone -b develop [email protected]:Sixdsn/terra-terminal

Build

In a shell:

$> sudo ./setup install

or

$> sudo pip install .

then

$>terra

Development Install

$> pip install --user --editable .
$> ./main/terra

or

$> echo "export PATH=$PATH:$HOME/.local/bin" > ~/.bashrc
$> terra

With --editable, you can start changing any file, and the changes will be picked up immediately.

Uninstall

$> sudo pip uninstall terra

Don't be afraid of Warnings and Errors, if terra launches then everything is ok

If not then open an Issue

Create a Debian Package

In the parent folder containing your sources:

debuild -us -uc -B

For Ubuntu, add this at the end of debuild command: --lintian-opts --profile debian

sudo dpkg -i ../terra_$version_$arch.deb