xAppSoftware Blog Blog


warning: Setting locale failed. Raspbian [SOLVED]

The warning message in the title appears during the installation of packages (invoking Perl) and it’s due to missing locales being set not. The full message looks like the following one:

To fix...


Remove all blank lines using Vim

Remove blank lines using Vim is very simple, :g will execute a command on each line that matches a regex the regex “blank line” is ^$ the command is :d so to remove all...