I compiled and installed vim 8 using the following commands:
./configure --prefix=/usr/local \ --with-features=huge \ --enable-fail-if-missing \ --enable-multibyte \ --enable-rubyinterp \ --enable-pythoninterp \ --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu\ --enable-python3interp \ --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu \ --enable-perlinterp \ --enable-luainterp \ --enable-gui=auto \ --enable-fontset \ --enable-cscope | tee configure.log make VIMRUNTIMEDIR=/usr/local/share/vim/vim80 checkinstall --default
and it works. I can use gvim and I check the version and everything looked fine for a couple of days. Then suddenly, I can no longer find gvim, only terminal vim and the version seems to have been downgraded to 7.4.1689.
This has happened several times but I'm unable to figure out what is triggering this. Can someone please shed some light on this?
EDIT: Updating the system seems to be the issue. This happens after every system update.