Find the answer to your Linux question:
Results 1 to 3 of 3
I changed .bash_profile to read as follows: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59

    Karamba: Bash doesn't recognize?


    I changed .bash_profile to read as follows:

    # .bash_profile

    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi

    # User specific environment and startup programs

    #PATH=$PATH:$HOME/bin
    PATH=$PATH:/home/ed/Karamba/scripts:$HOME/bin

    export PATH
    unset USERNAME

    I hit Ctrl+Alt+Backspace to restart X, and it did. I opened Konsole, typed in "karamba", and nothing happened. I also tried "Karamba", since that's what I have the directory called, but that didn't work either. It simply says:

    [ed@Linux ed]$ karamba
    bash: karamba: command not found

    I tried "echo $PATH" and it returned:

    [ed@Linux ed]$ echo $PATH
    /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/xess6/bin:/home/ed/Karamba/scripts:/home/ed/bin

    It's reading .bash_profile as having the directory in the path, but bash isn't recognizing the command to start Karamba. I've done everything (to my knowledge) that this installation guide says:

    http://www.efd.lth.se/~d98hk/karamba...a-rh8howto.txt

    What could be wrong?

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Check the perms on ~/Karamba/scripts/karamba. Is it executable?

  3. #3
    Ed
    Ed is offline
    Just Joined!
    Join Date
    Jan 2003
    Location
    Texas
    Posts
    59
    o_O

    I just got it working, but not the way I expected. There wasn't even a file CALLED karamba in that directory, so I looked elsewhere for the executable. Until you said that, I didn't even know that there was one. I searched /usr/local/kde/bin to find the elusive file. The installation guide I was looking at must've left something out.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •