You are not logged in.
I have just made available a new utility (shell + command-line) for locally managing a TeXLive installation under Arch.
You can get it from AUR: http://aur.archlinux.org/packages.php?ID=23776
See the documentation under http://wiki.archlinux.org/index.php/TeX … al_Manager
NB: I am also the maintainer of the TeXLive packages in [extra].
F
Offline
This looks great.
I'll have a closer look when I'm back from office.
Thanks in advance!
Offline
Nice work, Firmicus.
I'd like to request the following features (I haven't noticed them if they've already been included):
1) a command to generate just the PKGBUILD for a CTAN package
2) a command to build a pkg without installing it*
3) a command to get the latest version of a package
4) an option to set the package prefix (e.g. "texlive-" instead of "texlive-local-")
This is mostly so that I can add support for texlive-localmanager in makerepo, which can already handle CPAN through pacpan.
*actually, that would just be convenient but it's not necessary for makerepo support
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I am having problems with some packages. For example:
community/texlive-latexextra-doc 2008.10642-1 (texlive-most-doc)
TeX Live - Large collection of add-on packages for LaTeX
is installed but tllocalmgr says it does not find:
/usr/share/texmf-var/arch/installedpkgs/texlive-latexextra-doc_10642.pkgs
There is a texlive-latexextra-doc_11692.pkgs in the same directory though.
Any idea why this happens?
Thanks, David
Last edited by dcrabs (2009-02-09 17:27:25)
Offline
Nice work, Firmicus.
I'd like to request the following features (I haven't noticed them if they've already been included):
1) a command to generate just the PKGBUILD for a CTAN package
2) a command to build a pkg without installing it*
These features make some sense and are easy to implement, but I would not think of them as being particularly important. I am not familiar with repoman though...
3) a command to get the latest version of a package
With with tllocalmgr you automatically get the latest versions of CTAN pkgs.
4) an option to set the package prefix (e.g. "texlive-" instead of "texlive-local-")
This is IMO dangerous and confusing, but I guess what you are thinking of is a way to update whole texlive-* pkgs in extra, right? In this case no, this is not at all the aim of this tool! What it does is to allow users to install or update individual CTAN packages (as provided by TeXLive) instead of whole collections of packages as they are provided in extra. It is meant as a user-friendly alternative to installation by hand...
Offline
I am having problems with some packages. For example:
community/texlive-latexextra-doc 2008.10642-1 (texlive-most-doc) TeX Live - Large collection of add-on packages for LaTeX
is installed but tllocalmgr says it does not find:
/usr/share/texmf-var/arch/installedpkgs/texlive-latexextra-doc_10642.pkgs
There is a texlive-latexextra-doc_11692.pkgs in the same directory though.
Any idea why this happens?
Thanks, David
Stefan Husmann (who maintains the texlive-*-doc pkgs in community) sent me this file (texlive-latexextra-doc_11692.pkgs) along with the whole list of his latest doc packages, so I assumed this was the latest version in community. But it seems this is indeed a more recent list than the one in community. I'll ask him to fix this (either by updating the package, or by sending me the older listing).
Offline
@Firmicus
Sorry, I should have been clearer in my post. I've written a tool called makerepo (more info here) that is able to create and maintain a repo of pkgs built from PKGBUILDs, the AUR, and CPAN (via pacpan).
I would like to add CTAN support to makerepo by using texlive-localmanager. In order to do this, it would need to be able to generate the PKGBUILDS, preferably all at once using an output separator as pacpan does (see the pacpan info page).
What I meant by "3) a command to get the latest version of a package" (and I realize that it's unclear now) was a way to query what the latest version of the package is. Makerepo doesn't build all packages in the REPOBUILD every time it's run... it just checks what the latest version of each pkg is and compares it to the local version so that it only builds pkgs that are newer.
If "texlive-local-" is the preferred prefix for all non-official texlive packages, then I suppose there's no need for an option to change it. I simply wanted to provide anyone maintaining a texlive repo the option to produce uniform packages that follow the same naming convention as the official ones.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Ah, funny! I did not know about pacpan. You're probably aware that I once wrote a similar tool: cpan4pacman?
I would like to add CTAN support to makerepo by using texlive-localmanager. In order to do this, it would need to be able to generate the PKGBUILDS, preferably all at once using an output separator as pacpan does (see the pacpan info page).
OK, I see. This should be easy.
What I meant by "3) a command to get the latest version of a package" (and I realize that it's unclear now) was a way to query what the latest version of the package is. Makerepo doesn't build all packages in the REPOBUILD every time it's run... it just checks what the latest version of each pkg is and compares it to the local version so that it only builds pkgs that are newer.
Again, this is clearer. Perhaps you could parse the output of tllocalmgr --status. (Or I could eventually add an option to make this output easier to reprocess?)
If "texlive-local-" is the preferred prefix for all non-official texlive packages, then I suppose there's no need for an option to change it. I simply wanted to provide anyone maintaining a texlive repo the option to produce uniform packages that follow the same naming convention as the official ones.
Individual texlive-local-* packages go under $TEXMFLOCAL (i.e. /usr/local/share/texmf)
To manage and maintain the large texlive packages in extra, I have written my own tools Contact me privately if you are interested...
Offline
Ah, funny! I did not know about pacpan. You're probably aware that I once wrote a similar tool: cpan4pacman?
Ah! Yeah, Allan told me about cpan4pacman after I posted a thread for pacpan and suggested getting in touch with you, but I hadn't recognized your name. I've tried building a few pkgs with cpan4pacman but I've had problems doing so (some wouldn't, others caused cpan4pacman to take ages).
Again, this is clearer. Perhaps you could parse the output of tllocalmgr --status. (Or I could eventually add an option to make this output easier to reprocess?)
If the status output is unlikely to change, I could probably parse it.
Individual texlive-local-* packages go under $TEXMFLOCAL (i.e. /usr/local/share/texmf)
To manage and maintain the large texlive packages in extra, I have written my own tools Contact me privately if you are interested...
The ideal would be to have a universal system (as the official packages use) so that users could create separate yet interoperable repos, e.g. pkg x would always install to the same path. It's not critical, but it would facilitate dependency handling where applicable. Your own tools probably do that, but as they're not publicly available as texlive-localmanager is, they wouldn't be of much use to makerepo.
That written, as long as everyone leaves the default value for $TEXMFLOCAL, there shouldn't be any problem.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hi,
when I try to start tllocalmgr I receive to following message:
thomas: ~
$ tllocalmgr
Use of uninitialized value in subtraction (-) at /usr/bin/tllocalmgr line 86.
Retrieving new TeXLive database from CTAN...
print() on closed filehandle LOG at /usr/bin/tllocalmgr line 77.
print() on closed filehandle LOG at /usr/bin/tllocalmgr line 78.
print() on closed filehandle LOG at /usr/bin/tllocalmgr line 90.
mv: Aufruf von stat für „/home/thomas/.texlive/texmf-var/arch/tlpkg/texlive.tlpdb" nicht möglich: Datei oder Verzeichnis nicht gefunden
unlzma: /home/thomas/.texlive/texmf-var/arch/tlpkg/texlive.tlpdb.lzma: doesn't exist or is not a regular file
Initializing ...
/usr/bin/tllocalmgr: open(/home/thomas/.texlive/texmf-var/arch/tlpkg/texlive.tlpdb) failed: Datei oder Verzeichnis nicht gefunden at /usr/share/texmf-var/arch/tlpkg/TeXLive/TLPDB.pm line 266.
thomas: ~
A little off topic:
When I get the wiki correctly I have two options where I can place additional packages: /usr/local/share/texmf and ~/texmf (correct?) Since this folder is kind of a config folder I ask myself why it isn't ~/.texmf (like ~/.texlive/texmf-var)?
Thanks!
Offline
Same problem here as Barghest's.
Offline
I am having problems with some packages. For example:
community/texlive-latexextra-doc 2008.10642-1 (texlive-most-doc) TeX Live - Large collection of add-on packages for LaTeX
is installed but tllocalmgr says it does not find:
/usr/share/texmf-var/arch/installedpkgs/texlive-latexextra-doc_10642.pkgs
There is a texlive-latexextra-doc_11692.pkgs in the same directory though.
Any idea why this happens?
Thanks, David
texlive-latexextra-doc is on the way. The other packages will follow, but uploading takes very long, so please be patient.
Offline
@Barghest, bender02:
The errors come from the fact that the directory ~/.texlive/texmf-var/arch/tlpkg is missing. So
"mkdir -p ~/.texlive/texmf-var/arch/tlpkg" creates it, and then just run tllocalmgr a few times to update.
@Firmicus: could you fix this (ie check for the dir, and create it if necessary)? Thanks. By the way, nice tool!
Few minor comments:
- created packages have 755 permissions on the directories, and most of my directories have 775 permissions (so that members of the 'tex' group can write there). Not a serious problem, but pacman spits out lots of warnings about this (so the output is not so nice
- I also get "print() on closed filehandle LOG ... line 720, <FIN> line 2" sometimes after installing packages
- my command line has some troubles, like colors get screwed up from time to time (like after 'info doesntexist'), up/down arrows don't work, tab-completion doesn't work. I think it's some general perl thing that I'm missing - please help.
Last edited by bender02 (2009-02-12 09:37:38)
Offline
@Barghest, bender02:
The errors come from the fact that the directory ~/.texlive/texmf-var/arch/tlpkg is missing. So
"mkdir -p ~/.texlive/texmf-var/arch/tlpkg" creates it, and then just run tllocalmgr a few times to update.@Firmicus: could you fix this (ie check for the dir, and create it if necessary)? Thanks. By the way, nice tool!
OK, I'll fix this.
Few minor comments:
- created packages have 755 permissions on the directories, and most of my directories have 775 permissions (so that members of the 'tex' group can write there). Not a serious problem, but pacman spits out lots of warnings about this (so the output is not so nice
Hmm I thought I had fixed that already...
- I also get "print() on closed filehandle LOG ... line 720, <FIN> line 2" sometimes after installing packages
- my command line has some troubles, like colors get screwed up from time to time (like after 'info doesntexist'), up/down arrows don't work, tab-completion doesn't work. I think it's some general perl thing that I'm missing - please help.
Strange. I'll this about this later. Too tired now
Offline
I've got an issue too…
Use of uninitialized value in subtraction (-) at /usr/bin/tllocalmgr line 90.
Retrieving new TeXLive database from CTAN...
mv: ne peut évaluer `/home/judu/.texlive/texmf-var/arch/tlpkg/texlive.tlpdb': Aucun fichier ou dossier de ce type #cannot evaluate… no file or… this type
unlzma: /home/judu/.texlive/texmf-var/arch/tlpkg/texlive.tlpdb.lzma: Aucun fichier ou dossier de ce type
Initializing ...
/usr/bin/tllocalmgr: open(/home/judu/.texlive/texmf-var/arch/tlpkg/texlive.tlpdb) failed: Aucun fichier ou dossier de ce type at /usr/share/texmf-var/arch/tlpkg/TeXLive/TLPDB.pm line 266.
Offline
tllocalmgr does not work with the texlive packages in testing. I have prepared a brand new version which I will release once I have moved the new packages from testing to extra. It should be a matter of days, or hours...
Offline
any news on this? Im starting to miss it...
Offline
any news on this? Im starting to miss it...
The release of 0.3.3 has occurred long ago. And it works here...
Offline
The first time I run tllocalmgr it seg faults. Not sure what to do with this...
mariachi@koi ~ % tllocalmgr
Retrieving new TeXLive database from CTAN...
Initializing ...
[1] 13736 segmentation fault tllocalmgr
Offline
The first time I run tllocalmgr it seg faults. Not sure what to do with this...
mariachi@koi ~ % tllocalmgr Retrieving new TeXLive database from CTAN... Initializing ... [1] 13736 segmentation fault tllocalmgr
No idea. Perhaps it is wiser to wait for TL 2010. I am currently preparing the packages. Then try again when texlive-localmanager has been updated...
Offline
I'm not sure why, but tllocalmgr fails to build a lot of packages on my system, especially the doc ones. There seems to be something odd in the PKGBUILDs it creates: makepkg aborts without warning, although tllocalmgr reports a success; I think it's trying to find things that don't exist or something like that, but I don't know enough about the structure of the texmf hierarchy to be able to figure out what it's meant to be doing.
Offline
I'm not sure why, but tllocalmgr fails to build a lot of packages on my system, especially the doc ones. There seems to be something odd in the PKGBUILDs it creates: makepkg aborts without warning, although tllocalmgr reports a success; I think it's trying to find things that don't exist or something like that, but I don't know enough about the structure of the texmf hierarchy to be able to figure out what it's meant to be doing.
An updated version of tllocalmgr is not yet available for the TL 2010 packages. I will do so as soon as the packages are finalized and moved to [extra].
However you are welcome to test the development version on http://projects.archlinux.org/users/fra … anager.git and report any problem you might encounter.
F
Offline
Hi,
Is there a way to install packages from TLContrib? I'm looking for the microtype bete as i'm using lualatex for most of my documents. I tried it with the --mirror option but nothing i tried worked.
Offline