How to Install and Uninstall ruby3.0-rubygem-pg Package on openSuSE Tumbleweed
Last updated: November 23,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "ruby3.0-rubygem-pg" package
In this section, we are going to explain the necessary steps to install ruby3.0-rubygem-pg on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
ruby3.0-rubygem-pg
Copied
2. Uninstall "ruby3.0-rubygem-pg" package
This guide let you learn how to uninstall ruby3.0-rubygem-pg on openSuSE Tumbleweed:
$
sudo zypper remove
ruby3.0-rubygem-pg
Copied
3. Information about the ruby3.0-rubygem-pg package on openSuSE Tumbleweed
Information for package ruby3.0-rubygem-pg:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ruby3.0-rubygem-pg
Version : 1.2.3-1.10
Arch : x86_64
Vendor : openSUSE
Installed Size : 974,4 KiB
Installed : No
Status : not installed
Source package : rubygem-pg-1.2.3-1.10.src
Summary : Pg is the Ruby interface to the PostgreSQL RDBMS
Description :
Pg is the Ruby interface to the {PostgreSQL
RDBMS}[http://www.postgresql.org/].
It works with {PostgreSQL 9.2 and
later}[http://www.postgresql.org/support/versioning/].
A small example usage:
require 'pg'
conn = PG.connect( dbname: 'sales' )
conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
puts " PID | User | Query"
result.each do |row|
puts " %7d | | %s " %
row.values_at('procpid', 'usename', 'current_query')
end
end.
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ruby3.0-rubygem-pg
Version : 1.2.3-1.10
Arch : x86_64
Vendor : openSUSE
Installed Size : 974,4 KiB
Installed : No
Status : not installed
Source package : rubygem-pg-1.2.3-1.10.src
Summary : Pg is the Ruby interface to the PostgreSQL RDBMS
Description :
Pg is the Ruby interface to the {PostgreSQL
RDBMS}[http://www.postgresql.org/].
It works with {PostgreSQL 9.2 and
later}[http://www.postgresql.org/support/versioning/].
A small example usage:
require 'pg'
conn = PG.connect( dbname: 'sales' )
conn.exec( "SELECT * FROM pg_stat_activity" ) do |result|
puts " PID | User | Query"
result.each do |row|
puts " %7d | | %s " %
row.values_at('procpid', 'usename', 'current_query')
end
end.