From nobody Thu Sep 12 18:48:02 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X4RKD1tnfz5WVmQ for ; Thu, 12 Sep 2024 18:48:16 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4RKC0Cfvz4gvN for ; Thu, 12 Sep 2024 18:48:14 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=ATtRlkJ4; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1726166878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=T+kfQlgg+uvj3UfsoOho0S/plNlmiNLI0w1OZuPP9nc=; b=ATtRlkJ4K8FHsAAmKch8thOE8EEC8qwsj8euU9H9c11i+Q+92UjrvmgrQIACBoir/Y4Rt+ glH9aMOXPDebraIm7L+k3YVpD+cAGiAg7NuKYD1AKosWS++UxHDx0444c9dVLKQeuIT8gL YxU3HXsltB8TKa+Zop7kWSgrQ4DV/rE= Received: from [192.168.1.160] ( [47.154.20.141]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 56fc2b0d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 12 Sep 2024 18:47:57 +0000 (UTC) Message-ID: <21907abe-cd05-475e-9592-b83307fae2e2@nomadlogic.org> Date: Thu, 12 Sep 2024 11:48:02 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: port installation basics To: questions@freebsd.org References: Content-Language: en-US From: Pete Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+] X-Rspamd-Queue-Id: 4X4RKC0Cfvz4gvN On 9/12/24 11:25, fatty.merchandise677@aceecat.org wrote: > Hello, I'm trying FreeBSD again (penguin news is depressing) and I > face again some of the problems I remember. welcome! > I am torn between packages and ports. I read discouraging things about > using both, and yet I seem to need both for the following reasons: I would recommend starting with packages, it will certainly save you a lot of time and effort to getting a running system.  Heck, once you have a list of packages you need it makes it pretty trivial to just re-image systems if you want a fresh start while learning how things work. Having said that, I think it's pretty common to have systems with a mixture of default upstream packages in addition to ones you build locally. For example, I have a few patches I like for some port called "www/some-server".  What I do is go into the "www/some-server" directory in the ports tree then run "make package".  Then I can use the pkg utility to install this locally built software with my patches.  This keeps everything consistent in terms of 3rd party software all being managed by the pkg utility. I'd also keep a copy of the FreeBSD handbook handy while you hack on this - it's pretty dang good.  One tool you may want to explore once you get your footing is Poudriere.  It's very useful for bulk package building, or building cross-release software: https://docs.freebsd.org/en/books/handbook/ports/#ports-poudriere -pete -- Pete Wright pete@nomadlogic.org