Results 1 to 5 of 5

Thread: What is the standard --prefix of openSUSE

  1. #1

    Default What is the standard --prefix of openSUSE

    Hello,

    What is the standard --prefix of openSUSE? I need to install a couple of engineering applications that are not available as openSUSE 11.2 packages hence I have to install them using the sources.

    I think openSUSE doesn't follow the "standard" of other Linux distributions which use the --prefix=/usr/local.

    Apparently openSUSE installs into --prefix=/usr.

    I that correct?

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: What is the standard --prefix of openSUSE

    openSUSE doesn't set this prefix on your packages. You do when you run ./configure. /usr/local is a good place to put local packages. Another possibility is /opt.

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: What is the standard --prefix of openSUSE

    Quote Originally Posted by ken yap
    openSUSE doesn't set this prefix on your packages. You do when you run
    /configure. /usr/local is a good place to put local packages. Another
    possibility is /opt.
    Hi
    For openSUSE (as in packaging) it's /usr unless your compiling for kde
    (/opt) then there are some sourcing possibilities for the common kde
    options which can be set via /etc/opt/kde{n}/common_options.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
    up 1 day 21:30, 3 users, load average: 0.00, 0.05, 0.06
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15


  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: What is the standard --prefix of openSUSE

    Yes, but for locally compiled packages it's better not to use the distro's prefix, otherwise this makes it harder to upgrade; you have to identify all the stuff you mixed into the distro's standard directories.

  5. #5

    Default Re: What is the standard --prefix of openSUSE

    thank you for the confirmation!

    I figures out that it's /usr but wasn't sure. I can't install some engineering applications into /usr/local since it caused many issues regarding libraries that are not found. To avoid that trouble I wanted clarity regarding openSUSE's structure.

    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
  •