我已经下载了Oracle 18C XE rpm文件,但是我不知道如何安装数据库。
答案1
外星人
描述
转换并安装 rpm 和其他软件包。Alien 允许您将 LSB、Red Hat、Stampede 和 Slackware 软件包转换为 Debian 软件包,可以使用 dpkg 或 apt 安装。
它还可以生成任何其他格式的包。
这是一个仅适用于二进制包的工具。
安装
sudo apt install alien
用法
alien -d your_rpm_file.rpm
然后使用以下命令安装apt
:
sudo apt install ./your_rpm_file.deb
我会在 Google 上搜索 snap 或 docker 镜像,而不是转换 rpm pkg,例如:
- https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/dockerfiles
- https://github.com/oracle/docker-images/blob/master/OracleDatabase/SingleInstance/README.md
更多信息请访问:
答案2
在我的 Ubuntu 16.04.5 LTS(YMMV)上,
$ man -k RPM
rpm (8) - RPM Package Manager
rpm2archive (8) - Extract archive archive from RPM Package Manager (RPM) package.
rpm2cpio (8) - Extract cpio archive from RPM Package Manager (RPM) package.
rpm_execcon (3) - get or set the SELinux security context used for executing a new process
rpmatch (3) - determine if the answer to a question is affirmative or negative
rpmbuild (8) - Build RPM Package(s)
rpmdb (8) - RPM Database Tool
rpmdeps (8) - Generate RPM Package Dependencies
rpmgraph (8) - Display RPM Package Dependency Graph
rpmkeys (8) - RPM Keyring
rpmquery (8) - RPM Package Manager
rpmsearch (1sr) - surfraw(1) search tools
rpmsign (8) - RPM Package Signing
rpmspec (8) - RPM Spec Tool
rpmverify (8) - RPM Package Manager
tap2rpm (1) - create RPM packages which wrap .tap files
这些可以从包管理器中获得:
$ for i in rpm rpm2archive rpm2cpio rpm_execcon rpmatch rpmbuild rpmdb rpmdeps rpmgraph rpmkeys rpmquery rpmsearch rpmsign rpmspec rpmverify tap2rpm ; do dpkg -S $(type -p $i) 2>/dev/null; done
rpm: /usr/bin/rpm
rpm2cpio: /usr/bin/rpm2archive
rpm2cpio: /usr/bin/rpm2cpio
rpm: /usr/bin/rpmbuild
rpm: /usr/bin/rpmdb
rpm: /usr/bin/rpmgraph
rpm: /usr/bin/rpmkeys
rpm: /usr/bin/rpmquery
rpm: /usr/bin/rpmsign
rpm: /usr/bin/rpmspec
rpm: /usr/bin/rpmverify
python-twisted-core: /usr/bin/tap2rpm