General ⇒ What's wrong with my texhash usage ?
What's wrong with my texhash usage ?
It's probably a stupid question, there must be something preventing me from seeing what's wrong ...
I tried to install biblatex, but latex doesn't seem to find it.
Here's what I did :
- I downloaded biblatex.zip from CTAN and put it in /usr/share/texmf
- unzip biblatex.zip
- I ran texhash (as root)
But running pdflatex on my tex file tells me :
! LaTeX Error: File `biblatex.sty' not found.
However, biblatex is present on the system :
# find . -name biblatex.sty
./biblatex/latex/biblatex.sty
# grep biblatex.sty ls-R
biblatex.sty
However,
# kpsewhich biblatex.sty
doesn't return anything.
What am I doing wrong ?
Thanks in advance,
Jos
# pdflatex --version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
# uname -a
Linux localhost.localdomain 2.6.32-358.18.1.el6.centos.plus.x86_64 #1 SMP Wed Aug 28 16:14:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: What's wrong with my texhash usage ?
kpsewhich doesn't seem to be looking in new directories created directly at /usr/share/texmf/.
Is this normal behaviour ? Can one change this ?
Cheers,
Jos
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: What's wrong with my texhash usage ?
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
What's wrong with my texhash usage ?
Code: Select all
[root@localhost latex]# yum install texlive
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.fr.planethoster.net
* centosplus: centos.mirror.fr.planethoster.net
* contrib: centos.mirror.fr.planethoster.net
* elrepo: mirrors.ircam.fr
* epel: mirror.ibcp.fr
* extras: mirrors.ircam.fr
* rpmfusion-free-updates: ftp-stud.hs-esslingen.de
* rpmfusion-nonfree-updates: ftp-stud.hs-esslingen.de
* updates: mirror.ate.info
Setting up Install Process
Package texlive-2007-57.el6_2.x86_64 already installed and latest version
Nothing to do
Could you indicate how to get an up-to-date tex installation on rhel-like systems ? I'm, of course, not going to change my linux distribution just for the sake of tex.
Thanks,
Jos
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
What's wrong with my texhash usage ?
A vanilla TeX Live has TLmgr (Tex Live Manager) for maintenance of the TeX system and its packages. TeX systems delivered by Linux distributions mostly lack this tool.jossojjos wrote:Well ... when you say "package manager", you mean the system's package manager ? Or does texlive have one ?[…]
Regardless of that you should be able to set up a local TeX tree in your home directory (
~/texmf
). It has to follow the TeX Directory Structure standard (TDS). After additions this has to be updated with texhash
as normal user.Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: What's wrong with my texhash usage ?

What's wrong with my texhash usage ?

I just needed to remove all the remains of the packaged, previously installed texlive, just deleting the old texmf tree was not enough :
Code: Select all
rpm -e --nodeps texlive texlive-utils texlive-latex texlive-xetex texlive-dvips texlive-context texinfo-tex tex-preview
Three other packages that depended on texlive : dvipdfmx, xdvipdfmx and tetex-tex4ht, should they be removed as well, or would they function just fine with the fresh installation of texlive ?
Well, I guess this post should be renamed or deleted ... whatever you want.
Thanks,
Jos