LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2011, 08:40 PM   #1
mike11
Member
 
Registered: Apr 2009
Posts: 222

Rep: Reputation: 17
installing only some of the files from a package?


Hi all,

OS: Debian testing

Is it possible to instruct apt-get to install only some of the files in a package?.

Here is the specific problem I'm facing: I have installed latex using the latex installer from CTAN. Now I'd like to install lyx but when apt-get install lyx reports it will install all the deb latex packages (it seems to be unaware latex is already installed).

So my question is: can I instruct apt-get to install only the lyx files with the extra 300MB or so of latex?.

Thanks,
Mike.
 
Old 03-14-2011, 01:15 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Most likely, lyx needs all of the latex packages for dependencies. If you don't install the dependencies, then lyx will not be able to function. Now that being said, have you previously installed latex using apt-get? I know you said you have installed it using CTAN, but I do not know what that is.
 
Old 03-14-2011, 01:29 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
You could blacklist latex in
Code:
/etc/apt/preferences
http://jaqque.sbih.org/kplug/apt-pinning.html

Kind regards
 
Old 03-14-2011, 07:33 PM   #4
mike11
Member
 
Registered: Apr 2009
Posts: 222

Original Poster
Rep: Reputation: 17
Thanks all for replying.

corp769: CTAN provide its own LaTex installer which seems to actually work much better than the deb package. It's only a single package to download (in constrast to the many packages in debian).

repo: I'll give that a try. thanks.
 
  


Reply


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
list installed package files and how to know which package a file belongs bujecas Slackware 3 01-09-2010 04:14 PM
why not detect package after installing package????? venil Linux - General 2 06-09-2006 06:29 PM
List files in a package before installing? humbletech99 Debian 3 06-02-2006 04:35 AM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 04:00 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration