TeX Live and MacTeXTL 2012 | Flawed Installation on Linux (CentOS 5.8)

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

TL 2012 | Flawed Installation on Linux (CentOS 5.8)

Post by M.A »

Hi everybody,

I have installed TeX Live 2012 on a Linux CentOS 5.8 via the user "root". The installation has been placed at "/usr/local/texlive/2012".
but for some reason, some pk font files were placed at "/root/.texlive2012/texmf-var/fonts/pk".

Now, when I run

Code: Select all

dvips -Ppk input.tex
via the user "root", everything is fine. However, when I run the same command from other user accounts (e.g user1) it issues missing fonts error since dvips is not able to find fonts in the directory "/root/.texlive2012/texmf-var/fonts/pk".


I tried copying the contents of "/root/.texlive2012/texmf-var/fonts/pk" to various places like

Code: Select all

/home/user1/.texlive2012/texmf-var/fonts/pk
/usr/local/texlive/2012/texmf-dist/fonts/pk
/usr/local/texlive/2012/texmf-var/fonts/pk
and the I ran updmap, texhash to update the file name database, but it didn't work.
I tried also to add user1 to the group in the permissions of "/root/.texlive2012/texmf-var/fonts/pk" and its sub-folders, but also it didn't work.

Do you have any hint how to resolve this?

Note: I am a beginner on Linux, so I am sorry if the question was simple.


Regards,
Last edited by M.A on Sat Jul 21, 2012 10:54 am, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: TL 2012 | Flawed Installation on Linux (CentOS 5.8)

Post by M.A »

The problem has been resolved.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

TL 2012 | Flawed Installation on Linux (CentOS 5.8)

Post by localghost »

And I'm sure others with the same problem who come here by search engine are very interested in this solution. So, please kindly post it here in order not to make this thread useless.

And by the way, it's quite sufficient to mark the topic as solved by accepting the answer that led to the solution. Editing of the actual question is not necessary any more.


Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: TL 2012 | Flawed Installation on Linux (CentOS 5.8)

Post by M.A »

thanks for your reply. Actually, the problem has been resolved when I tried it yesterday, so I don't know exactly what is the solution if it happens again!
Post Reply