Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 5DEB6780FCB for <~alpine/devel@lists.alpinelinux.org>; Mon, 25 Jan 2021 19:10:04 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 07FBD187F87; Mon, 25 Jan 2021 19:10:03 +0000 (UTC) Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 329BA187F86; Mon, 25 Jan 2021 19:10:01 +0000 (UTC) Date: Mon, 25 Jan 2021 20:09:56 +0100 From: Natanael Copa To: antoniomaccagnan Cc: ~alpine/devel@lists.alpinelinux.org Subject: Re: apk total download size Message-ID: <20210125200956.2bca732a@ncopa-desktop.lan> In-Reply-To: <20210124193435.ee3263f838d86a9b4e92bd5d@gmail.com> References: <20210124193435.ee3263f838d86a9b4e92bd5d@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 24 Jan 2021 19:34:35 -0800 antoniomaccagnan wrote: > I can't seem to find a way to get apk show the total download and the size of the installed packages on the hard disk before installing a package. > I'd like to suggest to add such option to apk. > This is a standard feature in most package managers and it would seem especially welcome on Alpine since it is by nature a minimalist distro. > Knowing how much space a packages and its dependencies would take would aid users to decide which set of packages better suits their needs before committing to an install. > > apk add --interactive -nc