Paste Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Paste Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

paste

Merge lines of files.

Maintainer: Michael Stone



Section: utils

Install paste

  • 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 coreutils Click to copy

Merge lines of files.

How to use paste?

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

Join all the lines into a single line, using TAB as delimiter:
paste -s fileClick to copy
Join all the lines into a single line, using the specified delimiter:
paste -s -d delimiter fileClick to copy
Merge two files side by side, each in its column, using TAB as delimiter:
paste file1 file2Click to copy
Merge two files side by side, each in its column, using the specified delimiter:
paste -d delimiter file1 file2Click to copy
Merge two files, with lines added alternatively:
paste -d ' ' file1 file2Click to copy
To install the latest version of paste in your favorite operating system just copy the paste installation command from above and paste it into terminal. It will download and install the latest version of paste 2026 package in your OS.