You are not logged in.
Yea, but you have two options to install texlive, full install or partial install and run it off a cd.
I have installed the full version, one language, and documentation from the cd and the final install is 700MB! Considerably bigger than tetex.
if you wanna install it, mount the iso image as a loopback device, change to your mounted directory, and follow the install script instructions.
The documentation is really impressive, there are several full books, and tons of tricks included. For this alone i would suggest installing it. But be warned, the package is huge!
Offline
vEX: TeXlive is not supposed to boot from that cd/dvd, "live" just means that you should be able to run tex from it, without having to install it to a harddrive. I apologize if I'm saying something obvious to you, but I got the impression from your post that you're trying to boot from it.
I see, I only saw it said "live" and figured it was a live CD, guess I should have read more. No need to apologize. Guess I will install Arch in QEMU first then. :-)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
OK, so I downloaded the install CD for texlive. The things I tried run fine; their installed is actually quite good as well - it lets you choose what you need (since the whole thing has like a 1G or so, most of it crap almost nobody ever uses). The only problem for actually packaging it is that there are no partial sources on the web - one needs to get the whole iso (700MB) and then extract some parts of it - so it seems that AUR PKGBUILDs are quite impossible to make. I guess some dev might need to do this, so that new packages will be put into community.
Offline
From the TexLive web site :
"At present, the original TeX Live regrettably does not support incremental updates. (This is an area of ongoing development.) However, TeX Live has also been repackaged for many GNU/Linux distributions; see the TeX Live and Debian web pages, for one."
So I assume we will have to rely on the same source than Debian for our package.
Debian developpers page are here :
http://packages.qa.debian.org/t/texlive-base.html
and the source tarball is here (~70 Mb)
http://ftp.debian.org/debian/pool/main/ … rig.tar.gz
I am downloading it to figure out how I can create a PKGBUILD file from this.
Offline
Nice! I would also take a look at it, but I'm too busy with uni atm.
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Yea, but you have two options to install texlive, full install or partial install and run it off a cd.
I have installed the full version, one language, and documentation from the cd and the final install is 700MB! Considerably bigger than tetex.
How have you achieved it? I remember that I hit "C" for custom and deselected all the languages except my language, but the installer installed stuff for other languages as well. I just have experience installing it in ubuntu, did you keep the suggested paths for installing or did you choose another one for arch? Thanks
Offline
How have you achieved it? I remember that I hit "C" for custom and deselected all the languages except my language, but the installer installed stuff for other languages as well. I just have experience installing it in ubuntu, did you keep the suggested paths for installing or did you choose another one for arch? Thanks
There are options for language as well as documentation language, you need to de-select both. You should be able to delete the other language files under ~/$TEXDIR/texmf-doc/ manually to free up some space.
I installed the packages to /usr/texlive/2007/, the default i believe is /usr/local/texlive/2007. Make sure you add the suggested texlive shell varibles into your shell configuration file after installation.
Good Luck!
Offline
Any news on this one?
Offline
Nothing yet ... I tried to figure out how debian builded their texlive package, but their script made an intensive use of the debhelper stuff ... I am not vert familiar with this stuff.
Offline
I think for now if you are desperate for texlive, you're better off installing texlive manually (but you need to be careful and make sure you know what's going on, since you'll have files on your system that do not belong to any package - but with the default texlive install you should be fine - it installs into /usr/local, and no official/AUR package should install anything in there), and then you can use the following dummy PKGBUILD (thanks to Snowman) (dummy = no files installed, just a pacman entry) to make sure that the stuff that depends on tetex gets installed without actually pulling in tetex:
pkgname=texlive
pkgver=1.0
pkgrel=1
pkgdesc="TeX typesetting program - dummy package - know what you're doing!"
arch=(i686 x86_64)
license=
provides=('tetex')
conflicts=('tetex')
build() {
/bin/true
}
(Don't worry when makepkg/tar complains, the package is created anyway.)
Offline
I am pretty sure the source is this one:
http://www.ctan.org/tex-archive/systems/texlive/Source/
but I can't compile it... the made does not find libfreetype.a, but it actually compiles.
Offline
Hello all!
Sorry to have noticed this thread that late after it started. I have already packaged the whole of TeX Live 2007 for Arch!!! I have submitted my PKGBUILDs and install scripts to the tetex maintainer two months ago, but he does not seem to have had enough time to look at them closely until now I hope this will happen soon.
With my texlive-core package (83MB), one has a pretty complete and decent system (all binaries are included). No need to download a 700MB iso image! Note that with my packaging, everything goes under /opt/texlive.
These are the packages I have on my machine
1.2M texlive-bibtexextra-2007-1-i686.pkg.tar.gz
2.1M texlive-bibtexextra-doc-2007-1-i686.pkg.tar.gz
83M texlive-core-2007-1-i686.pkg.tar.gz
115M texlive-core-doc-2007-1-i686.pkg.tar.gz
39M texlive-doc-i18n-2007-1-i686.pkg.tar.gz
90M texlive-fontsextra-2007-1-i686.pkg.tar.gz
12M texlive-fontsextra-doc-2007-1-i686.pkg.tar.gz
327K texlive-formatsextra-2007-1-i686.pkg.tar.gz
919K texlive-formatsextra-doc-2007-1-i686.pkg.tar.gz
370K texlive-games-2007-1-i686.pkg.tar.gz
1.3M texlive-games-doc-2007-1-i686.pkg.tar.gz
265K texlive-genericextra-2007-1-i686.pkg.tar.gz
1.5M texlive-genericextra-doc-2007-1-i686.pkg.tar.gz
1.4M texlive-htmlxml-2007-1-i686.pkg.tar.gz
274K texlive-htmlxml-doc-2007-1-i686.pkg.tar.gz
281K texlive-humanities-2007-1-i686.pkg.tar.gz
8.1M texlive-humanities-doc-2007-1-i686.pkg.tar.gz
5.4M texlive-langafrican-2007-1-i686.pkg.tar.gz
474K texlive-langafrican-doc-2007-1-i686.pkg.tar.gz
2.9M texlive-langarab-2007-1-i686.pkg.tar.gz
3.4M texlive-langarab-doc-2007-1-i686.pkg.tar.gz
347K texlive-langarmenian-2007-1-i686.pkg.tar.gz
168K texlive-langarmenian-doc-2007-1-i686.pkg.tar.gz
5.4M texlive-langcjk-2007-1-i686.pkg.tar.gz
36K texlive-langcjk-doc-2007-1-i686.pkg.tar.gz
48K texlive-langcroatian-2007-1-i686.pkg.tar.gz
89K texlive-langcroatian-doc-2007-1-i686.pkg.tar.gz
2.2M texlive-langcyrillic-2007-1-i686.pkg.tar.gz
1.4M texlive-langcyrillic-doc-2007-1-i686.pkg.tar.gz
7.2M texlive-langgreek-2007-1-i686.pkg.tar.gz
1.1M texlive-langgreek-doc-2007-1-i686.pkg.tar.gz
43K texlive-langhebrew-2007-1-i686.pkg.tar.gz
96K texlive-langhebrew-doc-2007-1-i686.pkg.tar.gz
5.4M texlive-langindic-2007-1-i686.pkg.tar.gz
1.7M texlive-langindic-doc-2007-1-i686.pkg.tar.gz
2.7K texlive-langmanju-2007-1-i686.pkg.tar.gz
15K texlive-langmanju-doc-2007-1-i686.pkg.tar.gz
1.7M texlive-langmongolian-2007-1-i686.pkg.tar.gz
1.1M texlive-langmongolian-doc-2007-1-i686.pkg.tar.gz
345K texlive-langtibetan-2007-1-i686.pkg.tar.gz
261K texlive-langtibetan-doc-2007-1-i686.pkg.tar.gz
6.0M texlive-langvietnamese-2007-1-i686.pkg.tar.gz
960K texlive-langvietnamese-doc-2007-1-i686.pkg.tar.gz
48K texlive-latex3-2007-1-i686.pkg.tar.gz
379K texlive-latex3-doc-2007-1-i686.pkg.tar.gz
3.8M texlive-latexextra-2007-1-i686.pkg.tar.gz
71M texlive-latexextra-doc-2007-1-i686.pkg.tar.gz
4.7M texlive-music-2007-1-i686.pkg.tar.gz
2.1M texlive-music-doc-2007-1-i686.pkg.tar.gz
1.5M texlive-omega-2007-1-i686.pkg.tar.gz
605K texlive-omega-doc-2007-1-i686.pkg.tar.gz
654K texlive-pictures-2007-1-i686.pkg.tar.gz
3.4M texlive-pictures-doc-2007-1-i686.pkg.tar.gz
130K texlive-plainextra-2007-1-i686.pkg.tar.gz
894K texlive-plainextra-doc-2007-1-i686.pkg.tar.gz
268K texlive-pstricks-2007-1-i686.pkg.tar.gz
23M texlive-pstricks-doc-2007-1-i686.pkg.tar.gz
846K texlive-publishers-2007-1-i686.pkg.tar.gz
11M texlive-publishers-doc-2007-1-i686.pkg.tar.gz
301K texlive-science-2007-1-i686.pkg.tar.gz
6.6M texlive-science-doc-2007-1-i686.pkg.tar.gz
If you are interested, contact me privately. The packages are too big to put on my website. If someone has an idea, I am all ears.
PS: In case a TU reads this: perhaps the above could be put in community in the meanwhile? It makes no sense to have them in AUR/unsupported, because the compilation process is VERY LONG. Also since the build process uses rsync to retrieve the required files from the texlive server, a substantial bandwidth increase for tug.org would occur if many Arch users decide to build the above
Offline
That's great news!
Thanks! Are you sure that your PKGBUILDs conform to the standard? That could be one reason for the hold-up. Otherwise, I think a lot of people are waiting for this!
Cheers,
Blind
Offline
@Firmicus:
That's good news! Maybe you could post the PKGBUILD so we could take a look at? I think there is some mirrors for CTAN, so maybe you could redirect the download to them?
EDIT: Gentoo dev's are working on this too. You can follow their work @ http://bugs.gentoo.org/show_bug.cgi?id=168177
There is an ebuild there for 2007.
Last edited by big_gie (2007-05-11 13:18:20)
Offline
That's a great news, Firmicus! I hope some of the devs/TUs will look into this soon, so that it gets at least into community.
Last edited by bender02 (2007-05-11 17:12:05)
Offline
I might as well post my WIP stuff, it builds and installs fine, however all format-files are missing and I'm not sure how to take care of that since I'm not sure where TeX Live gets them from.
PKGBUILD:
pkgname=texlive
pkgver=2007
pkgrel=1
pkgdesc="TeX typesetting program"
arch=(i686 x86_64)
depends=('libxaw' 'fontconfig' 'ncurses' 'gcc')
conflicts=(tetex-texmf tetex texinfo)
url='http://tug.org/texlive/'
source=(ftp://tug.ctan.org/pub/tex-archive/systems/texlive/Source/source.tar.bz2 \
texmf.sh)
md5sums=('d539b5a6b9f96cc2616f09f4543394c8' 'a1f338c3631a83d47b41cae21d6666ef')
install=texlive.install
build() {
[ "$CARCH" = "x86_64" ] && CFLAGS="$CFLAGS -fPIC -DPIC"
cd $startdir/src/
mkdir -p $startdir/pkg/usr/share/texmf
# Use the provided build script, with some small changes
## 1) the datadir is not the same as prefix
## 2) if make fails, return 1 to prevent broken package from being built
sed -e "s/--datadir=\$TL_INSTALL_DEST/--datadir=\$TL_DATADIR_DEST/g" \
-e "s/\$TL_MAKE \$TL_TARGET/\$TL_MAKE \$TL_MAKE_ARGS \$TL_TARGET || return 1/g" \
-i Build
# ./configure arguments
## --prefix=
export TL_INSTALL_DEST=/usr
## --datadir=
export TL_DATADIR_DEST=$startdir/pkg/usr/share
## rest of the arguments
export TL_CONFIGURE_ARGS=--disable-multiplatform --without-texinfo --without-dialog --with-system-zlib --with-system-pnglib --with-system-ncurses
# make arguments
export TL_MAKE_ARGS="prefix=$startdir/pkg/usr texmf=$startdir/pkg/usr/share/texmf"
# Build it
./Build
# Strip the docs
rm -rf $startdir/pkg/usr/share/texmf-dist/doc
#libtoolslay
find $startdir/pkg -name '*.la' -exec rm {} \;
# install profile.d script (reused from teTeX package)
mkdir -p $startdir/pkg/etc/profile.d
install -m 755 $startdir/src/texmf.sh $startdir/pkg/etc/profile.d
}
texlive.install:
# arg 1: the new package version
post_install() {
echo ">> TeXLive needs ghostscript to display .dvi files with eps images."
echo ">> Some of it's scripts also need perl."
echo ">> If you want to use texdoctk, you'll need perl-tk."
/usr/bin/mktexlsr
/bin/true
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
/bin/true
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
op=$1
shift
$op $*
texmf.sh is reused from teTeX and can be found here.
If you install and and try to use it you'll get the following message (the filename depends on what binary you run):
I can't find the format file `latex.fmt'!
mktexfmt --all doesn't do anything so I guess there's something else I need to get.
Last edited by [vEX] (2007-05-11 16:20:45)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
@vEX: texlive comes with a utility texconfig, where you can adjust various stuff, and also formats... so check that.
Offline
Are you sure that your PKGBUILDs conform to the standard? That could be one reason for the hold-up.
I really put a lot of efforts into that. And I am no beginner But since the whole thing is quite complex, it obviously requires careful checking.
Maybe you could post the PKGBUILD so we could take a look at? I think there is some mirrors for CTAN, so maybe you could redirect the download to them?
Good idea: You can fetch the content of my texlive build tree from here: http://ankabut.net/archlinux/texlive.zip
With your feedback we shall be able to reach our goal sooner!
@big_gie: With my approach, the sources are not fetched from CTAN at all. They are retrieved by means of rsync directly from the texlive svn repo on the tug.org server. And they told me they would not be amused if too many people would start rsyncing from that server.
@veX: compare your PKGBUILD with mine ... I did not have problems with format files: they were automatically generated during the build process. But for that I think one needs more than just "source.tar.bz2". As you will see, I have also fetched the whole texmf/ tree from the texlive server.
Offline
I think there is something wrong in the PKGBUILD of texlive-core-doc,
texlive-coredoc.paths should be renamed in texlive-core-doc.paths and here my diff -c -n with your PKGBUILD:
*** PKGBUILD 2007-05-12 18:13:40.000000000 +0000
--- PKGBUILD.bak 2007-05-12 17:57:14.000000000 +0000
***************
*** 4,22 ****
pkgdesc="TeX Live core documentation"
depends=('texlive-core')
makedepends=('rsync')
- arch=('i686')
url='http://tug.org/texlive/'
! source=(texlive-core-doc.paths)
install=texlive.install
md5sums=('d4d5f5cf28a45cde568163d2145f911f')
build() {
cd $startdir
echo "--> rsyncing the required paths from tug.org server"
- mkdir -p texmf/doc/
rsync -a --progress --exclude=.svn tug.org::tldevsrc/Master/texmf/doc/ texmf/doc/
! rsync -a --progress --exclude=.svn --files-from $pkgname.paths \
! tug.org::tldevsrc/Master/ .
echo "--> Copying rsync'ed trees to pkg dir..."
mkdir -p pkg/opt/texlive/texmf-dist
mkdir -p pkg/opt/texlive/texmf-doc
--- 4,19 ----
pkgdesc="TeX Live core documentation"
depends=('texlive-core')
makedepends=('rsync')
url='http://tug.org/texlive/'
! source=(texlive-coredoc.paths)
install=texlive.install
md5sums=('d4d5f5cf28a45cde568163d2145f911f')
build() {
cd $startdir
echo "--> rsyncing the required paths from tug.org server"
rsync -a --progress --exclude=.svn tug.org::tldevsrc/Master/texmf/doc/ texmf/doc/
! rsync -a --progress --exclude=.svn --files-from $pkgname.paths tug.org::tldevsrc/Master/ .
echo "--> Copying rsync'ed trees to pkg dir..."
mkdir -p pkg/opt/texlive/texmf-dist
mkdir -p pkg/opt/texlive/texmf-doc
***************
*** 27,32 ****
rm -rf $startdir/pkg/opt/texlive/texmf/doc/{man,info,tetex,gzip,bzip2}
rm -rf $startdir/pkg/opt/texlive/texmf/doc/*/man
rm -rf $startdir/pkg/opt/texlive/texmf-doc/source
! chown -R root:root $startdir/pkg/opt/texlive || exit 1
}
--- 24,29 ----
rm -rf $startdir/pkg/opt/texlive/texmf/doc/{man,info,tetex,gzip,bzip2}
rm -rf $startdir/pkg/opt/texlive/texmf/doc/*/man
rm -rf $startdir/pkg/opt/texlive/texmf-doc/source
! chown -R root:root $startdir/pkg/opt/texlive
}
that *seems* working.
Edit:
Nevermind, I installed tex-code and tex-code-doc and started tex, writing \relax as input file crashes TeX...
It seems it misses styles.
I noticed that if I add `|| exit 1' to the rsync commands the package building fails. Does it mean something?
Last edited by ezzetabi (2007-05-12 16:30:29)
Offline
I think there is something wrong in the PKGBUILD of texlive-core-doc,
texlive-coredoc.paths should be renamed in texlive-core-doc.paths and here my diff -c -n with your PKGBUILD:
You're right. I changed the package name long after I had initially built it, and omitted to make relevant changes in the PKGBUILD. Note: when you give a diff file, do not use the -n option, as one cannot see what your changes are.
Nevermind, I installed tex-code and tex-code-doc and started tex, writing \relax as input file crashes TeX...
It seems it misses styles.
Strange. This did not and does not happen on my machine ... (NB: "tex-code" => "texlive-core").
Can you send me the output of "pacman -Ql texlive-core" ?
I noticed that if I add `|| exit 1' to the rsync commands the package building fails. Does it mean something?
Well, the texlive svn repo has of course changed since I originally made those packages around the day TeX Live 2007 was released. So it is not really surprising if a few things no longer work smoothly, as some paths may have changed.
Perhaps it would be easier if I could upload my packages somewhere (or at least the core one) so that you can test it directly?
Offline
pacman -Ql texlive-code list is too long for this forum... :S
but I enclose a copy of my tex session, hope it helps:
ezzetabi@pendulum ~ tex
This is TeX, Version 3.141592 (Web2C 7.5.6)
**\relax
kpathsea: Running mktexfmt tex.fmt
fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ...
This is TeX, Version 3.141592 (Web2C 7.5.6) (INITEX)
(/opt/texlive/texmf-dist/tex/plain/config/tex.ini
(/opt/texlive/texmf-dist/tex/plain/base/plain.tex
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
! I can't find file `hyphen'.
l.1222 \input hyphen
Please type another input file name:
! Emergency stop.
l.1222 \input hyphen
No pages of output.
Transcript written on tex.log.
Error: `tex -ini -jobname=tex -progname=tex tex.ini' failed
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
/home/ezzetabi/.texmf-var/web2c
for details.
###############################################################################
This is a summary of all `failed' messages and warnings:
`tex -ini -jobname=tex -progname=tex tex.ini' failed
warning: kpathsea: mktexfmt output `This is TeX, Version 3.141592 (Web2C 7.5.6) (INITEX)
(/opt/texlive/texmf-dist/tex/plain/config/tex.ini
(/opt/texlive/texmf-dist/tex/plain/base/plain.tex
Preloading the plain format: codes, registers, parameters, fonts, more fonts,
macros, math definitions, output routines, hyphenation
! I can't find file `hyphen'.
l.1222 \input hyphen
Please type another input file name:
! Emergency stop.
l.1222 \input hyphen
No pages of output.
Transcript written on tex.log.' instead of a filename.
I can't find the format file `tex.fmt'!
Offline
Okay, so I managed to break the teTeX build by taking a chance at with files actually need to be copied, obviously it's more advanced than that. Just building the latest pdfTeX is plain easy though, not sure what will happen if you overwrite the files used by (and "owned") teTeX.
Well, I actually gave it a try and after some initial trouble I managed to get it working!
After building using the default 'build.sh' I copied the created executables to /usr/bin, thereby overwriting the original ones provided by teTeX. I then overwrote pdftex.pool in /usr/share/texmf/web2c.
With an 'fmtutil --refresh --fmtdir /usr/share/texmf-var/web2c' I recreated new format files and after doing a 'texhash' (just to be sure, forgetting that one time gave me much troubles) I can use pdfTeX 1.40.3.
EDIT: I will try to do the same with Ghostscript, as removing the Ghostscript-package would break dependencies. Any experiences with that?
Last edited by Marcel- (2007-05-23 17:05:15)
Offline
Sorry to ask, but: any progress regarding the possibility to put texlive at least in the AUR?
Offline
texlive replaced tex in distrowatch too.
Offline
Sorry to ask, but: any progress regarding the possibility to put texlive at least in the AUR?
Because i'm too too silly for understanding how to make packages from the texlive cd i update my tetex with the "good old hard way" and overwrite the files as described in http://wiki.contextgarden.net/TeTeX_3.0_installation
Not so nice as using pacman but better than installing the texlive cd.-)
Offline