How to install termite

40,716

Solution 1

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 ....

Solution 2

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!

Share:
40,716

Related videos on Youtube

Pepe
Author by

Pepe

Updated on September 18, 2022

Comments

  • Pepe
    Pepe almost 2 years

    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
  • Pepe
    Pepe over 8 years
    I did see that, but i'm not sure how install vte-ng. They don't tell you how to install it. Do you know how to install vte-ng?
  • Mohit Rajan
    Mohit Rajan over 8 years
    it should usually be mentioned in the read me file(after download the zip file)
  • Mohit Rajan
    Mohit Rajan over 8 years
  • Mohit Rajan
    Mohit Rajan over 8 years
  • Benjamin R
    Benjamin R about 7 years
    Downvoted because this does not even attempt to answer the problem. There are many reasons why one would not want to install terminator, for example the UI overhead with titlebar and window borders etc. I find tilix/terminix annoying for the same reasons.
  • Elder Geek
    Elder Geek about 7 years
    @BenjaminR Thank you for sharing your views. Rest assured that I posted this answer in an honest attempt to help with the belief that an alternative solution would be welcome. Perhaps this question would have had an answer to your liking sooner of you had made an effort to provide one. I'm sure the community would benefit if you would take a more active role. :-)
  • Benjamin R
    Benjamin R about 7 years
    You've misunderstood me, but I understand why as my comment is definitely sub-ideal when I read it again. I was merely trying to state that assuming the Asker is not aware of terminator or may not have perfectly valid and specific reasons for wanting to use terminix, and instead offering this as an answer when it does not answer the question definitely deserves a downvote. Any answer which does not answer the question does. Asking "Have you tried terminator instead?" in a comment on the question is totally valid.
  • Elder Geek
    Elder Geek about 7 years
    With all due respect, you misunderstand. I provided a viable alternative which is perfectly acceptable under the guidelines. Here's a quote: "Read the question carefully. What, specifically, is the question asking for? Make sure your answer provides that – or a viable alternative.
  • Benjamin R
    Benjamin R about 7 years
    I concede the point entirely, thanks for the correction.
  • Elder Geek
    Elder Geek about 7 years
    @BenjaminR No problem, I'm always eager to help
  • Elder Geek
    Elder Geek about 6 years
    I don't see how providing the same information in your answer as that which was already provided by the top answer is adding anything.
  • Evan Carroll
    Evan Carroll over 5 years
    Termite is a lightweight terminal emulator. Terminator is a bloated Java 6 Terminal Emulator. I can't see how this is a viable alternative.
  • Evan Carroll
    Evan Carroll over 5 years
    You should not be doing sudo ln -s /usr/local/share/terminfo/x/xterm-termite /lib/terminfo/x/xterm-termite that's a bad idea. What's the point?
  • d1bro
    d1bro over 5 years
    @EvanCarroll if you point out to me why not, I'll change it, but as you might have read in the first paragraph this "solution" is stolen.
  • Gabriel Ziegler
    Gabriel Ziegler over 5 years
    At first, I thought this answer didn't provide a good solution to the question asked, but then I read the comments and not only changed my mind, but I learned more about the community. Thanks @ElderGeek
  • Elder Geek
    Elder Geek over 5 years
    @GabrielZiegler Welcome to AskUbuntu!
  • blkpws
    blkpws over 5 years
    Why you do a echo of export LIBRARY_PATH="/usr/include/gtk-3.0:$LIBRARY_PATH"?
  • egmont
    egmont about 5 years
    There are two terminals named Terminator. The one linked from this answer (which has an Ubuntu package, and is shown with the red title bar on the screenshot comparing to Termite) is written in Python, using the VTE widget. The other one, linked from a followup comment, is written in Java.
  • b-fg
    b-fg about 5 years
    This instructions will break your gnome terminal since this requires a newer version of the vte-ng package. Do not follow this instructions or your gnome terminal will be affected.
  • Elder Geek
    Elder Geek about 5 years
    @egmont Nice catch. It doesn't appear that there were 2 terminators when I wrote this answer. The follow up comment over a year and a half later (noe deleted) was simply a response to this one reviewing the Java version. Feel free to edit answers that can be improved.
  • BlkPengu
    BlkPengu almost 5 years
    fatal: could not create work tree dir 'vte-ng': No such file or directory