How to install vit on linux mint

callas1900

r_tanaka

Posted on June 11, 2019

How to install vit on linux mint

A bloody great command line mate created a TaskWarrior wrapper, VIT(https://github.com/scottkosty/vit).

I think this wrapper is tmux friendly.
Also I like this approach to improve TaskWarrior because if you are already using TaskWarrior, there is no transfer cost.

How to install

$ git clone https://github.com/scottkosty/vit.git
$ cd vit
$ ./configure
$ make
$ make install

VIT was created with perl. I had to install perl modules because my linux system is not familiar with perl.

Trouble shooting

1. the curse of perl

If you receive this error message from ./configure

configure: error: can not continue: perl "Curses" module not found

Install libcurses-perl by https://community.linuxmint.com/software/view/libcurses-perl

2. when running vit

Can't locate Try/Tiny.pm in @INC (you may need to install the Try::Tiny module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/local/bin/vit line 13.
BEGIN failed--compilation aborted at /usr/local/bin/vit line 13.

Install Try::Tiny by https://ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/libtry-tiny-smartcatch-perl_0.5-1_all.deb.html

If after installing it same error message occurs...

I attempted to find Tiny.pm in this directory

usr/share/perl5/vendor_perl/Try/Tiny.pm

According to this error message there is no perl path for usr/share/perl5/vendor_perl/

So,

export PERL5LIB=/usr/share/perl5/vendor_perl/

Then

it works!!

💖 💪 🙅 🚩
callas1900
r_tanaka

Posted on June 11, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

How to install vit on linux mint
terminal How to install vit on linux mint

June 11, 2019