惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
WordPress大学
WordPress大学
小众软件
小众软件
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
腾讯CDC
量子位
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
Scott Helme
Scott Helme
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Hacker News
The Hacker News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
IT之家
IT之家
Jina AI
Jina AI
Attack and Defense Labs
Attack and Defense Labs
S
SegmentFault 最新的问题
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
Google Online Security Blog
Google Online Security Blog
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
罗磊的独立博客
L
LINUX DO - 最新话题
博客园 - Franky
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
The Last Watchdog
The Last Watchdog
J
Java Code Geeks
AI
AI
C
Cisco Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
Help Net Security
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
I
Intezer
S
Securelist

Chinmay D. Pai

Hunting Down Mysterious NixOS Configuration with Nix REPL I Think It's Time to Give Nix a Chance Digital Dams That Don't Hold: Why Internet Censorship Fails as Technical Policy Setting up Void Linux with Full-Disk Encryption Introduction to TensorFlow Variables
Installing Termite on Void Linux
Chinmay D. Pai · 2018-08-03 · via Chinmay D. Pai

Termite is a VTE-based terminal emulator for GNU/Linux, which is available as a package on most Linux distribution repositories, but not on Void Linux. This is because termite uses a custom VTE build which isn’t (and won’t be) included in the void packages repository. Void Linux GitHub - On why termite won’t be included in void-packages

In this post, I’ll show you how to build and install termite on Void Linux.

note

Even though termite is a pretty solid choice for a terminal emulator, I suggest checking out Alacritty, which is a GPU-accelerated terminal emulator and is available in the Void Linux repository.

Build Dependencies

We need to install some dependencies to set up the custom VTE build and compile termite. Luckily enough, all the required dependencies are available in the Void Linux repository.

$ sudo xbps-install -Sy git gcc make automake autoconf gtk-doc glib-devel \

vala-devel gobject-introspection pkg-config intltool \

gettext-devel gnutls gnutls-devel gtk+3 gtk+3-devel \

pango pango-devel gperf pcre2-devel

Building VTE-ng

Make sure all of the dependencies have been installed before proceeding. We’ll now be compiling a custom VTE build, VTE-ng. If you do not have a build directory yet, making one would help with better organization.

$ mkdir build && cd build

We then need to clone the VTE-ng git repository and checkout the latest versioned branch.

$ git clone https://github.com/jelly/vte-ng.git

$ cd vte-ng

$ git checkout 0.50.2-ng

It is now time to configure and build vte-ng. We need to add --prefix=/usr while configuring so that it installs the library to /usr and not /usr/local, which is not used by Void Linux. Unless you choose to add it to your $PATH, of course.

$ ./autogen.sh --prefix=/usr

$ make

$ sudo make install

That’s it for the custom VTE build.

Building Termite

To build and install termite, we need to go back to the build directory and clone the termite git repository. We’ll clone it recursively as termite requires some git submodules.

$ cd $BUILDDIR

$ git clone --recursive https://github.com/thestinger/termite.git

$ cd termite

We do not need to configure anything in here since everything is hardcoded in the Makefile. Although we still need to edit the Makefile to make termite install to /usr and not /usr/local. We can do this using sed, and then finally make and install termite.

$ sed 's/PREFIX = \/usr\/local/PREFIX = \/usr/' -i Makefile

$ make

$ sudo make install

That’s all. If everything goes well, you should end up with termite installed on your system.

Got any questions or comments? Drop me an email.