Installing gsl on a Databricks cluster

Arko Bose 21 Reputation points
2020-07-28T06:35:46.18+00:00

Hello,
I am trying to install the GNU Scientific Library on a Databricks high-concurrency cluster. When I run the following shell script:

%sh
sudo apt-get install libgsl-dev

The script keeps running forever, even though the file is about 8Mb big. Has anyone ever installed gsl on a Databricks cluster? If yes, how?

Any help would be greatly appreciated. If you need more information from me, please feel free to ask.

Thank you!

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,047 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 84,531 Reputation points Microsoft Employee
    2020-07-29T08:08:25.207+00:00

    Hello @ArkoBose-1978,

    Welcome to Microsoft Q&A platform.

    If you run an apt-get command without the -y option, you need to answer to all prompts that you get from that command interactively in order for the execution of the command to continue.

    • If you are using without “-y”, this command will be keep on running until we accept to answer to all prompts.
         %sh
           sudo apt-get install libgsl-dev
      
    • If you are using with “-y” it will automatically say yes to all the prompts and complete installation.
         %sh
           sudo apt-get install -y libgsl-dev
      

    14253-image.png

    Hope this helps. Do let us know if you any further queries.


    Do click on "Accept Answer" and Upvote on the post that helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful