utilities, aws, amazon linux 2,

Install tar on Amazon Linux 2

May 25, 2022 · 1 min read · Post a comment

Yet another free cool tool for archiving files, is tar. I’m going to stick to the title itself and show you how to install tar on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo privileges

Install tar on Amazon Linux 2

Step 1. Update system packages.

sudo yum update

Step 2. Install tar.

sudo yum install tar

Step 3. Verify installation.

tar --version

Output:

tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.