From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LRYJj-0004Eg-Tf for garchives@archives.gentoo.org; Mon, 26 Jan 2009 20:44:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FD34E0558; Mon, 26 Jan 2009 20:44:22 +0000 (UTC) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.242]) by pigeon.gentoo.org (Postfix) with ESMTP id 540E0E0558 for ; Mon, 26 Jan 2009 20:44:22 +0000 (UTC) Received: by rv-out-0708.google.com with SMTP id b17so6547739rvf.46 for ; Mon, 26 Jan 2009 12:44:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=dV1M3pajSO2KPbj3Gr3QhNxT+Wv298bjXkvR36OtdwM=; b=to0b8KKA4gN8GZmQeyuiOn7Relm62GAwgbavVxB3I55SU5xNz+00rwB2GNPSlwCWhZ ntCV6IjvfnWyrL5xVXsrevg/igb64ZstmMRMX6J/HuH9yAp42RD+mV83vPW0dR8xI22U wNNiMSXe9dmD3qkn23A/QmROzAerpLAqO+WHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=tLFo57B6xRMW3ZBI5tmEDjWJq+B6l6nK8OO46LnmmOm2Vdf52r/X9/ZLB0tV1tTW3w hPv2W0miU8zKWJevc+uLUviS9+m76gQJjN9gzzxMW02i6qTdntszsGEw203BQaO8MRiY PcVkkuQ0mLFDBt4gXAOXFG49dOJcedrIoExq4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.140.173.10 with SMTP id v10mr2336996rve.199.1233002661908; Mon, 26 Jan 2009 12:44:21 -0800 (PST) In-Reply-To: <49bf44f10901261230t285762dfj2ca7133163e7a267@mail.gmail.com> References: <49bf44f10901260841w61b08bb5q6d7519dee4cc758e@mail.gmail.com> <20090126214856.577a7fc6@coercion> <49bf44f10901260935y7e46b94te283d854a89269a5@mail.gmail.com> <497E0108.80605@googlemail.com> <49bf44f10901261217kd7c7425h52fdd0a988489842@mail.gmail.com> <49bf44f10901261230t285762dfj2ca7133163e7a267@mail.gmail.com> Date: Mon, 26 Jan 2009 14:44:21 -0600 X-Google-Sender-Auth: 4866e67da5b3ef0b Message-ID: <58965d8a0901261244x22e859a7tdb9234823f7c5c26@mail.gmail.com> Subject: Re: [gentoo-user] Installing outside of Portage & cruft removal From: Paul Hartman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 687241db-5174-4978-ace3-4fe4e58cceb7 X-Archives-Hash: 5c68561b44ad96ba34cfc8f4c5c614e9 On Mon, Jan 26, 2009 at 2:30 PM, Grant wrote: >>> Writing an ebuild is best, but sometimes you just want to give a >>> program a try without writing an ebuild (like everyone else running >>> Linux does) and a scruft script enables you to do that without making >>> a mess of your system. >> >> Not to be picky, it's just an idea but in that case, isn't it way easier to >> just ./configure --prefix=/some/dir/inside/yourhome or edit a makefile? > > I have to say I know nothing about compiling or installing outside of > portage. Does specifying a prefix like that work? You get a fully > functional program with nothing installed outside of some/dir? Yes, it's the "normal way" for people that don't use package managers. I almost always install into my home directory for programs that aren't in portage (or make my own ebuild if it is a simple one). Or depending on what program it is, create a user for it and run it under that user account so it can't touch anything else. Also, a lot of more simple programs don't even need to be installed. Just untar it, configure it, make it and run it from the directory in which the source resides. Paul