Skip to content

Tag: linux

Changing language of dummy document in blindtext package in Linux

So actually I am trying to create a dummy document using the blindtext package in Latex. so whenever I am trying to create a dummy document it creates a one in German language something like: lorem ipsum… So is it possible to create a dummy document in a different language like English or something else…

cp: cannot stat No such file or directory

I’m trying to install Haptic Device SDK in Ubuntu 16.04 STL (64-bit). The installation process is trivial. It is just running sudo ./install but I get these issues The install file is I’ve installed the following tools Answer Move to a directory without spaces, tabs or newlines in the name. DIR is…

CentOS .NET Core 6.0 installs wrong runtime version

These are 2 commands I ran trying to install .net core 6.0 on CentOS 8 Stream: Install says it installed 6.0.0-0.6 but the actual version is 6.0.0-rc.2.21470.23 and my app is failing with error: Can it be fixed without manual .net install ? SOLUTION (worked) add repo to the OS: sudo rpm -Uvh https://packages.…

Find CFLAGS and LDFLAGS equivalent in linux

I’m trying to figure out what is the equivalent paths of these in Linux. I downloaded the openssl package sudo apt-get install libssl-dev Answer Assuming you want to find flags needed to build using that installed package, then pkg-config: So you don’t need any special -I nor -L flags, because the…

The implementation of Linux kernel current macro

Generally speaking, if we want to use current macro in Linux kernel, we should: but there is a asm-generic version: the asm version implements the current macro through per-cpu variable, but asm-generic version implements the current macro through thread_info, these two are totally different. Linux kernel hea…