Install Base64 On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Install Base64 On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

base64

Encode or decode file or standard input to/from Base64, to standard output.

Maintainer: Michael Stone



Section: utils

Install base64

  • Debian apt-get install coreutils Click to copy
  • Ubuntu apt-get install coreutils Click to copy
  • Alpine OS apk add coreutils Click to copy
  • Arch Linux pacman -S coreutils Click to copy
  • Kali Linux apt-get install coreutils Click to copy
  • CentOS yum install coreutils Click to copy
  • Fedora dnf install coreutils Click to copy
  • Raspbian apt-get install coreutils Click to copy
  • macOS brew install base64 Click to copy

Encode or decode file or standard input to/from Base64, to standard output.

How to use base64?

Below are few example commands for base64 that you can use in the terminal.

Encode a file:
base64 filenameClick to copy
Decode a file:
base64 -d filenameClick to copy
Encode from stdin:
somecommand | base64Click to copy
Decode from stdin:
somecommand | base64 -dClick to copy
Install the latest version of base64 in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the base64 just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of base64 from the respository and install it in your computer/server.