LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-23-2009, 05:30 PM   #1
gnurza
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
Lenny and TeXLive 2008


I've installed TeXLive 2008 using the install-tl script to take advantage of the package manager tlmgr (not available in texlive 2007 that is packaged in Debian repos). Everything works as promised. However, when I try to install other packages that depend on texlive (e.g. python-matplotlib) via apt-get, the current texlive installation is not detected and apt-get then requires to install the repos version. How do I get to tell the system that there's already an existing tex install? Note that TeXLive 2008 puts symlinks in /usr/local/bin, ../man,../info during install.

Thanks in advance.

Last edited by gnurza; 02-23-2009 at 05:32 PM. Reason: removed trailing "and" in title
 
Old 02-23-2009, 05:35 PM   #2
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 59
My guess is that your problem is this: apt-get (or aptitude or any APT tool) doesn't actually check your filesystem to see if TexLive is installed; it just checks its own internal database to see if it was installed via an APT tool. Since there's no "registered" TexLive installation, it's officially not installed.

That said, I have no idea how to solve this.
 
Old 02-24-2009, 12:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,564

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
The solution is "to pack" the 'TeXLive 2008', you have
in /usr/local/ into a " .deb " package, and install it
with 'dpkg -i <package.deb>'

Then it will be recognized.
.....
Besides the official Debian method for making packages,
there are two easy "cheating" methods, one with 'alien'
and one using 'pkgtool2'. Please ask for details, if
you are interested.
( 'Checkinstall' can be used too, third method.)
.....
http://www.kiarchive.ru/pub/linux/lo...x/pkgtool2.tgz
.....

Last edited by knudfl; 04-08-2010 at 10:46 AM.
 
Old 04-19-2009, 03:04 PM   #4
edlopezmx
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
I am interested

Quote:
Originally Posted by knudfl View Post
The solution is "to pack" the 'TeXLive 2008', you have
in /usr/local/ into a " .deb " package, and install it
with 'dpkg -i <package.deb>'

Then it will be recognized.
.....
Besides the official Debian method for making packages,
there are two easy "cheating" methods, one with 'alien'
and one using 'pkgtool2'. Please ask for details, if
you are interested.
( 'Checkinstall' can be used too, third method.)
.....
I have the same problem trying to install kile, I'm interested in all methods you said. Please tell me how!
 
Old 05-12-2009, 05:43 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,564

Rep: Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512Reputation: 2512
@ edlopezmx

1) Build debian packages
http://www.linuxdevices.com/articles/AT8047723203.html
http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html

2) create .deb package from content, using 'alien' :
Assume /home/"user"/tmp/1/
cd tmp/1/
mkdir usr local bin lib include share
( or what is actually required ).
Move 'other' directories into usr/ to get a 'directory tree'
Copy the files to appropriate dir. Now you have usr/ only.
tar -cf <package-name>.tar usr/ (and not /usr ! ! ! )
gzip <package-name>.tar
mv <package-name>.tar.gz <package-name>.tgz
# alien <package-name>.tgz
will create <package-name>.deb

3) Create a .deb package with pkgtool2

> > pkgtool2-2.2.1...
# 'alien pkgtool2-2.2.1.tgz' to get an installable .deb
http://www.filewatcher.com/b/ftp/ftp.../RPMS.2.3.html

ftp://ftp.tu-chemnitz.de/.SAN0/pub/l...0.9-1.i386.rpm

You may need pkgtools-x.xx too
ftp://ftp.heanet.ie/mirrors/ftp.slac...0/slackware/a/
> > pkgtools-12.0.0-noarch-4.tgz
.......
Read the pkgtool2-2.2.1.readme. 'pkgtool2' can create from
content like 2) = a 'directory tree' or from a file list.
.....
.....
Later I may post with further details for 1).
.....

Last edited by knudfl; 04-08-2010 at 11:37 AM.
 
Old 05-20-2009, 01:35 PM   #6
Stefan_K
LQ Newbie
 
Registered: May 2009
Location: Hamburg, Germany
Distribution: Ubuntu Linux
Posts: 12

Rep: Reputation: 1
Kile, TeX Live and dependencies

Hi,

Quote:
Originally Posted by edlopezmx View Post
I have the same problem trying to install kile, I'm interested in all methods you said.
I have used equivs to fulfill Kile's dependency on texlive while using TL 2008. Here I've described the way: Kile and TeX Live 2008 on Ubuntu Linux.

Stefan


--
TeXblog.net
 
Old 05-21-2009, 08:29 PM   #7
edlopezmx
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
knudfl and Stefan_K:
Thank you very much for your kind answers, they were very useful.
Best regards
edlopezmx
 
  


Reply

Tags
texlive


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian lenny: texlive-latex-base, W: invalid date kaz2100 Debian 0 11-07-2008 09:09 PM
Help: Chinese support in TeXlive chp Linux - Software 0 09-26-2008 10:27 AM
LXer: DistroWatch Weekly: Computex 2008, Debian "Lenny" freeze, ten years of Mandriva LXer Syndicated Linux News 0 06-09-2008 09:11 AM
LXer: DistroWatch Weekly: First Look at Mandriva Flash 2008, Gentoo Linux 2008.0 sche LXer Syndicated Linux News 0 01-28-2008 05:30 AM
TexLive ahallam Red Hat 1 11-08-2006 11:00 PM


All times are GMT -5. The time now is 09:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration