Received: from mail.outstep.net (mail.outstep.net [213.136.84.29]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id E1A0B225815 for <~alpine/devel@lists.alpinelinux.org>; Tue, 20 Feb 2024 22:53:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 21CD1234103E; Tue, 20 Feb 2024 23:53:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outstep.com; s=dkim; t=1708469597; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=Y+QKW7QoCpAMk7tbSLNwCNlDrvHqyXO7CbdlLw5vhCc=; b=j/I4MWc62V/MAzWJDYjxgzmSGw2Lu3cLuQ3uA9FHbCHmb8AAFm6L56kqUW+9ijVy0npTyX Bv2CyYbVnFb5Oe3quOSEf9ldhIa+ibFilHCiDl7rh0x9ok7Y8uT4ZZF6TdlcJhsnEPhGkD 9xdtlDyFdlF/iyXzbO2hoFJH4pxgMjCE6XlJGf8uk9Rgyce5wvCD8MdmaICusimNDyKB3D 3TpXfH9l+BFw07WpWWyw0vLyuBdDq41B9g+PYu7F21ocaUqjt4422qODl/MR8A7aQJUFoQ /e7krJ2riP3+lY0goEV2ipDjYlj+3Gq1jJD+zdUOSmiCOEASZtuhLZrUVgSu9g== Message-ID: <39c9f049-8a00-418b-ba76-beb0467011db@outstep.com> Date: Tue, 20 Feb 2024 17:52:57 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Using APK to get the size of package before install? To: Jeff Pohlmeyer Cc: ~alpine/devel@lists.alpinelinux.org References: <5b033083-334a-41a3-80e7-94aac33f1544@outstep.com> Content-Language: en-US From: "Dr. Lonnie Cumberland, PhD" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Thanks so very much for the information on this, Jeff. You know, I am actually finding Alpine Linux to be a real remarkable OS the more that I research and use it. I especially like the minimized distro approach which seems to fit perfectly with my current project. Best, Lonnie On 2/20/2024 4:47 PM, Jeff Pohlmeyer wrote: > On Tue, Feb 20, 2024 at 2:30 PM 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? > If you use the -i option with "apk add" it will give you the download > size and disk space required and ask if you want to proceed. Then you > can just press "N" or Ctrl+C. If you wanted to automate that, you > might try something like: > echo n | apk add -i xorg-server > (or whatever the package name is) > > -- Jeff