LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-15-2018, 01:11 PM   #1
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Can we get rid of the Rust HTML documentation?


It is 305MB, far larger than any other package's documentation. People who want this can always get it from the web.

Quote:
% du -s /usr/doc/*/html | sort -n | tail
2912 /usr/doc/ntp-4.2.8p12/html
3136 /usr/doc/libvpx-1.7.0/html
3236 /usr/doc/postfix-3.3.1/html
3492 /usr/doc/libxml2-2.9.8/html
4160 /usr/doc/xfig-3.2.7a/html
7344 /usr/doc/ffmpeg-3.4.4/html
8816 /usr/doc/libvisio-0.1.6/html
15368 /usr/doc/doxygen-1.8.14/html
23112 /usr/doc/PyQt-4.12.1/html
304904 /usr/doc/rust-1.28.0/html
Ed
 
Old 09-15-2018, 01:51 PM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Just because it is there does not mean that you must KEEP it.
 
Old 09-15-2018, 01:57 PM   #3
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by wpeckham View Post
Just because it is there does not mean that you must KEEP it.
Sure, but it will get reinstalled whenever rust is updated.

(Note: I'm not advocating for removing it it keeping it. I don't really care.)
 
Old 09-15-2018, 02:54 PM   #4
BigTig
Member
 
Registered: Aug 2015
Posts: 61

Rep: Reputation: Disabled
I appreciate having it installed, and have been using it to learn rust.
 
1 members found this post helpful.
Old 09-15-2018, 06:59 PM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Hey, I have a good idea, why don't we split up every package into -bin, -dev, and -doc? (Just kidding.)
 
Old 09-16-2018, 09:17 AM   #6
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Hey, I have a good idea, why don't we split up every package into -bin, -dev, and -doc? (Just kidding.)
While I agree this is generally silly, 300 MB of documentation seems like a good reason to make an exception.
 
1 members found this post helpful.
Old 09-16-2018, 10:11 AM   #7
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,310

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by EdGr View Post
People who want this can always get it from the web.
and people who don't want it can always remove it

Quote:
300 MB of documentation seems like a good reason to make an exception.
how many exceptions do we need slackware brain trust to keep track of?

I'd rather they focus on the system.
 
Old 09-16-2018, 10:34 AM   #8
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by montagdude View Post
Hey, I have a good idea, why don't we split up every package into -bin, -dev, and -doc? (Just kidding.)
you mean being able to install multiple versions of a library in parallel ? no way


but 300 MB documentation are worth some thoughts, the update process will be very slow, since it will check a lot of single html files
 
1 members found this post helpful.
Old 09-16-2018, 10:35 AM   #9
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by glorsplitz View Post
how many exceptions do we need slackware brain trust to keep track of?

I'd rather they focus on the system.
I'm not sure I follow your complaint, what is there to keep track of? Just modify the script a little and then call it a day.
 
1 members found this post helpful.
Old 09-16-2018, 12:03 PM   #10
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by a4z View Post
you mean being able to install multiple versions of a library in parallel ? no way


but 300 MB documentation are worth some thoughts, the update process will be very slow, since it will check a lot of single html files
No, I was referring to the way some distros make a practice of splitting a single package into multiple packages for documentation, headers, etc.
 
Old 09-16-2018, 04:02 PM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by EdGr View Post
It is 305MB
Is that all, Ed? That's nothing!! What's the concern?

John
 
Old 09-16-2018, 04:15 PM   #12
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by EdGr View Post
It is 305MB, far larger than any other package's documentation. People who want this can always get it from the web.

Ed
Just out of curiosity you should have made it a poll. It might not (but it could I suppose) sway PV to remove the docs, but it would be interesting to see how more people feel about it. Something like yes, no, don't care. I don't really care either way, but I think that 300+ MB for rust docs that is only used by one package (Firefox?) is a little much.
 
2 members found this post helpful.
Old 09-16-2018, 05:28 PM   #13
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Original Poster
Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Quote:
Originally Posted by Habitual View Post
Is that all, Ed? That's nothing!! What's the concern?

John
The size-to-usefulness ratio is all out-of-whack. The one person who uses the documentation can download it from the web. Everyone else gets 300MB more disk space.

My oldest computer has a 100GB disk. I pared down everything on that machine.

Quote:
Originally Posted by Skaendo View Post
Just out of curiosity you should have made it a poll. It might not (but it could I suppose) sway PV to remove the docs, but it would be interesting to see how more people feel about it. Something like yes, no, don't care. I don't really care either way, but I think that 300+ MB for rust docs that is only used by one package (Firefox?) is a little much.
Yes, a poll would have been better.
Ed
 
1 members found this post helpful.
Old 09-16-2018, 05:46 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
What's the fuss? From the Changelog for Slackware 64-14.2:
Code:
Thu Sep  6 05:28:05 UTC 201
...
patches/packages/rust-1.28.0-x86_64-1_slack14.2.txz:  Added.
  Since Rust is now a requirement to compile Firefox and Thunderbird we
  are adding it here. Unless you will need to recompile those (or need to
  compile other code written in Rust), it is an optional addition.
So, if you don't need Rust, just don't install it. And if it's not installed a further upgrade shouldn't be proposed by <your preferred package management tool>.

Last edited by Didier Spaier; 09-16-2018 at 05:50 PM.
 
1 members found this post helpful.
Old 09-16-2018, 06:05 PM   #15
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Original Poster
Rep: Reputation: 471Reputation: 471Reputation: 471Reputation: 471Reputation: 471
Quote:
Originally Posted by Didier Spaier View Post
What's the fuss? From the Changelog for Slackware 64-14.2:
Code:
Thu Sep  6 05:28:05 UTC 201
...
patches/packages/rust-1.28.0-x86_64-1_slack14.2.txz:  Added.
  Since Rust is now a requirement to compile Firefox and Thunderbird we
  are adding it here. Unless you will need to recompile those (or need to
  compile other code written in Rust), it is an optional addition.
So, if you don't need Rust, just don't install it. And if it's not installed a further upgrade shouldn't be proposed by <your preferred package management tool>.
I am running -current. Rust is recommended and installed if one uses the default options.

I want the ability to re-compile any packages.
Ed
 
1 members found this post helpful.
  


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
Firefox 53 and rust Lenard Spencer Slackware 18 05-01-2017 03:09 PM
Any interest in Rust? dugan Programming 4 04-28-2016 01:12 PM
LXer: Announcing Rust 1.6 LXer Syndicated Linux News 0 01-22-2016 12:31 PM
LXer: Programming in Rust LXer Syndicated Linux News 0 08-24-2014 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:08 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