Following instructions from https://github.com/alecjacobson/coloremoji.sty ;
mkdir -p ~/Library/texmf/tex/latex/local
cd ~/Library/texmf/tex/latex/local
git clone git@github.com:alecjacobson/coloremoji.sty.git
texhash coloremoji.sty
Output the following;
~/Library/texmf/tex/latex/local
$ texhash coloremoji.sty
texhash: Updating /home/vco/Library/texmf/tex/latex/local/coloremoji.sty/ls-R...
texhash: Done.
However after trying to \usepackage{coloremoji} I got the following error;
! LaTeX Error: File `coloremoji.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
I'm not sure why this is - it seems to be talking about not finding the file
though. I tried to use this on ./coloremoji.sty/coloremoji.sty rather than
just the dir, but this didn't work either. Returned the following message;
$ texhash ./coloremoji.sty/coloremoji.sty
texhash: ./coloremoji.sty/coloremoji.sty: not a directory, skipping.
texhash: /usr/local/texlive/2015/texmf-config: directory not writable. Skipping...
texhash: /usr/local/texlive/2015/texmf-dist: directory not writable. Skipping...
texhash: /usr/local/texlive/2015/texmf-var: directory not writable. Skipping...
texhash: /usr/local/texlive/texmf-local: directory not writable. Skipping...
texhash: Done.
I'm not sure what I should do in order to get this working.
edit
tried to run texhash with sudo
$ ls
coloremoji.sty
vco @ geoHP
~/Library/texmf/tex/latex/local
$ sudo texhash coloremoji.sty/
sudo: texhash: command not found
vco @ geoHP
~/Library/texmf/tex/latex/local
Though it's on the system
$ which texhash
/usr/local/texlive/2015/bin/x86_64-linux/texhash
System that I'm using
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
sudo texhash– A Feldman Oct 01 '16 at 18:18