~sircmpwn/alpine-devel (mirror)

Re: Using APK to get the size of package before install?

Patrycja Rosa <patrycja@ptrcnull.me>
Details
Message ID
<bbc19aad-6ad7-4687-8242-0b95b296a44d@ptrcnull.me>
DKIM signature
fail (DKIM failures on mirrored lists are common)
Download raw message
On 20/02/2024 21:30, Dr. Lonnie Cumberland, PhD wrote:
> I am wondering about the size of Xorg when installed on Alpine and would 
> like to know if it is possible to get the size, including dependencies, 
> without installing it?
> 
hiya, you can just do `apk add -i somepackage`, that'll give you a brief 
summary, including the disk space used after the transaction:
$ doas apk add -i gnome
The following packages will be REMOVED:
	networkmanager polkit polkit-noelogind-libs
The following NEW packages will be installed:
	<snip>
After this operation, 219 MiB of additional disk space will be used.
Do you want to continue [Y/n]?
Reply to thread Export thread (mbox)