From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Subject: bug#21215: icecat can't be started by basename only Date: Sat, 08 Aug 2015 11:44:58 +0200 Message-ID: <87r3nem7vp.fsf@T420.taylan> References: <20150808002838.28d32a4d@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZO0hb-0001jH-3n for bug-guix@gnu.org; Sat, 08 Aug 2015 05:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZO0hX-0005zC-0o for bug-guix@gnu.org; Sat, 08 Aug 2015 05:46:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:46397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZO0hW-0005z8-Sh for bug-guix@gnu.org; Sat, 08 Aug 2015 05:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZO0hW-0004hU-Fg for bug-guix@gnu.org; Sat, 08 Aug 2015 05:46:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20150808002838.28d32a4d@scratchpost.org> (Danny Milosavljevic's message of "Sat, 8 Aug 2015 00:28:38 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Danny Milosavljevic Cc: 21215@debbugs.gnu.org Danny Milosavljevic writes: > Hello, > > right now on the GuixSD from the website I have about 12 copies of > icecat installed in /gnu/store but I can start none of them by typing > > $ icecat > > Why not? In Unix-like systems, an executable needs to be in any of the colon-separated directories in the PATH environment variable, otherwise it won't appear as a shell command. (E.g. a typical value for PATH might be "/bin:/sbin:/usr/bin:/usr/sbin".) In Guix, we typically install a package into our "profile" by running "guix package -i the-package", and add the 'bin' and 'sbin' sub-directories in the profile to PATH. A user's profile is typically under: /var/guix/profiles/per-user/ so you can add the following lines to your ~/.bash_login or ~/.profile file: export PATH=/var/guix/profiles/per-user//sbin:$PATH export PATH=/var/guix/profiles/per-user//bin:$PATH By the way, every time you use a "guix package" command to edit your profile, a new "generation" of your profile is created, and you can roll-back to previous generations when you want, for example in case updated packages in the new generation happen to have a bug. The 12 copies of IceCat in your /gnu/store might belong to old generations of your profile, which you can delete with the "guix package -d" command (read the documentation please!), and then run the garbage collector "guix gc" to delete the stale IceCat copies in the store. > Also, it isn't in Xfce4's Application Finder either (while for example > HexChat is). I don't know anything about Xfce, but possibly the problem will be solved when you install IceCat into your profile with "guix package -i". Hope that helps, Taylan