As someone who had used Miktex on Windows for years, I also wanted to install tlmgr on my ubuntu machines, in order to manage texlive packages. But I wonder-- wouldn't ubuntu upgrade texlive packages as they get updated? I like the philosophy of installing everything through one package manager.

EK

On 09/06/2012 09:34 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/09/12 15:21, John Kane wrote:
Hello to Rainer and David Continuing saga

@ David-- yes, of course.  Latex is in /usr/bin not /bin.  Just stupidity on my 
part.

@ Rainer -- looking at my notes I does not look like I ran:  sudo tlmgr path 
remove

Just give it a try this morning and results are john@john-K53U:~$ sudo tlmgr 
path remove [sudo]
password for john: sudo: tlmgr: command not found

which I suppose is not surprising.
Exacly.

john@john-K53U:~$ latex --version pdfTeX 3.1415926-2.4-1.40.13 (TeX Live 
2012/Debian) kpathsea
version 6.1.0

Which looks good.

Now,  any idea if I can install or find tlmgr?  Otherwise how do I install or 
update packages?

If you have installed via synaptic / apt-get / software-centre, then you won't 
have tlmgr
installed (based on debian / ubuntu policies - package management only via 
package manager.)

I guess the problem possibly came because you installed tlmgr and used it on 
your installation via
apt. This might have led to inconsistencies.

Either don't use tlmgr, or install texlive from their website and not via the 
package manager
(apt-get, synaptic, software-centre, ...)

Cheers,

Rainer


Thanks for all the help and handholding.


----------------------------------------------------------------------------------------------------


*From:* Rainer M Krug <r.m.k...@gmail.com>
*To:* lyx-users@lists.lyx.org *Cc:* David L. Johnson 
<david.john...@lehigh.edu>; Lyx List
<lyx-users@lists.lyx.org> *Sent:* Wednesday, September 5, 2012 11:32:28 AM 
*Subject:* Re: LyX
andTeX Live: How to find and link a new latex version?

On 05/09/12 16:40, John Kane wrote:
To David and Rainer,
To continue the saga I renamed my texlive folder in /usr/local to oldtexlive 
and now get :
I assume, you also followed step 1 and 2 and did sudo tlmgr path remove ?


john@john-K53U:~$ texlive --version texlive: command not found
I am not aware of a command named "texlive"

john@john-K53U:~$  tlmgr --version No command 'tlmgr' found, did you mean: 
Command 'vlmgr'
from package 'qdbm-util' (universe) Command 'rlmgr' from package 'qdbm-util' 
(universe)
tlmgr: command not found
Makes sense - as you removed the links o the commands from the path.


john@john-K53U:~$ which latex /usr/bin/latex
This is strange - what gives you

latex --version



Interestingly enough when  I do a ls in /bin I no longer seem to see anything 
called latex
However much to my surprise LyX is still running happily and  the tex 
information shows
/usr/share/texlive/texmf-dist/tex/latex/akletter/akletter.cls so it looks like 
LyX has found
something, presumabley ver.2012 since the old path was usr/local/texlive2011.
Now, presumably I can reinstall a version of tlmgr and have another go at 
installing
leadpar. Or should I expect it to have installed automatically with ver. 2012?
The worst of all this is that I really don't need leadpar, I just was trying to 
do a LyX
sales job on a history graduate student and wanted him to see what some of the 
more
specialized packages could do.  Even he does not really need it but now it's 
got me annoyed
that I cannot do it.
Also I am likely to need to update some of my packages so I do need to get 
tlmgr working but
it's not that urgent.
Anywhat thanks for all the help so far.
----------------------------------------------------------------------------------------------------
*From:* Rainer M Krug <r.m.k...@gmail.com <mailto:r.m.k...@gmail.com>>
*To:* John Kane <jrkrid...@yahoo.ca <mailto:jrkrid...@yahoo.ca>> *Cc:* David L. 
Johnson
<david.john...@lehigh.edu <mailto:david.john...@lehigh.edu>>; Lyx
List <lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>> *Sent:* 
Tuesday, September 4,
2012
3:46:03 AM *Subject:* Re: LyX
andTeX Live: How to find and link a new latex version?
On 02/09/12 01:26, John Kane wrote:

