To remove the BOM header from the your file, you can choose one of the following ways.
# On Linux tail --bytes=+4 your_utf-8_file # On Unix (IBM AIX or Oracle SOLARIS) tail +4c your_utf-8_file
# On Linux tail --bytes=+4 your_utf-8_file # On Unix (IBM AIX or Oracle SOLARIS) tail +4c your_utf-8_file
# Install the GNU tools sudo apt-get install build-essential libtool automake # Install libz library sudo apt-get install libz-dev
# replace the source list automatically sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list # resynchronize the package index files from their sources sudo apt-get update # install the newest versions of all packages currently installed on the system from the sources sudo apt-get dist-upgrade