Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

No write permission for /opt/ibm/ILOG/CPLEX_Studio128 error in ubuntu 16.04

  • 1.  No write permission for /opt/ibm/ILOG/CPLEX_Studio128 error in ubuntu 16.04

    Posted Thu January 11, 2018 04:16 AM

    Originally posted by: UserCplex


    Hello,

     

    I am trying to install CPLEX 12.8 on ubuntu 16.04. It is a brand new machine and CPLEX is the very first package I am installing on this.

     

    I downloaded the .bin file, changed it to executable and gave the following command:

    username@username-Inspiron-3268:~/Downloads$ ./cplex_studio128.linux-x86-64.bin

     

    It goes through some initial steps but gets stuck at the following:

     

    Where would you like to install?

     

    Default intall folder:/opt/ibm/ILOG/CPLEX_Studio128

     

    Enter an absolute path, or press <Enter> to accept the default

     

    On pressing <Enter>, the system says:

     

    "You do not have write permissions to the chosen installation destination. Please choose a different location for installation"

     

    How should I go about installing the package now?

     

    The IBM provided documentation provided 

     

    http://www-01.ibm.com/support/docview.wss?uid=swg21444285

     

    does not clarify.

     

    Thanks in advance.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: No write permission for /opt/ibm/ILOG/CPLEX_Studio128 error in ubuntu 16.04

    Posted Thu January 11, 2018 04:28 AM

    Originally posted by: UserCplex


    Never mind. I figured it out.

     

    I am new to linux/ubuntu.

     

    Got cplex installed by typing

     

    sudo  ./cplex_studio128.linux-x86-64.bin

     

    Thanks.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: No write permission for /opt/ibm/ILOG/CPLEX_Studio128 error in ubuntu 16.04

    Posted Sun January 14, 2018 09:12 AM

    Another (and sometimes better) better option would have been to install to a non-default directory, especially if you don't have the privileges to do sudo. For example, installing to your home directory should never run into permission issues.


    #CPLEXOptimizers
    #DecisionOptimization