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 1LZ8HJ-0007xi-LA for garchives@archives.gentoo.org; Mon, 16 Feb 2009 18:33:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42D1CE0452; Mon, 16 Feb 2009 18:33:12 +0000 (UTC) Received: from mail-bw0-f205.google.com (mail-bw0-f205.google.com [209.85.218.205]) by pigeon.gentoo.org (Postfix) with ESMTP id D7B84E0452 for ; Mon, 16 Feb 2009 18:33:11 +0000 (UTC) Received: by bwz1 with SMTP id 1so3427872bwz.10 for ; Mon, 16 Feb 2009 10:33:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xzpRBMYC78kB8/jbqPUI3OVOP3NqmpWrrtPtwIjmLLw=; b=cnD6+JR4ChA8OAy5injpxmVzlARcsSRWQA4ywqp1ZmoqLKPmUx+SWiekzMfGBgumMK CgaoBxaFn/bkto36ZaVXvvz0cJRuu5r6kzIKyH2g+lkyXEosd9uhSZtZ+RJEbBCkcBlu PAj3kAKP+OmVwDKWB5hPoLafwLDfHDMw2iZlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=R2ettACifKxcAOvnVUEEhRmsmSYuGgFCKcRj49iVerCYWzvSXtJyOJ4l6QkvJ8BQZ+ 7s+8f0ucyA1Pg1dWQB3xRJAK+zxaf+TgipbZQFk5/KK/O9bvD82XwRMngBj/PuMyjcbt 3pCt5Yu7BEMKoD6pJ0SpDoaRcdycA8I3EeQrE= 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 Received: by 10.181.240.10 with SMTP id s10mr1173204bkr.108.1234809191089; Mon, 16 Feb 2009 10:33:11 -0800 (PST) In-Reply-To: <200902152149.25815.wonko@wonkology.org> References: <49bf44f10901260841w61b08bb5q6d7519dee4cc758e@mail.gmail.com> <200902152149.25815.wonko@wonkology.org> Date: Mon, 16 Feb 2009 10:33:11 -0800 Message-ID: <49bf44f10902161033t13fdf6e3nb99056800b4aa13@mail.gmail.com> Subject: Re: [gentoo-user] Installing outside of Portage & cruft removal From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d458b007-f139-4b70-9b05-585d1e19c946 X-Archives-Hash: 9570819888cba7a6fd560ca9f4b22801 >> I'd like to install the latest miro from their nightlies and that >> means installing manually without an ebuild. I've always avoided this >> because I don't want files spread across my system without an easy way >> to remove them. I've also always wanted to set up a good cruft >> removal script for keeping my system clean (I'll admit that takes me >> in the hobbyist direction) and I'm thinking the two might work well >> together. I could temporarily install apps without an ebuild and use >> a cruft removal script to remove them. >> >> What do you guys think of this? Do you know of a good cruft removal >> script? > > If you can install your apps into a specific location, I'd use xstow. > > emerge xstow > cd ~/install/myapp-1.2.3 > ./configure --prefix=/usr/local/stow/myapp-1.2.3 && > make && > make install > cd /usr/local/stow > xstow myapp-1.2.3 > > myapp-1.2.3 is installed into /usr/local/stow/myapp-1.2.3, but xstow > created symlinks into the /usr/local hierarchy, so it looks as if it were > directly installed there. No need to add /usr/local/stow/myapp-1.2.3/bin > to the PATH and such. > Use xstow -D myapp-1.2.3 to remove the symlinks if you want to uninstall, > then remove /usr/local/stow/myapp-1.2.3. That would still leave anything installed outside of /usr/local (/etc for example) right? - Grant