What to do when build fails by rbenv install / pyenv install with anyenv (Debian system)

I want to put rbenv and pyenv when setting up a Debian OS, but I use anyenv to handle them all at once. If you do rbenv install 2.x or pyenv install 3.x after installing these in Debian system, you will get build failed because some package is not included, so this is all at once. It is a memo that it is ok if you hit.

Coping

sudo apt install build-essential checkinstall -y
sudo apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y

Recommended Posts

What to do when build fails by rbenv install / pyenv install with anyenv (Debian system)
What to do if you get angry with OpenSSL with pyenv install
What to do if the build fails with the error "Module compiled with Swift x.x.x cannot be imported by the Swift x.x.x compiler"
What to do when you launch an application with rails
mysql2 fails to install with bundle install
What to do after Vagrant install
What to do when javax.batch.operations.JobStartException occurs
[IOS] What to do when the image is filled with one color
What to do when CentOS cannot be started with VirtualBox on Catalina
What to do when "npm ERR! Code ENOSELF" is displayed after npm install
What to do and how to install when an error occurs in DXRuby 1.4.7
What to do if an error occurs when nokogiri enters when bundle install
Notes on what to do when EC2 is set up with t2.micro
What to do when a javax.el.PropertyNotWritableException occurs
Docker container build fails to install php-radis
What to do if you install Ubuntu
What to do when undefined method ʻuser_signed_in?'
What to do if build from command line fails in Android development environment
What to do when "Nil location provided. Can't build URI." Appears on CarrierWave
What to do when is invalid because it does not start with a'-'
What to do if ffi installation fails when launching an application in Rails
WELD-001408: What to do when Unsatisfied dependencies for type Bean with qualifiers @Default
What to do if mvn archetype: generate fails
Moved to anyenv! (Manage rbenv and nodenv with anyenv)
What to do when debugging "Source not found"
What do you use when converting to String?
What to do when IllegalStateException occurs in PlayFramework
What to do when booting Ubuntu on WSL2 and getting "Process terminated with code 1"
After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
What to do when rbenv says that there is no readline or lib history
What to do when routing settings do not work after building Docker environment with Laravel
What to do if the debug gem installation fails
What to do when The SSL certificate has expired
What to do when JSF tags do not become HTML
What to do if ClassNotFoundException occurs when starting Tomcat
What to do when a null byte error occurs
What to do when rails creates a 〇〇 2.rb file
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
What to do if password authentication fails in Docker/Postgres
ParseException: What to do when Unparseable date is reached
What to do if you installed Ruby with rbenv but the version does not change
[Rails] What to do when the view collapses when a message is displayed with the errors method