3

I am trying to download an app called phyx, which is necessary to use PyPhlawd (which is my final mission).

When running

sudo apt-get install git autotools-dev autoconf automake cmake libtool liblapack-dev libatlas-cpp-0.6-dev libnlopt-cxx-dev libnlopt-dev libnlopt0

(step 1 to install phyx in Linux), I only get the following:

[sudo] password for mmlapeira:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libnlopt-cxx-dev

So I tried lots of things:

sudo apt-get update
sudo add-apt-repository universe
... 

But nothing works, it won't locate the package.

I am completely new on this, so please I need a step by step answer.

1
  • You haven't said what release; but the package is available for some releases in the 'universe' repository (packages.ubuntu.com/…) so what release are you running? and do you have 'universe' enabled?
    – guiverc
    Oct 24, 2019 at 11:25

1 Answer 1

1

libnlopt-cxx-dev is in the default repositories of Ubuntu 19.04 and later. To install it open the terminal and type:

sudo add-apt-repository universe
sudo apt install libnlopt-cxx-dev

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .