Info

  • Done
  • quality assurance status badge
Details
3 participants
  • Michela Francesconi
  • Parnikkapore
  • Simon Tournier
Owner
unassigned
Submitted by
Michela Francesconi
Severity
normal

Debbugs page

M
M
Michela Francesconi wrote on 6 Feb 2023 05:36
(address . bug-guix@gnu.org)
CAJJreHT55MLwwdE5GjMU_KUN7a5wEvEV0nwWmzA7iWNq5YXG8w@mail.gmail.com
Hello,

I am using an ssh account that connects to an external server, i have
downloaded through guix some software like samtools and bedtools but when i
try to use them in my directory it gives me this error:

-bash: samtools: command not found

In my direcory, however, there is the directry guix.profile and if I go
into the bin folder of this, I have everything I downloaded and if I run:

./samtools

In that direcory, I can see it and works. But how I can use that software
packages in another folder? I try with:

PATH=$PATH:~/home/hub_galli/mfrancesconi/.guix-profile/bin export PATH

But it doesn't work. What I'm doing wrong? You can help me?


Thank you and best regards

Michela
Attachment: file
P
P
Parnikkapore wrote on 8 Feb 2023 02:07
(address . 61329@debbugs.gnu.org)
D4CE493C-8F32-41E4-9D90-0DA698B1791B@yahoo.com
Hello, and welcome to Guix!

The "proper" way to run software installed using Guix is to activate the Guix profile; see https://guix.gnu.org/manual/en/html_node/Getting-Started.htmlfor details. This sets $PATH for you, along with other environment variables that make sure e.g. new man pages can be found.

For setting $PATH manually, "~" is a shorthand for your home directory, so one of these two should work:

a)
PATH=$PATH:/home/hub_galli/mfrancesconi/.guix-profile/bin
export PATH

b)
PATH=$PATH:~/.guix-profile/bin
export PATH

Hope this helps!
S
S
Simon Tournier wrote on 8 Feb 2023 05:57
(name . Michela Francesconi)(address . michelafrancesconi8@gmail.com)(address . 61329@debbugs.gnu.org)
87v8kcgsyi.fsf@gmail.com
Hi,

On lun., 06 févr. 2023 at 14:36, Michela Francesconi <michelafrancesconi8@gmail.com> wrote:

Toggle quote (2 lines)
> But it doesn't work. What I'm doing wrong? You can help me?

Welcome!

The purpose of the email list help-guix@gnu.org is for getting help.
Maybe it would be more suitable for asking help instead of reporting a
bug. :-)

I hope the message by Parnikkapore is answering your question.

Well, what do you think if this report is closed and instead the
discussion is happening in help-guix@gnu.org? Since I am missing if it
is related to a bug. ;-)

Cheers,
simon
S
S
Simon Tournier wrote on 14 Feb 2023 11:24
control message for bug #61329
(address . control@debbugs.gnu.org)
87wn4kxd7c.fsf@gmail.com
tags 61329 notabug
close 61329
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 61329@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 61329
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch