How can I set JAVA_HOME on Ubuntu 14.04? There are two common places where you can put the JAVA_HOME variable: ~/.bashrc ~/.profile The difference is that the first file is run when you start a terminal. This makes sense because most programs that you need to use when you program in Java are command line … Continue reading How can I set JAVA_HOME on Ubuntu 14.04?
How to Install SMPlayer in Ubuntu 14.04? SMPlayer is a free media player for windows and Linux with built-in codecs, which will additionally play YouTube videos, search and down load subtitles, and entails other points like a thumbnail generator and audio and video filters. Features Help for Youtube. That you can search, play and down-load … Continue reading How to Install SMPlayer in Ubuntu?
How to Remove Empty Lines from a File on Ubuntu? Our sample file should be like this – Use the following command to remove the Empty lines from a file as shown below – $ ex -s +’v/\S/d’ -cwq abc.txt In the above command abc.txt indicates the file name. The sample output should be like … Continue reading How to Remove Empty Lines from a File on ubuntu
How do I install Python 3.6 using apt-get in Ubuntu 16.04? If you are using Ubuntu 14.04 or 16.04, you can use J Fernyhough’s PPA at https://launchpad.net/~jonathonf/+archive/ubuntu/python-3.6 to install Python 3.6: sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update sudo apt-get install python3.6 If you are using Ubuntu 16.10, then Python 3.6 is in the universe repository, … Continue reading How do I install Python 3.6 using apt-get in Ubuntu 16.04?
How to make a password for ‘rm’ command? How to set up a password for ‘rm’ command? This may not really be about the rm command, since there are easy ways to delete files without using it. If the problem is that your friends are unintentionally misusing the rm command, then solutions that restrict use of … Continue reading How to make a password for rm command?
How do I enable the “multiverse” repository? Please specify how to do this graphically and via command line. The Multiverse repository contains packages (software) that is “not free” , referring to licensing restrictions. The Multiverse repository contains software which has been classified as non-free. This software may not be permitted in some jurisdictions. When installing … Continue reading How do I enable the multiverse repository?
How to enable the “backports” repository? How to enable the backports repository so I can get newer versions of software? Ubuntu Backports are enabled by default in Ubuntu. If for some motive you still don’t get the backports use any of these 2 ways: Click the Ubuntu button on the launcher and search for “Software Sources”. … Continue reading How to enable the backports repository?
How to fix “AppStream cache update completed, but some metadata was ignored due to errors.”?” apt update as root, but I received this error message: AppStream cache update completed, but some metadata was ignored due to errors. The bug has been fixed in appstream package version 0.10.1, but the version that gets installed in Ubuntu 16.04 … Continue reading how to fix “AppStream cache update completed, but some metadata was ignored due to errors.”?”
Could the MD5 be changed? How to change the MD5? md5sum calculates and verifies 128-bit MD5 hashes. The MD5 hash functions as a compact digital fingerprint of a file. It is very unlikely that any two non-identical files in the real world will have the same MD5 hash, unless they have been specifically created to … Continue reading Could the MD5 be changed? How to change the MD5?
What is the difference between Vim and Gvim? GVim is Vim with a built-in GUI, whereas plain Vim needs a terminal emulator (like GNOME Terminal, for example) to run. The built-in GUI provides several extra features to GVim. Borrowing from a post in the Vi and Vim Stack Exchange: Some features that will only work … Continue reading What is the difference between Vim and Gvim?