I would like to install an homemade package ? With MacTeX, I put my package in texmf-local and then simply use texhash.
Under Ubuntu, I have to use the plain path sudo /usr/local/texlive/2013/bin/x86_64-linux/texhash. This is a little boring.
Have you a way to avoid the use of the long plain path ?
sudoin front of the command, aren't you? – egreg Apr 16 '14 at 16:34/etc/profile.dwhich includes[ -d "/usr/local/texlive/2013/bin/x86_64-linux" ] && export PATH="/usr/local/texlive/2013/bin/x86_64-linux:${PATH}"? (I don't use Ubuntu - I do this on Fedora.) – cfr Apr 16 '14 at 16:37alias mytexhash='sudo /usr/local/texlive/2013/bin/x86_64-linux/texhash'? You have to place that into your .bashrc file or the equivalent file where ubuntu stores bash config. Then you can just typemytexhashand it will call the long path automatically – d-cmst Apr 16 '14 at 16:55/home/cmhughes/texmf/tex/latex/– cmhughes Apr 16 '14 at 17:10~/texmf/tex/latex. It is, really, the best place to put personal.sty(etc.) files. Note, however, that some files should be put in other locations. A.bibfile, e.g., should go in~/texmf/bibtex/bibwhile a.bstwould go in~/texmf/bibtex/bst. The structure of~/texmf, which you need to create yourself, should mimic the structure of your system tree. – jon Apr 16 '14 at 17:39PATHin order to use the system effectively. If the problem only occurs when you usesudois is somewhat contained (though may still cause issues sometime) but you should definitely ensure it is correct for your user. What doesecho $PATHgive? – cfr Apr 16 '14 at 21:24/usr/local/texlive/2013/bin/x86_64-linux:/home/cbal/anaconda/bin:/usr/local/texlive/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gameswhere. – projetmbc Apr 17 '14 at 11:47