Getting started with Oracle Database Free is quick and simple.
For more information and full step-by-step instructions, please review the installation guide for Linux.
Learn more about the new features available in Oracle Database 23ai Free
Docker/Podman | |||||
---|---|---|---|---|---|
Download | Oracle Container Registry | ||||
Notes | Pull container images straight from Oracle’s Container Registry via docker pull container-registry.oracle.com/database/free:latest |
Oracle VM VirtualBox | |||||
---|---|---|---|---|---|
Filename | Oracle_Database_23ai_Free_Developer.ova | ||||
SHA256 | 0e2144f984179e74b12578a059205aa4255314e8c21249d68ff3a23f70148615 | ||||
Size (in bytes) | 6,138,339,840 | ||||
Notes | Import the 23ai Free .ova file into your local Oracle VM VirtualBox setup. See Oracle Database 23ai Free VirtualBox Appliance for what’s in the Oracle VM VirtualBox image and Resource requirements. |
Oracle Enterprise Linux 8 | |||||
---|---|---|---|---|---|
Filename | oracle-database-free-23ai-1.0-1.el8.x86_64.rpm | ||||
SHA256 | 1e69529fc1eabfd7db1a8fa7a03998b103ba594544e60fe78ea2f7eb448cdccd | ||||
Size (in bytes) | 1,365,375,132 | ||||
Notes | Run Run |
Oracle Enterprise Linux 9 | |||||
---|---|---|---|---|---|
Filename | oracle-database-free-23ai-1.0-1.el9.x86_64.rpm | ||||
SHA256 | 21414ebbb763a2095c138dd007caecd9db3d758ac89facc3f4f14075f71838aa | ||||
Size (in bytes) | 1,365,375,132 | ||||
Notes | Run Run |
RedHat compatible Oracle Enterprise Linux 8 | |||||
---|---|---|---|---|---|
Filename SHA256 Size (in bytes) |
oracle-database-preinstall-23ai-1.0-2.el8.x86_64.rpm 4578e6d1cf566e04541e0216b07a0372725726a7c339423ee560255cb918138b 31152 |
||||
Filename SHA256 Size (in bytes) |
oracle-database-free-23ai-1.0-1.el8.x86_64.rpm 1e69529fc1eabfd7db1a8fa7a03998b103ba594544e60fe78ea2f7eb448cdccd 1,365,375,132 |
||||
Notes | Run Run Run |
RedHat compatible Oracle Enterprise Linux 9 | |||||
---|---|---|---|---|---|
Filename SHA256 Size (in bytes) |
oracle-database-preinstall-23ai-1.0-2.el9.x86_64.rpm aa7bc3a62f4118cc8e02ece2f67ddd276b2256833e4d66f939725b2ef22bebf9 35689 |
||||
Filename SHA256 Size (in bytes) |
oracle-database-free-23ai-1.0-1.el9.x86_64.rpm 21414ebbb763a2095c138dd007caecd9db3d758ac89facc3f4f14075f71838aa 1,365,375,132 |
||||
Notes | Run Run Run |
Windows | |||||
---|---|---|---|---|---|
Filename SHA256 Size (in bytes) |
4cf0207cd4b0134a0d78f12e660b6ce8f4396f0b4476d62c0faf995b812df38f 1,336,989,607 |
||||
Filename SHA256 Size (in bytes) |
e85900cae5fa6b1677f3cd404471c659862f34deeb55a8d9beb41bc02758cbc7 802,358,371 |
||||
Notes | Oracle Database 23ai Free for Windows Installation Guide |
sqlplus sys@localhost:1521/FREEPDB1 as sysdba
sqlplus sys@localhost:1521/FREE as sysdba
OracleDataSource ods = new OracleDataSource();
ods.setURL("jdbc:oracle:thin:@localhost:1521/FREEPDB1"); // jdbc:oracle:thin@[hostname]:[port]/[DB service name]
ods.setUser("[Username]");
ods.setPassword("[Password]");
Connection conn = ods.getConnection();
PreparedStatement stmt = conn.prepareStatement("SELECT 'Hello World!' FROM dual");
ResultSet rslt = stmt.executeQuery();
while (rslt.next()) {
System.out.println(rslt.getString(1));
}
import oracledb
conn = oracledb.connect(user="[Username]", password="[Password]", dsn="localhost:1521/FREEPDB1")
with conn.cursor() as cur:
cur.execute("SELECT 'Hello World!' FROM dual")
res = cur.fetchall()
print(res)
const oracledb = require('oracledb');
async function run() {
let connection = await oracledb.getConnection({
user : "[Username]",
password : "[Password]",
connectString : "localhost:1521/FREEPDB1" // [hostname]:[port]/[DB service name]
});
let result = await connection.execute( "SELECT 'Hello World!' FROM dual");
console.log(result.rows[0]);
}
run();
// Connection string format: User Id=[username];Password=[password];Data Source=[hostname]:[port]/[DB service name];
OracleConnection con = new OracleConnection("User Id=[Username];Password=[Password];Data Source=localhost:1521/FREEPDB1;");
con.Open();
OracleCommand cmd = con.CreateCommand();
cmd.CommandText = "SELECT \'Hello World!\' FROM dual";
OracleDataReader reader = cmd.ExecuteReader();
reader.Read();
Console.WriteLine(reader.GetString(0));
// [username], [password], [hostname]:[port]/[DB service name]
$c = oci_pconnect("[Username]", "[Password]", "localhost:1521/FREEPDB1");
$s = oci_parse($c, "SELECT 'Hello World!' FROM dual");
oci_execute($s);
oci_fetch_all($s, $res);
echo "<pre>\n"
var_dump($res);
echo "</pre>\n";
require 'oci8'
con = OCI8.new("[Username]", "[Password]", "localhost:1521/FREEPDB1")
statement = "SELECT 'Hello World!' FROM dual"
cursor = con.parse(statement)
cursor.exec
cursor.fetch do |row|
print row
end
package main
import (
"fmt"
"log"
"database/sql"
_ "github.com/godror/godror"
)
func main() {
// connectString format: [hostname]:[port]/[DB service name]
dsn := `user="[Username]"
password="[Password]"
connectString="localhost:1521/FREEPDB1"`
db, err := sql.Open("godror", dsn)
if err != nil {
panic(err)
}
defer db.Close()
rows, err := db.Query("SELECT 'Hello World!' FROM dual")
if err != nil {
panic(err)
}
defer rows.Close()
var strVal string
for rows.Next() {
err := rows.Scan(&strVal)
if err != nil {
log.Fatal(err)
}
fmt.Println(strVal)
}
err = rows.Err()
if err != nil {
log.Fatal(err)
}
}