Install rbenv with apt on ubuntu and put ruby

Premise

How to drop your own library on the net (Reference: https://qiita.com/yuma-ito-bd/items/00f89ca0c04909c7c467)

sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev

Then I couldn't find the compatibility of the library that was finished development and failed to install, so I installed rbenv with apt.

procedure

1. update apt

sudo apt update

2.install sudo apt install rbenv Then

3. Version confirmation

rbenv -v # rbenv 1.1.1 Rbenv entered safely Now install ruby

4. Specify the Ruby version and install

CONFIGURE_OPTS='--disable-install-rdoc' rbenv install 2.6.3

Recommended Posts

Install rbenv with apt on ubuntu and put ruby
Install ruby on Ubuntu 20.04 with rbenv
Install Ruby on Ubuntu 20.04
Install Ruby on MSYS2 with pacman
Installing Ruby + Rails on Ubuntu 18.04 (rbenv)
Install JDK and JRE on Ubuntu 16.10
Install Ruby 3.0.0 Preview 1 with a combination of Homebrew and rbenv
How to install Adopt OpenJDK on Debian, Ubuntu with apt (-get)
Install Ubuntu Server 20.04 in VirtualBox on Mac and connect with SSH
Minimal steps to set up a Ruby environment with rbenv on Ubuntu 20.04
Put Zabbix in Ubuntu with Docker and monitor Docker on the same host
Build and install Wireshark Development Release (3.3.1) on Ubuntu
Install and switch between multiple Javas on Ubuntu
Install Gradle with ubuntu16.04
Put JetBrains on Ubuntu
Install Homebrew on Ubuntu 20.04
Install Veeam PN on Ubuntu in IBM Cloud VPC and connect with SSL VPN
Install mecab-ipadic-neologd on Sakura VPS (ubuntu18.04) with low memory and use it from python
Install OpenJDK7 (JAVA) on ubuntu 14.04
Put Ubuntu 20.04.1 on Raspberry Pi 4
Ruby version switching with rbenv
Install Cybozu Office 10 on Ubuntu 20.4
Install Docker on Ubuntu Server 20.04
Install zabbix agent (5.0) on Ubuntu 18.04
Install MAV Proxy on Ubuntu 18.04
Install Java on WSL Ubuntu 18.04
Ruby installation on WSL2 + Ubuntu 20.04
Install Ubuntu Desktop 20.10 on RaspberryPi4
Install Arduino IDE on Ubuntu 20.04
Install raspi-config on Ubuntu 20.04 (LTS)
Install Ruby 2.7 on RHEL 8 (AppStream)
Install Ruby 2.7 on CentOS 7 (SCL)
Install PlantUML on Intellij on Ubuntu
Install Ubuntu Server 20.04 on Btrfs
Note: Install PostgreSQL 9.5 on Ubuntu 18.04
Install Ruby on Sakura's VPS
Install docker and docker-compose on ubuntu in the shortest process
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
Set up Django on Ubuntu 16.04 with PostgreSQL and Gunicorn on ECS
How to deal with different versions of rbenv and Ruby
[Virtualization] Install VMware and build Ubuntu (20.04)
Install gem in Serverless Framework and AWS Lambda with Ruby environment
Install java with Ubuntu 16.04 based Docker
Until you put Ubuntu 20 on Windows 10 Home and WSL2 and run Docker
Install AWS IoT Greengrass on Ubuntu
[Ruby on Rails] yarn install --check-files
Install Java with zip on Windows
Install ngrok on ubuntu16.04 using Vagrant
How to install ruby through rbenv
Install Ruby 2.5 on CentOS 7 using SCL
Programming with ruby (on the way)
How to install and configure the monitoring tool "Graphite" on Ubuntu
Install and configure jenv on macOS
How to install WildFly on Ubuntu 18.04
Install MQTT broker Mosquitto on Ubuntu 18.04
Enable Java 8 and Java 11 SDKs on Ubuntu
Install SonarQube on ECS instance on Ubuntu 16.04
Install Ubuntu20.04 on RaspberryPi 4 and build Kubernetes to run the container
Create a development environment for Ruby 3.0.0 and Rails 6.1.0 on Ubuntu 20.04.1 LTS
Install Java 9 on windows 10 and CentOS 7
Installing and using Ansible on Ubuntu 16.04