I am facing problem while installing rvm 2.6.3
Installing required packages: libssl-dev....
Error when running 'requirements_debian_libs_install libssl-dev',
please read /home/tanmay/.rvm/log/1568568674_ruby-2.6.3/package_install_libssl-dev.log
Requirements installation failed with status: 100.
And then I tried to install libssl-dev.It wasn't installed.. I got this error:
Package libssl-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libssl-dev' has no installation candidate
what should I do now?
Here is the solution for Ubuntu 19+
sudo nano /etc/apt/sources.list
add deb http://security.ubuntu.com/ubuntu bionic-security main
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get install libssl1.0-dev
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