Find the answer to your Linux question:
Results 1 to 3 of 3
I am using Redhat Ent. 4. and have been installing a lot of application. The problem I have is I compiled, and install them (make install) to whereever the default ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    26

    Install dir (new linux user)

    I am using Redhat Ent. 4. and have been installing a lot of application.

    The problem I have is I compiled, and install them (make install) to whereever the default of application is, and I have no idea how to uninstall it if I don't want or want to use a newer version. Some app is installed in /opt/bin , some in /usr/local/bin

    Is there a rule of thumb of where should we install applications?

  2. #2
    Banned jan1024188's Avatar
    Join Date
    Jul 2006
    Location
    EU, SLOVENIA
    Posts
    1,549
    yeah some kind of rule....binaries goto bin dir, libraries goto lib dir....

    Does RED HAT have any package manager?

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Most apps you compile yourself go into various subdirectories of /usr/local. Some third party (especially commercial packages) go into /opt. If you want to uninstall packages you installed from source, you have to do "make uninstall" from the directory you installed from. Some packages also come with an uninstaller e.g. netbeans.

    Also take a look at the File Hierarchy Standard.

Posting Permissions

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