You are not logged in.

#1 2010-12-17 09:33:47

csocratess
Member
Registered: 2010-12-17
Posts: 12

Install texlive from DVD and make pacman recognize it

Dear All,

I want to install texlive using a standard texlive DVD. Also, I use auctex to write my tex files. Hence, I want to install auctex. But pacman flags texlive-core a  a dependency. How do I exclude pacman from installing or upgrading tex-related packages.

I have tried adding texlive-core to the list of Ignorepckgs in pacman. But that is not helping.

Thanks,

Offline

#2 2010-12-17 09:53:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Install texlive from DVD and make pacman recognize it

csocratess wrote:

I have tried adding texlive-core to the list of Ignorepckgs in pacman. But that is not helping.

You can ignore only pacman packages and texlive installed from the DVD isn't one, is it?
You can try to install auctex w/o caring for the dependencies but it may not work.

sudo pacman -Sd <packagename>
[karol@black ~]$ sudo pacman -S auctex
resolving dependencies...
looking for inter-conflicts...

Targets (12): emacs-23.2-1 [31,37 MB]  glproto-1.4.12-1 [0,01 MB]  mesa-7.9.0.git20101207-2 [0,60 MB]
              freeglut-2.6.0-1 [0,19 MB]  jasper-1.900.1-6 [0,18 MB]  ghostscript-9.00-1 [10,87 MB]
              t1lib-5.1.2-2 [0,82 MB]  libgraphite-2.3.1-1 [0,24 MB]  libsigsegv-2.6-1 [0,01 MB]
              texlive-bin-2010.1-5 [13,56 MB]  texlive-core-2010.20288-1 [103,20 MB]  auctex-11.86-2 [0,75 MB]

Total Download Size:    160,82 MB
Total Installed Size:   463,66 MB

Proceed with installation? [Y/n] n
[karol@black ~]$ sudo pacman -Sd auctex
looking for inter-conflicts...

Targets (1): auctex-11.86-2 [0,75 MB]

Total Download Size:    0,75 MB
Total Installed Size:   3,79 MB

Proceed with installation? [Y/n] n

Last edited by karol (2010-12-17 09:56:44)

Offline

#3 2010-12-17 10:31:12

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Install texlive from DVD and make pacman recognize it

You can create a dummy package that provide texlive-core, like this PKGBUILD

pkgname=texlive-dummy
pkgver=2010
pkgrel=1
pkgdesc="TeX Live dummy distribution"
license=('GPL')
arch=(any)
provides=('tetex' 'texlive-latex3' 'texlive-core')
conflicts=('texlive-core')
url='http://tug.org/texlive/'
build() {
    return 0
}
package() {
    return 0
}

EDIT: ...and build and install it tongue

Last edited by kazuo (2010-12-17 10:34:15)

Offline

#4 2010-12-17 11:17:02

csocratess
Member
Registered: 2010-12-17
Posts: 12

Re: Install texlive from DVD and make pacman recognize it

Thanks, I will try the dummy texlive option.

Offline

#5 2010-12-17 11:17:14

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Install texlive from DVD and make pacman recognize it

csocratess wrote:

Dear All,

I want to install texlive using a standard texlive DVD. Also, I use auctex to write my tex files. Hence, I want to install auctex. But pacman flags texlive-core a  a dependency. How do I exclude pacman from installing or upgrading tex-related packages.

I have tried adding texlive-core to the list of Ignorepckgs in pacman. But that is not helping.

Thanks,

This is a really bad idea. Why not just use texlive from the repo?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2010-12-17 11:41:56

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Install texlive from DVD and make pacman recognize it

Mr.Elendig wrote:

This is a really bad idea. Why not just use texlive from the repo?

I agree, but disagree too. I use texlive from repo for better management, but the upstream texlive distro support incremental updates from ctan IIRC, and you can use third-party repos e.g tlcontrib with updated luatex (from svn), as luatex is changing a lot.

Offline

#7 2010-12-17 14:49:31

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: Install texlive from DVD and make pacman recognize it

I definitely prefer to install TeXlive from TUG/CTAN so I can have a fresh install which I can control myself. I use the net installer rather than the DVD.

Since I do a full install, and everything is included, I use a dummy PKGBUILD for satisfying the Arch dependencies like kazuo. Since I do a full install, my list of provides is longer, however:

provides=('texlive-core' 'texlive-bin' 'texlive-bibtexextra' 'texlive-games' 'texlive-genericextra' 'texlive-htmlxml' 'texlive-humanities' 'texlive-latex3' 'texlive-latexextra' 'texlive-music' 'texlive-pictures' 'texlive-plainextra' 'texlive-pstricks' 'texlive-publishers' 'texlive-science' 'texlive-lang' 'texlive-langcyrillic' 'texlive-langextra')

Good luck!

Offline

#8 2010-12-17 19:35:58

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: Install texlive from DVD and make pacman recognize it

I also use the up-stream texlive distribution. I use the dummypkg script found somewhere on this board.


Arch x64 on Thinkpad X200s/W530

Offline

Board footer

Powered by FluxBB