Results 1 to 8 of 8

Thread: Change on Installation directory

  1. #1

    Default Change on Installation directory

    A very good day to everyone. I am a newbie to OpenSuSE OS and hope you can bear with my ignorance in this regard.

    I attempt to install a software using Shell Script and here are the codes that I used:

    Code:
    sudo ./sp_install --cli
    A message was immediately triggered as the following:

    Source directory...
    "/home/user/Downloads/Software"

    Installation directory...
    "/var/Software"

    [Press "Enter" key to continue]
    I wish to ask if it is alright to install the software in that directory, as I have seen most of the posts that recommend to install software in /bin or /usr/bin.

    Would anyone please advice if there is a way to edit the Shell Script so that the installation directory can be changed to /usr/bin. If the Shell Script is editable, may I know which software should I use to get the job done please?

    Thank you very much.

  2. #2

    Default Re: Change on Installation directory

    tanggo81 wrote:
    > A very good day to everyone. I am a newbie to OpenSuSE OS and hope you
    > can bear with my ignorance in this regard.
    >
    > I attempt to install a software using Shell Script and here are the
    > codes that I used:


    It would help if you told us what software it is and where you got it.
    Please also tell us what version of openSUSE you are using.

    > I wish to ask if it is alright to install the software in that
    > directory, as I have seen most of the posts that recommend to install
    > software in /bin or /usr/bin.


    You probably don't want to install it in that directory, no. And you
    don't want to install it in /bin and perhaps you don't want to install
    it in /usr/bin. You may want to install it somewhere like

    /home/your-user-name/bin

    But unitl you tell us what it is, we won't know.

    > Would anyone please advice if there is a way to edit the Shell Script so
    > that the installation directory can be changed to /usr/bin. If the Shell
    > Script is editable, may I know which software should I use to get the
    > job done please?


    Yes, shell scripts are editable, but if you don't even know that, you
    probably don't want to do it.

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,480
    Blog Entries
    14

    Default Re: Change on Installation directory

    In addition: it would be good if you posted the content on SUSE Paste and post the URL of it here. My first impression is that the script maybe has to be run as root, after a 'su -', but as long as we don't know what's in the script, that's just a mere guess.
    Also, provide links where we can see the instructions you followed.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4

    Smile Re: Change on Installation directory

    Thank you very much for the prompt reply.

    > It would help if you told us what software it is and where you got it.Please also tell us what version of openSUSE you are using.

    I am trying to install Spartan'10 [a quantum chemical modeling software from Wavefunction (Wavefunction, Inc.)].
    I am using opensuse v12.3 at the moment.

    > You may want to install it somewhere like /home/your-user-name/bin

    I am using a shared system, so I think it is better to install the software as root user.

    > Yes, shell scripts are editable, but if you don't even know that, you probably don't want to do it.

    I do not mind to spend time and learn how to do it. After all, it is part of my learning process. I just do not know where to start and hope to get some guidance through this forum

    Thanks for your advice

  5. #5

    Default Re: Change on Installation directory

    tanggo81 wrote:
    > Thank you very much for the prompt reply.> It would help if you told us
    > what software it is and where you got it.Please also tell us what
    > version of openSUSE you are using.I am trying to install Spartan'10 [a
    > quantum chemical modeling software from Wavefunction ('Wavefunction,
    > Inc.' (http://www.wavefun.com/))].I am using opensuse v12.3 at the
    > moment.> You may want to install it somewhere like
    > /home/your-user-name/binI am using a shared system, so I think it is
    > better to install the software as root user.> Yes, shell scripts are
    > editable, but if you don't even know that, you probably don't want to do
    > it.I do not mind to spend time and learn how to do it. After all, it is
    > part of my learning process. I just do not know where to start and hope
    > to get some guidance through this forum Thanks for your advice


    It's pretty difficult to read your reply, but here goes:

    OK. It seems like Wavefunction are pretty poor when it comes to Linux.
    For example, when I go look at the Linux FAQ
    http://www.wavefun.com/support/sp_li..._linuxFAQ.html it says:

    Internet Explorer Users: To view this file, you must allow "active
    content" to run in your web browser.

    and not much else

    The install instructions at
    http://downloads.wavefun.com/linux/I...rtan10v1.1.pdf say "The
    installer will prompt for the directory where Spartan is to be installed."

    So did it ask or not?

    If it did, then I suggest using /opt/wavefront or /opt/spartan as the
    install directory so it is completely separate from everything else.
    Until you've used it for a while and know that you can trust it to
    behave well with everything else.

    If it didn't, I suggest you ask Wavefront.

    The best way to learn is not by hacking away at something you have no
    understanding of that may mess up your system. Start by reading a book
    or two so you understand the basic concepts.

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Change on Installation directory

    On 2013-10-02 16:46, tanggo81 wrote:
    >
    > Thank you very much for the prompt reply.> It would help if you told us
    > what software it is and where you got it.Please also tell us what
    > version of openSUSE you are using.I am trying to install Spartan'10 [a
    > quantum chemical modeling software from Wavefunction ('Wavefunction,
    > Inc.' (http://www.wavefun.com/))].I am using opensuse v12.3 at the
    > moment.> You may want to install it somewhere like
    > /home/your-user-name/binI am using a shared system, so I think it is
    > better to install the software as root user.


    You should install it under /usr/local/

    /var is dedicated to data, not software.

    Yes, your post got here with a difficult to read format.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  7. #7
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: Change on Installation directory

    Have a look at this table of the Linux directory tree. Unlike Windows, Linux apps aren't contained in a single directory, with an occasional exception. /bin and /usr/bin are for executables. Config and shared files are dispersed elsewhere. For those exceptions, use the /opt directory djh-novell has suggested.

  8. #8

    Default Re: Change on Installation directory

    Thanks everyone for the valuable comments and suggestions. I'd like to apologize for the unintended poor reading post

    Knurpht wrote:
    > In addition: it would be good if you posted the content on SUSE Paste and post the URL of it here.
    > My first impression is that the script maybe has to be run as root, after a 'su -', but as long as we don't know what's in the script, that's just a mere guess.
    > Also, provide links where we can see the instructions you followed.


    Knurpht is right. The script was created to be run as root (please refer to this link: SUSE Paste).
    The installation instruction can be found in the link as provided by djh-novell

    djh-novell wrote:
    > The install instructions at http://downloads.wavefun.com/linux/I...rtan10v1.1.pdf say "The
    > installer will prompt for the directory where Spartan is to be installed."
    > So did it ask or not?
    > ...
    > If it didn't, I suggest you ask Wavefront.
    > ...
    > The best way to learn is not by hacking away at something you have no
    > understanding of that may mess up your system


    There is no option available as to choose where to install the software (please refer the link: SUSE Paste). Guess I have to no choice but to ask Wavefun.
    I'll read up more on this topic (thanks buddy ).

    chief_sealth wrote:
    > Have a look at this table of the Linux directory tree.

    Thanks for the useful link, it is a very useful piece of info

Tags for this Thread

Posting Permissions

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