Start wsl and create a directory that is accessible from windows, then change there: Clone the master branch from the sdk repo and initialize die submodules: Go back one directory and clone the examples repo: Update your apt repositories And install the tools: My cmake installation was ok, but it may need to have cmake…
Category: linux
Run docker as non-root
After installing docker, you may encounter that your commands fail with a “permission denied” message when trying to run them as a non-root user: The same command succeeds when run as root, but that is nothing to write home about. Root can do anything. Docker’s official documentation addresses this problem at: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user But if you…
Connecting the Raspberry Pi to a DVI-Adapter
I have an old monitor which only supports DVI and when I work from home, I connect my notebook to it using an HDMI to DVI adapter. This approach, which has never caused a problem with any of my notebooks, has never worked when trying to connect a Raspberry Pi to it. Most of the…
Missing codec in Ubuntu
Those who try to play videos on a fresh installed Ubuntu are likely to be confronted with the problem of missing codecs. The good news is that, even though these are not present by default, they are still available and can be easily installed with apt or apt-get. The codecs are part of the ubuntu.restricted-extras…
linux: find -exec
Find is a fine command of itself, however what elevates find to the next level is its ability to execute other commands. The argument for that is -exec. -exec consists of 3 parts: command arguments delimiter The syntax is: find <path/to/search> [search expression] -exec <command> <arguments> <delimiter> The command This is just any command that…