Ben Chuanlong Du's Blog

It is never too late to learn.

Install the Latest Version of Python in Ubuntu

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are a few ways to install a newer version of Python on Ubuntu. If you want to completely overwrite the system version of Python, it is suggested that you install …

Work With Multiple Spark Installations

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

spark-submit and spark-shell

Overwrite the PATH environment variable before invoking spark-submit and/or spark-shell often resolves the issue.

Spark in Jupyter/Lab Notebooks

Remove or reset the environment variable HADOOP_CONF_DIR resolves …

The Installation Location of Python Packages Using Pip

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

When installing a Python package using pip without using sudo or the root user, the package is installed into the user's local directory at ~/.local/lib/python3.7/site-packages (using Python …

Install NodeJS on Ubuntu

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

wajig install nodejs npm
sudo ln -s /usr/bin/nodejs /usr/bin/node

Notice that it is necessary to create a symbolic link for node, as many Node.js tools use …

Install Kotlin

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Ubuntu

Unfortunately, there is no apt-get installation (even no Ubuntu PPA) for Kotlin at this time. There are basically 3 options to install Kotlin on Ubuntu.

  1. Install manually.
  2. Use snap app …