How To Install rubygem-mysql2-doc on CentOS 8
Introduction
In this tutorial we learn how to install rubygem-mysql2-doc
on CentOS 8.
What is rubygem-mysql2-doc
Documentation for rubygem-mysql2
We can use yum
or dnf
to install rubygem-mysql2-doc
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-mysql2-doc.
Install rubygem-mysql2-doc on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rubygem-mysql2-doc
using dnf
by running the following command:
sudo dnf -y install rubygem-mysql2-doc
Install rubygem-mysql2-doc on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rubygem-mysql2-doc
using yum
by running the following command:
sudo yum -y install rubygem-mysql2-doc
How To Uninstall rubygem-mysql2-doc on CentOS 8
To uninstall only the rubygem-mysql2-doc
package we can use the following command:
sudo dnf remove rubygem-mysql2-doc
rubygem-mysql2-doc Package Contents on CentOS 8
/usr/share/gems/doc/mysql2-0.4.10
/usr/share/gems/doc/mysql2-0.4.10/rdoc
/usr/share/gems/doc/mysql2-0.4.10/rdoc/ActiveRecord
/usr/share/gems/doc/mysql2-0.4.10/rdoc/ActiveRecord.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/ActiveRecord/VERSION.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/File.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/Client.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/EM
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/EM.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/EM/Client
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/EM/Client.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/EM/Client/Watcher.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/Error.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/Result.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/Statement.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Mysql2/Util.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Object.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/Rake.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/RbConfig.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/css
/usr/share/gems/doc/mysql2-0.4.10/rdoc/css/fonts.css
/usr/share/gems/doc/mysql2-0.4.10/rdoc/css/rdoc.css
/usr/share/gems/doc/mysql2-0.4.10/rdoc/ext
/usr/share/gems/doc/mysql2-0.4.10/rdoc/ext/mysql2
/usr/share/gems/doc/mysql2-0.4.10/rdoc/ext/mysql2/Makefile.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts/Lato-Light.ttf
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts/Lato-LightItalic.ttf
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts/Lato-Regular.ttf
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts/Lato-RegularItalic.ttf
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts/SourceCodePro-Bold.ttf
/usr/share/gems/doc/mysql2-0.4.10/rdoc/fonts/SourceCodePro-Regular.ttf
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/add.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/arrow_up.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/brick.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/brick_link.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/bug.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/bullet_black.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/bullet_toggle_minus.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/bullet_toggle_plus.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/date.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/delete.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/find.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/loadingAnimation.gif
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/macFFBgHack.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/package.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/page_green.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/page_white_text.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/page_white_width.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/plugin.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/ruby.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/tag_blue.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/tag_green.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/transparent.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/wrench.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/wrench_orange.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/images/zoom.png
/usr/share/gems/doc/mysql2-0.4.10/rdoc/index.html
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/darkfish.js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/jquery.js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/navigation.js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/navigation.js.gz
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/search.js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/search_index.js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/search_index.js.gz
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/searcher.js
/usr/share/gems/doc/mysql2-0.4.10/rdoc/js/searcher.js.gz
/usr/share/gems/doc/mysql2-0.4.10/rdoc/table_of_contents.html
/usr/share/gems/doc/mysql2-0.4.10/ri
/usr/share/gems/doc/mysql2-0.4.10/ri/ActiveRecord
/usr/share/gems/doc/mysql2-0.4.10/ri/ActiveRecord/VERSION
/usr/share/gems/doc/mysql2-0.4.10/ri/ActiveRecord/VERSION/cdesc-VERSION.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/ActiveRecord/cdesc-ActiveRecord.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/File
/usr/share/gems/doc/mysql2-0.4.10/ri/File/cdesc-File.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/_query-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/abandon_results%21-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/affected_rows-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/async_result-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/automatic_close%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/automatic_close%3f-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/cdesc-Client.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/charset_name%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/close-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/closed%3f-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/connect-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/connect_timeout%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/default_file%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/default_group%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/default_query_options-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/enable_cleartext_plugin%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/encoding-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/escape-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/escape-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/info-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/info-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/init_command%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/initialize_ext-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/last_id-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/local_infile%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/local_offset-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/more_results%3f-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/new-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/next_result-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/parse_flags_array-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/parse_ssl_mode-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/ping-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/prepare-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/query-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/query_info-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/query_info_string-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/query_options-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/read_timeout%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/read_timeout-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/reconnect%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/secure_auth%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/select_db-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/server_info-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/socket-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/ssl_cipher-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/ssl_mode%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/ssl_set-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/store_result-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/thread_id-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/warning_count-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Client/write_timeout%3d-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/Watcher
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/Watcher/cdesc-Watcher.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/Watcher/new-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/Watcher/notify_readable-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/Watcher/unbind-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/Watcher/watching%3f-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/cdesc-Client.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/close-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/Client/query-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/EM/cdesc-EM.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/cdesc-Error.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/clean_message-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/errno-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/error_number-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/new-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/new_with_args-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Error/sql_state-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result/cdesc-Result.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result/count-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result/each-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result/fields-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result/free-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Result/size-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/_execute-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/affected_rows-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/cdesc-Statement.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/close-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/execute-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/field_count-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/fields-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/last_id-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Statement/param_count-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Util
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Util/cdesc-Util.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/Util/key_hash_as_symbols-c.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Mysql2/cdesc-Mysql2.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Object
/usr/share/gems/doc/mysql2-0.4.10/ri/Object/add_ssl_defines-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Object/asplode-i.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Object/cdesc-Object.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/Rake
/usr/share/gems/doc/mysql2-0.4.10/ri/Rake/cdesc-Rake.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/RbConfig
/usr/share/gems/doc/mysql2-0.4.10/ri/RbConfig/cdesc-RbConfig.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/cache.ri
/usr/share/gems/doc/mysql2-0.4.10/ri/ext
/usr/share/gems/doc/mysql2-0.4.10/ri/ext/mysql2
/usr/share/gems/doc/mysql2-0.4.10/ri/ext/mysql2/page-Makefile.ri
/usr/share/gems/gems/mysql2-0.4.10/CHANGELOG.md
/usr/share/gems/gems/mysql2-0.4.10/README.md
/usr/share/gems/gems/mysql2-0.4.10/examples
/usr/share/gems/gems/mysql2-0.4.10/examples/eventmachine.rb
/usr/share/gems/gems/mysql2-0.4.10/examples/threaded.rb
/usr/share/gems/gems/mysql2-0.4.10/spec
/usr/share/gems/gems/mysql2-0.4.10/spec/configuration.yml.example
/usr/share/gems/gems/mysql2-0.4.10/spec/em
/usr/share/gems/gems/mysql2-0.4.10/spec/em/em_spec.rb
/usr/share/gems/gems/mysql2-0.4.10/spec/my.cnf.example
/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2
/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/client_spec.rb
/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/error_spec.rb
/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/result_spec.rb
/usr/share/gems/gems/mysql2-0.4.10/spec/mysql2/statement_spec.rb
/usr/share/gems/gems/mysql2-0.4.10/spec/rcov.opts
/usr/share/gems/gems/mysql2-0.4.10/spec/spec_helper.rb
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/ca-cert.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/ca-key.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/ca.cnf
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/cert.cnf
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/client-cert.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/client-key.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/client-req.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/gen_certs.sh
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/pkcs8-client-key.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/pkcs8-server-key.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/server-cert.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/server-key.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/ssl/server-req.pem
/usr/share/gems/gems/mysql2-0.4.10/spec/test_data
References
Summary
In this tutorial we learn how to install rubygem-mysql2-doc
on CentOS 8 using yum and dnf.