Skip to content

Commit

Permalink
simplify AL2 Linux package install command
Browse files Browse the repository at this point in the history
By just running `$ sudo amazon-linux-extras install BCC`, dependencies are install.

```
$ sudo amazon-linux-extras install BCC
...

==================================================================================================================================================================
 Package                                       Arch                      Version                                 Repository                                  Size
==================================================================================================================================================================
Installing:
 bcc                                           x86_64                    0.18.0-1.amzn2.0.3                      amzn2-core                                  28 M
Installing for dependencies:
 bcc-tools                                     x86_64                    0.18.0-1.amzn2.0.3                      amzn2-core                                 557 k
 clang-libs                                    x86_64                    11.1.0-1.amzn2.0.2                      amzn2-core                                  22 M
 clang-resource-filesystem                     x86_64                    11.1.0-1.amzn2.0.2                      amzn2-core                                  17 k
 cpp10                                         x86_64                    10.3.1-1.amzn2.0.1                      amzn2-core                                 9.5 M
 elfutils-libelf-devel                         x86_64                    0.176-2.amzn2                           amzn2-core                                  40 k
 gcc10                                         x86_64                    10.3.1-1.amzn2.0.1                      amzn2-core                                  38 M
 gcc10-binutils                                x86_64                    2.35-21.amzn2.0.1                       amzn2-core                                 2.9 M
 gcc10-binutils-gold                           x86_64                    2.35-21.amzn2.0.1                       amzn2-core                                 795 k
 glibc-devel                                   x86_64                    2.26-56.amzn2                           amzn2-core                                 994 k
 glibc-headers                                 x86_64                    2.26-56.amzn2                           amzn2-core                                 514 k
 isl                                           x86_64                    0.16.1-6.amzn2                          amzn2-core                                 833 k
 kernel-devel                                  x86_64                    5.10.75-79.358.amzn2                    amzn2extra-kernel-5.10                      16 M
 kernel-headers                                x86_64                    5.10.75-79.358.amzn2                    amzn2extra-kernel-5.10                     1.3 M
 libbpf                                        x86_64                    0.3.0-2.amzn2.0.3                       amzn2-core                                 102 k
 libmpc                                        x86_64                    1.0.1-3.amzn2.0.2                       amzn2-core                                  52 k
 libzstd                                       x86_64                    1.3.3-1.amzn2.0.1                       amzn2-core                                 203 k
 llvm-libs                                     x86_64                    11.1.0-1.amzn2.0.2                      amzn2-core                                  22 M
 mpfr                                          x86_64                    3.1.1-4.amzn2.0.2                       amzn2-core                                 208 k
 python3-bcc                                   noarch                    0.18.0-1.amzn2.0.3                      amzn2-core                                  86 k
 python3-netaddr                               noarch                    0.7.18-3.amzn2.0.2                      amzn2-core                                 1.3 M
 zlib-devel                                    x86_64                    1.2.7-18.amzn2                          amzn2-core                                  50 k
...
```
  • Loading branch information
quiver authored and yonghong-song committed Nov 22, 2021
1 parent 60e0de9 commit e564e6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,9 @@ sudo yum install bcc

## Amazon Linux 2 - Binary
Use case 1. Install BCC for your AMI's default kernel (no reboot required):
Tested on Amazon Linux AMI release 2020.03 (kernel 4.14.154-128.181.amzn2.x86_64)
Tested on Amazon Linux AMI release 2021.11 (kernel 5.10.75-79.358.amzn2.x86_64)
```
sudo amazon-linux-extras enable BCC
sudo yum install kernel-devel-$(uname -r)
sudo yum install bcc
sudo amazon-linux-extras install BCC
```

## Alpine - Binary
Expand Down

0 comments on commit e564e6f

Please sign in to comment.