Yarn fails to run and shows a stacktrace like the following? Set the NODE_PATH.
Error: Cannot find module '@babel/runtime/helpers/interopRequireWildcard'
Require stack:
- /usr/share/nodejs/yarn/lib/cli/index.js
- /usr/share/nodejs/yarn/bin/yarn.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/usr/share/nodejs/yarn/lib/cli/index.js:3:31)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/share/nodejs/yarn/lib/cli/index.js',
'/usr/share/nodejs/yarn/bin/yarn.js'
]
}
The following posting on the Debian bug tracker will help:
If you want to install Oracle’s SQL Developer on Ubuntu (or another DEB based system such as Debian) you can do one of the following:
Download the RPM package and install using rpm (not advisable).
Download the RPM package and convert to a DEB package using alien
Download the ZIP file titled “Oracle SQL Developer for other platforms” and manually install
Use the make-sqldeveloper-package to convert the ZIP file into a DEB package
I used the make-sqldeveloper-package, which is available for Debian and Ubuntu and it’s derivatives. However, the man page and the instructions are little unclear on how to use it. You need to download the zip file available at Oracle’s (and not the RPM file nor any of the other packages) and then use the make-sqldeveloper-package to convert it to a DEB which you can then install using the dpkg command.
This is preferable to using rpm or alien as you can more easily manage the package using Debian’s and Ubuntu package management tools, plus it will integrate SQL Developer into Gnome’s Menu System . Plus, when Oracle updates their version you can use make-sqldeveloper-package to create an updated DEB package and easily update the version you have installed. The procedure outlined below works on Ubuntu Karmic and should also work on any Debian version that has the make-sqldeveloper-package.
As the man page states:
This utility will require you to download the “Oracle SQL Developer for other platforms” archive from <http://otn.oracle.com/software/prod‐ucts/sql/> to create the Debian package from.
1. Download the ZIP file from Oracle’s site
You will need to accept Oracle’s license agreement and download the ZIP file, titled “Oracle SQL Developer for other platforms”, from:
The command will create the build directory and remove it when the command finishes. If the command completes successfully you’ll see the following output after a minute or two:
make-sqldeveloper-package: Building sqldeveloper package in "/tmp".
The DEB file will be created in the current directory. In my example I had changed directories to /tmp and that’s where the DEB file will be:
/tmp/sqldeveloper_2.1.0.63.73+0.2.3-1_all.deb
See the man page for more information about the tool:
After installing there should he an entry in Gnome’s menu to start the SQL Developer. It’s located under:
Applications->Programming->SQL Developer
Note: You will need a JVM installed for the tool to run.
Obligatory Screen Shot:
Updated September 27th 2010. Added instructions from Miles on installing dos2unix alternative for Ubuntu Lucid. The dos2unix command is not available in Ubuntu Lucid.
Great tool for converting KDE3 settings to KDE4 on Debian. Also, it’s works well to merge KDE4 settings from .kde4 with KDE3 settings in .kde. This is useful as KDE4 1st used .kde4 to save personal KDE configuration data. KDE4 is now using .kde for config data, which mean early KDE4 users will have problems with new KDE4 apps. Fear not, Kaboom will help!
DebianGNU/Linux 5.0, codenamed Lenny, was recently released. Here’s a round of of articles about the release and why you might want to consider Debian for your infrastructure.
Techworld sums up what this means for companies and highlights new features and security enhancements:
Debian 5.0, known as Lenny, will offer users improved security handling. For example, as an added protection measure, Debian Installer will now apply any security updates before the first boot.
In addition, several security-critical packages have been built with GCC hardening features, and the standard system contains fewer setuid root binaries and fewer open ports. Other new features include support for IPv6, NFS 4, PostgreSQL 8.3.5, MySQL 5.1.30 and 5.0.51a, Samba 3.2.5, PHP 5.2.6, Asterisk 1.4.21.2, Nagios 3.06 and the Xen Hypervisor 3.2.1.
… Debian was proving to be particularly attractive, claiming that Debian was now the Linux distribution with the lowest total cost of ownership.
And Russell Coker mentions that Debian has full Xen support, which will make Xen users happy!
It lists changes made to packages since the currently installed version. Sure that information will be overwhelming on major upgrades, but what is useful even on major upgrades is the capability to parse News files in the same way.
Me? I’m being running a mixture of Debian Stable, Testing, Sid, and Experimental on my Desktop and it runs stable 99% of time. A configuration like that isn’t recommended, as serious breakage can occur. But, this rarely happens, and I’ve Debian enough to know when not to let the package manager remove important packages! On my laptop, a Lenovo T400, I run Ubuntu Linux, see here for why.
Why use Lenny as a codename? All versions of Debian have been named after characters from the film Toy Story. The unstable version is codenamed Sid, and Sid will never be released as Sid breaks things. For a list of the previous names used see Section 6.2 here:
To enable mod_perl with Apache2 on Debian & Ubuntu for all directories served up by Apache2, including user directories such as ~/public_html, add the following lines to /etc/apache2/sites-available/default
In a real production environment you probably don’t want to enable this for all directories that Apache2 serves up, but only from those directories you expect to run perl in.
Thanks to this thread on the Ubuntu Forums for the info.
Doesn’t perform badly, I’ve been using it recently with Ruby code, and I like how it colourises the code to make editing code easier, and performs it auto-completion and method lookup (basically all the features you’d expect with a modern IDE).
It’s does’t startup as fast as using Emacs, or vi, but I find the features very handy and very convenient. It doesn’t look bad either. It runs better on my PC at home running Debian Linux than it does on my PC at work running WinXP. This is probably because I’m using a 1.5 JVM on WinXP and a 1.6 JVM on Debian. Running on 1.6 JVM’s means that Netbeans will automatically use anti-aliased fonts if you have anti-aliased fonts enabled (much easier on the eyes if your using a LCD screen).