Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: pq5190362 on January 12, 2017, 12:21:58 PM

Title: Checking how much disk space an extension requires before installing it?
Post by: pq5190362 on January 12, 2017, 12:21:58 PM
Hi,

how do you check how much disk space an extension (incl. it's dependencies) will require before installing it?

Using tce-load only seems to install the extension without prompting "This will require X MB of disk space. Proceed?" or anything like that.

Is there a way to check how much disk space an extension (incl. it's dependencies) will require before installing it?
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: Misalf on January 12, 2017, 12:45:20 PM
Using Apps GUI:
Select an extension and click the "Size" tab.
Using tce-ab:
Select an extension - The info is shown - close by pressing "Q" - press "Z".
This will show you how big each dep is and how much needs to be downloaded in total.
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: Rich on January 12, 2017, 12:47:46 PM
Hi pq5190362
If you use the GUI version of the Apps utility and switch to the  Size  tab:
(http://i65.tinypic.com/aysvn8.png)
Anything with a  +  to the left of it needs to be downloaded.
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: pq5190362 on January 12, 2017, 12:54:36 PM
Cool, thanks.

Maybe it would also make sense to add a prompt to tce-load which shows the required disk space?
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: pq5190362 on January 12, 2017, 01:01:25 PM
Using tce-ab:
Select an extension - The info is shown - close by pressing "Q" - press "Z".
This will show you how big each dep is and how much needs to be downloaded in total.

Ah, missed that, only noticed Rich's reply at first. Thanks.
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: Misalf on January 12, 2017, 01:24:47 PM
Quote
Maybe it would also make sense to add a prompt to tce-load which shows the required disk space?
I think this could break those apps and scripts where  tce-load  is used internally.
Also, this would introduce a delay due to fetching extra info from the server. More noticeable by people like me with a slow internet connection.
Personally I wouldn't like  tce-load -w  to ask me to proceed after I've already hit ENTER.
Maybe an additional command line option that checks size of data to download against available disks space, for those too lazy to use available options, would be less intrusive.
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: pq5190362 on January 12, 2017, 02:22:02 PM
for those too lazy to use available options

I told you I overlooked your post about tce-ab at first, because you and Richard pretty much posted simultaneously and I saw Richard's post first and therefore asked about enhancing tce-load, yet you still hint at being too lazy to use tce-ab...

tce-ab is fine.

However, in comparison, when installing something via apt (Ubuntu/Debian), you are being presented with the following prompt:

Code: [Select]
After this operation, 1.234 kB of additional disk space will be used.
Do you want to continue? [Y/n]

So, it's not too uncommon.
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: Misalf on January 12, 2017, 04:04:04 PM
Sorry, no offense.
Laziness is a technique used by all of us to reduce energy consumption.
I'm probably even more lazy than you, most of the time, by not paying much attention to the size of the extensions I download. If I do want/need to know the size, I use described methods and pay extra wait time and energy for it.
Title: Re: Checking how much disk space an extension requires before installing it?
Post by: coreplayer2 on January 12, 2017, 04:21:30 PM
....and I really don't care how big an extension is
[emoji12]
 

Speaking of lazy, the sooner I start procrastinating, the sooner I can start playing catch up!

Sent from my iPhone using Tapatalk