I want to install libmozjs185-dev
in ubuntu 18.04, but I can not find commands for do it? Is there libmozjs185-dev
for bionic?
libmozjs185-dev
has been removed from the Ubuntu repositories, but you can still download the Debian package from https://launchpad.net/ubuntu/bionic/+package/libmozjs185-dev. Note that libmozjs185-dev
depends on libmozjs185-1.0
, which can be downloaded from https://launchpad.net/ubuntu/bionic/+package/libmozjs185-1.0.
wget http://launchpadlibrarian.net/309343863/libmozjs185-1.0_1.8.5-1.0.0+dfsg-7_amd64.deb
wget http://launchpadlibrarian.net/309343864/libmozjs185-dev_1.8.5-1.0.0+dfsg-7_amd64.deb
sudo dpkg -i libmozjs185-1.0_1.8.5-1.0.0+dfsg-7_amd64.deb
sudo dpkg -i libmozjs185-dev_1.8.5-1.0.0+dfsg-7_amd64.deb
Update Oct 2019
I tried this and it failed due to unmet dependencies in the latest ubuntu. I tried it like this instead:
wget http://launchpadlibrarian.net/309343863/libmozjs185-1.0_1.8.5-1.0.0+dfsg-7_amd64.deb
wget http://launchpadlibrarian.net/309343864/libmozjs185-dev_1.8.5-1.0.0+dfsg-7_amd64.deb
sudo dpkg --force-depends -i libmozjs185-1.0_1.8.5-1.0.0+dfsg-7_amd64.deb
sudo dpkg --force-depends -i libmozjs185-dev_1.8.5-1.0.0+dfsg-7_amd64.deb
followed by
sudo apt --fix-broken install
And that fixed it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With