Solved : EACCES current user (“nobody”) does not have permission to access the dev dir

When we tried to install “sitespeed.io” on Ubuntu 18.04, as mentioned in installation steps “npm install -g sitespeed.io” we got following errors, gyp WARN EACCES current user (“nobody”) does not have permission to access the dev dir “/home/devlab/.cache/node-gyp/8.10.0” gyp WARN EACCES attempting to reinstall using temporary dev dir “/usr/local/lib/node_modules/sitespeed.io/node_modules/sse4_crc32/.node-gyp” gyp WARN install got an error, … Read more

How to recover data / folder deleted with rm -rf

Today Accidentally I deleted one of my folder in ubuntu which has contained important files, but I wanted to copy those to another machine by tarring it, while there was another archive / tar with same name, I wanted to delete that .tar but deleted folder resulting deleting very important files. To recover those files … Read more

Finding list of installed files from a package in Linux

Recently we installed one package, but couldn’t understood which all files it installed on Ubuntu. You can use the command as, dpkg-query -L PACKAGE_NAME So, lets say, you want to identify which are files “openssh-server” package installed, then run the command as below, dpkg-query -L openssh-server /. /etc /etc/ufw /etc/ufw/applications.d /etc/ufw/applications.d/openssh-server /etc/pam.d /etc/pam.d/sshd /etc/init /etc/init/ssh.conf … Read more

How to resolve error : ” no buildable Go source files in “

Sometimes when we try to compile an unknown go package, we can see an error like “no buildable Go source files in”, the possible solution could be, Check if the package which shows error “no buildable Go source files in” is using C code, like import “C” in the source file, in that case, we … Read more

Ubuntu doesn’t detect WiFi Access Point

Recently I came across very different problem when I moved to a place where there was few more access points, my laptop had ubuntu 14.04. [ Note: Users has reported that this works on latest Ubuntu versions also ] $ lsb_release -a I could see lot of other access points in my ubuntu network manager, … Read more

How to resolve dependencies generated during installation with “dpkg -i” ?

While I was trying to install chrome browser of a fresh installed ubuntu 14.04 with deb, it reported following error, $ sudo dpkg -i google-chrome-stable_current_amd64.deb dpkg: dependency problems prevent configuration of google-chrome-stable: google-chrome-stable depends on libappindicator1; however: Package libappindicator1 is not installed. dpkg: error processing package google-chrome-stable (–install): dependency problems – leaving unconfigured Errors were … Read more

How to check which header belongs to which package in ubuntu

In Ubuntu, there is a way to identify which header file belongs to which package so if you encountered an error as “header file not found” you can install the package to resolve the error, Just follow below steps, sudo apt-get install apt-file sudo apt-file update Now lets try to identify which packages contain “sys/types.h” … Read more