18

I'm using openbox on UbuntuGnome .. if that helps.

So I reviewed the documentation located here:

https://wiki.archlinux.org/index.php/Termite

and I can't figure out how to install it. I'm very novice and would just like a simple explanation is possible, or at least a nudge in the right direction.

I also followed the instructions here: https://github.com/thestinger/termite

Did the following:

git clone --recursive https://github.com/thestinger/termite.git
cd termite && make

then get this:

ask@ubuntu:~/termite$ make
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package vte-2.91 was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte-2.91.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte-2.91' found
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package vte-2.91 was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte-2.91.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte-2.91' found
g++ -std=c++11 -O3 -Wall -Wextra -pedantic -Winit-self -Wshadow -Wformat=2 -Wmissing-declarations -Wstrict-overflow=5 -Wcast-align -Wconversion -Wunused-macros -Wwrite-strings -DNDEBUG -D_POSIX_C_SOURCE=200809L -DTERMITE_VERSION=\"v11\"   -Wno-missing-field-initializers -s -Wl,--as-needed  termite.cc  -o termite
termite.cc:31:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
Makefile:36: recipe for target 'termite' failed
make: *** [termite] Error 1
karel
  • 122,292
  • 133
  • 301
  • 332
Pepe
  • 1,008

6 Answers6

17

Over here is an install script, that nicely explains all dependencies and stuff, I'll just copy that for you ;)

Install dependencies

sudo apt install -y g++ libgtk-3-dev gtk-doc-tools gnutls-bin \
    valac intltool libpcre2-dev libglib3.0-cil-dev libgnutls28-dev \
    libgirepository1.0-dev libxml2-utils gperf build-essential

Get and install vte-ng

git clone https://github.com/thestinger/vte-ng.git
echo export LIBRARY_PATH="/usr/include/gtk-3.0:$LIBRARY_PATH"
cd vte-ng && ./autogen.sh && make && sudo make install
cd ..

Get and install termite, and setup

git clone --recursive https://github.com/thestinger/termite.git
cd termite && make && sudo make install
sudo ldconfig
sudo mkdir -p /lib/terminfo/x
sudo ln -s /usr/local/share/terminfo/x/xterm-termite /lib/terminfo/x/xterm-termite

Voila, this should be it ....

blkpws
  • 1,242
d1bro
  • 2,334
3

I think the simplest way to install is the following:

cd /tmp
wget https://raw.githubusercontent.com/Corwind/termite-install/master/termite-install.sh
chmod +x ./termite-install.sh
./termite-install.sh

Now update your default terminal emulator:

sudo update-alternatives --config x-terminal-emulator

Have a good day!

blkpws
  • 1,242
0

you can also install it with those commandas:

sudo apt update
sudo apt install snapd
sudo snap install termite --candidate

https://snapcraft.io/install/termite/ubuntu

RubenM
  • 1
0

It looks like you didnt install the required DEPENDENCIES. It could be the problem

Package vte-2.91 was not found in the pkg-config search path. Try installing vte-ng https://github.com/thestinger/vte-ng

-1

You can Install termite on Ubuntu using this script :

Termite Installer

alizeyn
  • 153
-3

An easy viable alternative would be to install terminator which is easily available for all currently supported versions of Ubuntu

This is a very simple 2 step process.

1) Enable the universe repository

2) install terminator either through the Ubuntu software center or via the command line in a terminal with the command sudo apt-get install terminator

This might be a better choice as some say that terminator is superior because it can seperate the terminal window into several areas and you can re-size them as needed. Multiple windows and tabs are also supported.

Sources:

Experience

https://www.slant.co/versus/2444/2462/~terminator_vs_termite

Elder Geek
  • 36,752