Category Archives: Operating Systems

Linux : How to run Google Chrome as root

By design, Google Chrome cannot be started as root on Linux systems for security reason, which totally make sense. However, there might be some exceptions where it is required. Here is how to make it work. If you need to run it once or really occasionally, you may start it with the following command using… Read More »

macOS : configure: error: C compiler cannot create executables

Having some issues using the GCC compiler? The problem may show up under different circumstances, such as : – Invoking the GCC compiler trying to compile an application manually using “sudo ./configure”. In such case, an output similar as below will be shown :

– Trying to upgrade outdated packages after updating MacPorts (which… Read More »

Windows : Install XPS Viewer using command line

Since Windows 10 build 1803 from April 2018, the XPS Viewer is no longer included by default in that build of the operating system and has to be installed manually. Usually this is done by browsing to the applications and feature pane but sometimes cannot be found and installed this way. The quickest and most… Read More »

Linux : How to change default route metric

Under some rare circumstances, you may require to change the default route metric. The first way of doing should be through the “ifcfg-ethX” configuration file by adding the “METRIC=” statement. However it has been found to be inefficient for me and had to apply it using “ip route” as followed :

Example :

Read More »

Linux : apt-get Failed to fetch FailReason: ConnectionRefused

Experiencing the following issue trying to update your Debian distro using apt-get? # apt-get update Ign:1 stretch InRelease Hit:2 stretch Release Ign:3 stable InRelease Hit:4 stable Release Hit:5 stretch/updates InRelease Ign:8 sarge InRelease Hit:9 sarge Release Err:11 stretch InRelease FailReason: ConnectionRefused Reading package lists… Done W: Failed… Read More »

Windows : Show available memory with PowerShell

Here is the command how to show the available system memory on Windows with PowerShell command :

Example :