Results 1 to 5 of 5

Thread: Change installation directory of package

  1. #1
    sysengPS NNTP User

    Default Change installation directory of package


    Great software, really enjoying getting a working build together.
    However, I'm unable to adjust the installation directory of software. I
    want to install tomcat 8 into /opt/tomcat, but it installs in a
    directory I can't think of right now . I suppose I can create a
    symlink after the fact, but would like to have a clean system. Is this
    possible?
    Thanks


    --
    sysengPS
    ------------------------------------------------------------------------
    sysengPS's Profile: http://forums.suse.com/member.php?userid=5784
    View this thread: http://forums.suse.com/showthread.php?t=5770


  2. #2

    Default Re: Change installation directory of package

    You should be able to specify a directory when dropping files in there,
    and then, if an archive, it should auto-extract to that directory
    structure. I'm pretty sure I've done this in the past with archives, and
    here's a screenshot of a single file being placed that way (which
    definitely works):

    http://paste.opensuse.org/97521473

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  3. #3
    sysengPS NNTP User

    Default Re: Change installation directory of package


    I was hoping to install from a repository, not expand a tar, but I'll
    take it. Thanks.


    --
    sysengPS
    ------------------------------------------------------------------------
    sysengPS's Profile: http://forums.suse.com/member.php?userid=5784
    View this thread: http://forums.suse.com/showthread.php?t=5770


  4. #4
    ab NNTP User

    Default Re: Change installation directory of package

    Ah.... I see. I'm sure you could probably still do this somehow, but it'd
    be a bit more custom, and may have drawbacks you do not want. For
    example, perhaps have a script on startup pull down the package, or put
    the RPM in a directory and then have a script install it. Neither is perfect.

    If you have an online repo on something like the Open Build Service (OBS)
    you should be able to point to it and pull in packages directly, though.
    Is that something you have already tried? The UI where you choose which
    SUSE/SLES software to install has an 'Add Repository' button or something,
    and as long as the SUSE Studio servers can reach it I think you can use
    it. If that's an option, you just need to be sure your package puts
    things in the correct location by default.

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  5. #5

    Default Re: Change installation directory of package

    Quote Originally Posted by sysengPS View Post
    I was hoping to install from a repository, not expand a tar, but I'll
    take it. Thanks.


    --
    sysengPS
    ------------------------------------------------------------------------
    sysengPS's Profile: http://forums.suse.com/member.php?userid=5784
    View this thread: http://forums.suse.com/showthread.php?t=5770

    Hi,

    You need to custom built your own package and edit the specfile if you're up to it and build it locally

    Well, if you have an OBS account that would be easy.
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

Posting Permissions

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