LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2010, 06:13 AM   #1
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99
Blog Entries: 39

Rep: Reputation: 19
How do I install LYX without the 700mb+ of dependencies?


Hey guys,

I tried to install Lyx today, but because of the massive overhead I decided to install it without its 'recommended' packages. From previous experience some of these packages were just the same font in different sizes that rendered font selected in other word processing applications tiresome as I scrolled through the list.

Code:
apt-get install lyx --no-install-recommends
Only 8mb of disk space was needed! But at a cost.

Although AFAIK as a user that has only spent fives minutes at LYX ( 4 of which gawking at how easy it is to write mathematical symbols in ) the segment that does not work is the 'rendering' where I cannot export as dvi, pdf etc.

When I open a document, I get this error:
Quote:
The layout file requested by this document,
article.layout
is not usable. This is probably because a LaTeX class or style file required by it is not
available. See the Customization documentation for more information.
LyX will not be able to produce output.
What packages are absolutely necessary for LyX to work at a bare minimum? My monthly Internet usage is capped, and 700mb is a massive blow to it.

By the way, the documentation it recommends me to read ( 'Customisation' ) contains information applicable to creating new layouts and/or why I do not have someone else's layout that this document requires. It is obvious however that 'article.layout' is a standard component, and is probably inside on of the many recommended packages.

Thanks in advance if anyone can help me.

EDIT: Corrections

The download of recommended packages is ~ 400mb, but once extracted is ~700mb. That is still a large download for my internet connection currently.
Code:
The following NEW packages will be installed:
  dvipng lacheck latex-beamer latex-xcolor libt1-5 lmodern luatex lyx pgf
  preview-latex-style prosper ps2eps psutils texlive-base texlive-binaries
  texlive-common texlive-doc-base texlive-extra-utils texlive-font-utils
  texlive-fonts-recommended texlive-fonts-recommended-doc
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc
  texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-luatex texlive-pictures
  texlive-pictures-doc texlive-pstricks texlive-pstricks-doc tipa ttf-lyx
0 upgraded, 35 newly installed, 0 to remove and 37 not upgraded.
Need to get 428MB/431MB of archives.
After this operation, 707MB of additional disk space will be used.

Last edited by William (Dthdealer); 06-20-2010 at 06:15 AM.
 
Old 06-20-2010, 11:28 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Lyx uses tetex and if you hadn't installed that, the overhead could be considerable.
The sad fact is, that if you don't put the ingredients in, you won't get the same cake. Have you seen scribus?
 
1 members found this post helpful.
Old 06-21-2010, 02:58 AM   #3
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 39

Rep: Reputation: 19
Currently I'm trying this
Code:
apt-get install texlive --no-install-recommends
This chops the 400mb down to 111mb, a good quarter of an hour on my connection ( 15kb/s max on apt-downloads ) rather than the 8 hours expected for the whole shebang.
 
Old 06-21-2010, 03:53 AM   #4
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 39

Rep: Reputation: 19
Success! I'm a happy Linuxer now.
 
Old 06-22-2010, 05:03 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,296

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Why. What changed?
 
Old 06-24-2010, 03:38 AM   #6
William (Dthdealer)
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Debian Testing
Posts: 99

Original Poster
Blog Entries: 39

Rep: Reputation: 19
I was able to install LyX with full functionality with about a quarter of the required download size that is normally needed with a normal apt-get install lyx

I simply did a
Code:
apt-get install texlive --no-install-recommends
apt-get install lyx --no-install-recommends
The cruft I am mainly talking about is extra fonts and templates/layouts as far as I know. Without texlive I cannot render any LyX documents.

Technically 'recommends' are not 'dependencies', however some such as in this case are really necessary.
 
  


Reply



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
Help me to install lyx in debian. ciden Linux - Software 2 11-20-2007 08:52 AM
How to install lyx in a newer version maybee MEPIS 1 04-16-2007 01:34 PM
Burning CD over 700mb Wildjoey LQ Articles Discussion 3 05-30-2006 04:39 AM
LyX and LyX-CJK wushan Linux - Software 0 07-27-2005 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 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
Open Source Consulting | Domain Registration