Introduction When installing cairo package for R the following error might be thrown: configure: error: Cannot find cairo.h! Please install cairo (http://www.cairographics.org/) and/or set CAIRO_CFLAGS/LIBS correspondingly. The error is generated because cairo.h header file is missing. Follow the steps below to solve this issue on Ubuntu. Solution Installing libcairo2-dev package will solve the problem, because
Introduction You might encounter the following error while trying to install some packages in RStudio IDE: fatal error: libpq-fe.h: No such file or directory I encountered that error while trying to install RPostgreSQL package and that resulted in the error below: ERROR: compilation failed for package ‘RPostgreSQL’ As it can be seen from the error
Introduction Vi is an advanced and very powerful text editor that works in CLI only mode. Vim is a modified and newer version of Vi and is absolutely backwards compatible with it. You might hear both these names these days: Vi or Vim, so don’t be confused and know that they are referring to the
Introduction Ubuntu and other Debian derivatives (for example, Linux Mint) use installable software packages with .deb file extension. Usually, you download deb package from the vendor and then install the software from that file without having to compile it. This is different from the case when you download the source code and compile that source
Introduction During the installation of a yum package you might get “Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds” followed by “Trying other mirror.” error message: The reason for such a behavior is caused by slow Internet connection which is obvious from the message. The proper solution is to fix the
Introduction In this article I will go through the installation process of Anaconda onto Linux Mint. Step 1. Download Anaconda Go to anaconda.com and download the installation file as shown below. After the downloading completes you will see the installation shell script: Step 2. Run the installation script Now open the terminal (CTRL+ALT+T) navigate to
Introduction WC (word count) is the Linux command which allows you to count the number of bytes(or characters), words and lines in a provided text file. It might not seem very useful, but there are actually a lot of situations where you might need to get the number of words or lines in a file
Introduction The hostname is the name of your computer. It is generally used to identify your PC on the network and it’s also usually part of the command prompt in Linux terminal. The hostname is assigned to the computer during the operating system installation, but you can change it later, if you want. In this
Introduction If you are getting error similar to this “Unable to negotiate with X.X.X.X port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc” you might want to read this post to understand the problem and see how you can solve it. I’m using Linux Mint but this article is applicable to any other Linux distribution.
Introduction In this article we will learn how to calculate and verify a checksum of a file in Ubuntu. We will also see what a checksum actually is and why we should care. You can jump straight to the CLI commands. What is a checksum? A checksum (also called a hash or a digest) is