----------------------------------------------------------------------------------------------------


*From:* David L. Johnson <david.john...@lehigh.edu 
<mailto:david.john...@lehigh.edu>
<mailto:david.john...@lehigh.edu <mailto:david.john...@lehigh.edu>>>
*To:* John Kane <jrkrid...@yahoo.ca <mailto:jrkrid...@yahoo.ca> 
<mailto:jrkrid...@yahoo.ca
<mailto:jrkrid...@yahoo.ca>>> *Sent:* Saturday, September
1,
2012 1:51:43 PM *Subject:*
Re: LyX andTeX Live: How to find and link a new latex version?
On 09/01/2012 01:33 PM, John Kane wrote:
Please but in.  I am a newbie with Ubuntu and tend to blunder around.  
Basically I have
a dual boot Ubutu /Window 7. Some time ago I upgraded from 11.? to 12.04 with 
apparently
no problem.
But the system works fine for other programs, is that right?  There must be 
something else
amiss.
No problem what-so-ever as far as I can see. I have a few programs I use 
regularly -
LibreOffice, gedit, R, Firefox,  plus a couple play around with - EMACS, 
gnumeric-- and
they all install and operate with no problem. Installed mainly with the 
software centre or
synaptics although I think I updated R manually from a PPA as the Ubuntu 
version was
outdated. I did install tlmgr for 2011 manually following some instructions 
that Stefano
Franco supplied on the list.
I have no real idea of what is correct or not-- I lack the partly intuitive 
feel that I
had for Windws after years of battling
OTOH, I have no idea about Windows.  My last Windows machine was version 3.1.
You really have not missed much. My employers supplied Windows and, perforce, I 
used it.
:( Still, it beat punch cards but not by much.

Now my students laugh at me when I try to use one in class for presentations, 
so I bring
my laptop.
Can you re-describe your basic issue for me?  I did jump in the middle of this. 
 That
other guy's suggestion to use "tlmgr" may not apply.  I don't have it, either, 
and I do
have Texlive 2012 and a newish lyx (2.0.3).
Simple summary: Wanted to install leadpar; got error message imply that 2011 
was out of
date. Discovered that version  2012 was available through the software centre. 
Installed
from there No idea where it is and I get results like this: ohn@john-K53U:~$ 
which latex
/usr/local/texlive/2011/bin/i386-linux/latex
Both synaptics and the software centre report that TeX Live 2012 is installed.  
Synaptics
fails to find 2011 which is in /usr/local/texlive/2011/bin/i386-linux/latex and 
working
fine with LyX 2.0.2
OK - just one idea - if you look at http://www.tug.org/texlive/upgrade.html it 
shows you the
procedure to install 2012 by hand - BUT DON"T DO IT YET!. Point 12 mentions
tlmgr path add
I would suggest to try:
1) run tlmgr --version
to see which tlmgr is managing.
2) Then you could try to run
sudo tlmgr path remove
to remove the symlinks - this might remove all symlinks created by the package 
manager as
well, but don't worry about that.
3) go into synaptic and re-ilnstall texlive, which should re-create the links 
by the
package.
4) if you want / need texlive 2012, you could add the ppa
https://launchpad.net/~texlive-backports/+archive/ppa/ to your system by using
sudo apt-add-repository ppa:texlive-backports/ppa
and do
sudo apt-get update sudo apt-get upgrade
to update the ubuntu texlive version to 2012.
Finally, if you have in /usr/local/texlive2012 directory, you SHOULD be save to 
delete it -
I would rename it and, if everything stil works, you can then (after a few 
weeks) delete it.
Hope this helps,
Rainer




Thanks
--
David L. Johnson
If all economists were laid end to end, they would not reach a conclusion. -- 
George
Bernard Shaw









- -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      rai...@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBIplwACgkQoYgNqgF2egqRJACfUw/r3NDaQ6W0Z9oSb1JOWbDh
WDsAn3OneCpZvUa/6Xa1gxgppsN29wwr
=ukzM
-----END PGP SIGNATURE-----

--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029

Reply via email to