Results 1 to 4 of 4

Thread: need help regarding path variables

  1. #1
    FirstBorg NNTP User

    Default need help regarding path variables

    Hi!

    I installed a new program I want to use. What to I have to enter where to acces the programm from every directory? (Im using linux for 4 days now and have no Idea...). In the installguide of the installed software it says something about editing the .bash-profile, but I cant find such a file.
    Help please

  2. #2
    Join Date
    Jan 2009
    Location
    USA Pennsylvania
    Posts
    1,287

    Default Re: need help regarding path variables

    It could be of help if you tell us what program you installed, where you got it from (a website or did you use YAST to install it), and exactly what you're trying to do.

    Take Care, and also Welcome!

    Ian
    Laptop: Dell Inspiron E1505 | OpenSUSE 12.1/Windows Vista | KDE | Intel CPU T2050 1.6 GHz | Intel 945GM | 3.2GB RAM
    Box: OpenSUSE 12.1/Windows 7 | KDE | Intel Core 2 Quad 8300 2.5GHz/core | nVidia Geforce 9500GT 1GB| 4 GB RAM

  3. #3
    FirstBorg NNTP User

    Default Re: need help regarding path variables

    Hi. I installed an astronomical software called montage.
    Montage
    and I used this guide from them
    Montage User Documentation

    Im stuck at 5.
    Once I entered the PATH=... line, and that worked. But after that I could not use the ls or l command any more...

    What I want to do now is to be able to use a program of the package from every directory, not from the specific program directory.

    I need this for my study at the university, and unfortunately I never used any kind of linux before.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,380

    Default Re: need help regarding path variables

    Are you sure you did enter the PATH=... line correctly? When done correctly your ls, etc should still work
    Code:
    PATH=$PATH:<place-where-your-Montage-bin-resides>
    Do not skip the $PATH: part in it!

    And to make it work at every login, add it to your $HOME/.profile .
    Henk van Velden

Posting Permissions

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