Results 1 to 3 of 3

Thread: Upgrading and setting PATH

  1. #1

    Upgrading and setting PATH

    How do I set a PATH? For example, I just downloaded J2SE, how do I tell it to add it to my PATH?
    Also, If I have some applications already installed, and I wish to upgrade to new versions, (Using Slackware, not using any package manager), do I need to erase something, or just download the source and compile and all that? Will it overwrite the older files, for example, if I were to upgrade Mozilla?
    Last one: I just installed OpenOffice. The installation went fine as root. I get my KDE menu entry as root, (for the OpenOffice applications) but not as a regular user. Any ideas?

  2. #2
    redhead's Avatar
    Join Date
    Jun 2001
    Copenhagen, Denmark

    Re:Upgrading and setting PATH

    export PATH="/new/path:$PATH"
    put it in your ~/.bashrc or ~/.profile or for system wide /etc/bashrc

    For upgrading on slack, just d/l compile, make install.. The install script will overwrite the older versions of the files. (if they get placed in the same libraries)

    As with KDE, sorry never used it, can't help there.

  3. #3

    Re:Upgrading and setting PATH

    Thank you, Redhead. I had no /etc/bashrc. However, I had a /etc/profile, and it seems that was the right file. I wonder how to add the menu on KDE, though..

Similar Threads

  1. setting PATH environment variable
    By omidkamangar in forum Linux - General Topics
    Replies: 2
    Last Post: 04-20-2007, 11:10 PM
  2. Setting Path in Mandrake
    By CP in forum Linux - General Topics
    Replies: 4
    Last Post: 03-21-2003, 04:10 AM
  3. Path
    By mugs in forum Linux - General Topics
    Replies: 8
    Last Post: 11-24-2002, 08:35 PM
  4. Add to PATH
    By trickster in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-28-2002, 10:26 PM
  5. Path question
    By PatC in forum Redhat / Fedora
    Replies: 3
    Last Post: 07-10-2002, 11:14 PM


Posting Permissions

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