Install Iconv On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install iconv
-
Debian
apt-get install libc-binClick to copy -
Ubuntu
apt-get install libc-binClick to copy -
Arch Linux
pacman -S plan9portClick to copy -
Kali Linux
apt-get install libc-binClick to copy -
CentOS
yum install glibc-commonClick to copy -
Fedora
dnf install glibc-commonClick to copy -
Raspbian
apt-get install libc-binClick to copy -
macOS
brew install plan9portClick to copy
Converts text from one encoding to another.
How to use iconv?
Below are few example commands for iconv that you can use in the terminal.
Convert file to a specific encoding, and print to stdout:iconv -f from_encoding -t to_encoding input_fileClick to copyConvert file to the current locale's encoding, and output to a file:iconv -f from_encoding input_file > output_fileClick to copyList supported encodings:iconv -lClick to copy
Install the latest version of iconv in Debian, Ubuntu, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the iconv just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of iconv from the respository and install it in your computer/server.



