Answer the question
In order to leave comments, you need to log in
Ubuntu packages not installing?
# apt-get install ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'ruby' instead of ' irb'
Package rubygems 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
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libopenssl-ruby' has no installation candidate
E: Unable to locate package libyaml-ruby
E: Unable to locate package libdl-ruby
E: Unable to locate package libiconv-ruby
E: Unable to locate package libreadline-ruby
E: Package 'rubygems' has no installation candidate
Googled about this - found nothing. How to fix it?
Answer the question
In order to leave comments, you need to log in
apt-get update
apt-get install -f
Either take the missing packages from the repository where they are located, or add the repository, or set them manually (dpkg -i /path/to/package)
If you need dev packages for a language, then don't install them from the package manager.
Try https://github.com/rbenv/ruby-build
Install RVM and it will pull everything you need. Google knows how to install RVM under Ubuntu. I once set, I don’t remember the details, but there were no problems at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question