/sqlcl-package
sqlcl-package for Debian and derivatives
sqlcl-package
is a small script that will build a Debian package from Oracle‘s SQL Developer Command-Line (SQLcl).
This utility makes it possible to build a Debian package of Oracle SQL Developer Command-Line. The Oracle SQL Developer Command-Line program is governed by the copyright holder (Oracle USA, Inc.), so you may be limited as to what you can do with the resulting package (i.e. no redistribution, etc). This utility will simply help you create the Debian package, it is your responsibility to use the resulting package acordingly with the OTN license, a copy of which is included in the created package, that you must agree on when downloading the source.
This utility will require you to download the architecture independent archive from <http://www.oracle.com/technetwork/developer-tools/sqlcl/overview/>, identified as “Oracle SQL Developer Command-Line for All Platforms”, to create the Debian package from.
The Debian Package sqlcl-package
In order to run Oracle SQL Developer Command-Line you’ll need a working JRE. The minimum JRE you should use is 1.8 (JRE8.0).
There are several ways to obtain a compatible JRE:
- install
default-jre
(java), making sure it depends, at least, on the minimum required JRE version - install one of the required
openjdk-8-jre
oropenjdk-9-jre
(java) - install the meta-package
java-runtime
, making sure that it installs, at least, the minimum required JRE version as dependency - install one of the meta-packages
java8-runtime
orjava9-runtime
, making sure that it installs, at least, the minimum required JRE version as dependency - download and run the installer for the version you wish to install from Oracle <http://www.oracle.com/technetwork/java/javase/downloads/>
- install
java-package
(contrib/misc) and generate a Debian package from the above installer
After installing a compatible JRE simply launch SQL Developer Command-Line by invoking either sqlcl
(the recommended way), sqlcl.standalone
, sql.[
upstream version
]
or sql.[
upstream version
].standalone
. The JRE will be automatically detected and used as long as properly installed.
Version History
Version 0.1.1:
- changelog:
- Fixed
lintian
warnings - Updated
debhelper
compat version to 11 - Verified compliancy with Standards-Version: 4.1.3
- Fixed
- downloads:
sqlcl-package_0.1.1_all.deb
(binary package)sqlcl-package_0.1.1.dsc
(source description file)sqlcl-package_0.1.1.tar.xz
(source code archive)v0.1.0_v0.1.1.debdiff
(Debian diff from previous version)
Version 0.1.0:
- changelog:
- Initial Release (Closes: #882113, #882115)
- This is a specialized application debianization tool which turns Oracle SQL Developer Command-Line (SQLcl) into a Debian package, the same way as similar packages like
sqldeveloper-package
,googleearth-package
,sapgui-package
,java-package
andwebserver-package
, all native packages, do for other applications. - Due to a conflicting name with content of package
parallel
the upstream binarysql
will be renamed. Multiple versions can coexist sosql.[
upstream version
]
will invoke a specific version of Oracle SQL Developer Command-Line,sql.[upstram version]
will invoke either the standalone or bundled Oracle SQL Developer Command-Line version (in this order), whilesqlcl
(the recommended way) andsqlcl.standalone
take advantage of Debian’salternatives
system and, when left in auto mode, will always invoke the highest version installed.
- downloads:
sqlcl-package_0.1.0_all.deb
(binary package)sqlcl-package_0.1.0.dsc
(source description file)sqlcl-package_0.1.0.tar.xz
(source code archive)