---
title: "Discussion on \"Linking against GNU readline on Mac M1\" | Hashnode"
description: "Discussion on \"Linking against GNU readline on Mac M1\". brew install readline\nbrew link --force readline\nsudo cpanm Term::ReadLine::Gnu\nbrew unlink readline\n\nNote that on ARM architecture the homebrew binaries were moved to /opt/homebrew in contrast to the /usr/local on x86, so the LDFLAGS and CPPFLAGS sh..."
url: "https://hashnode.com/posts/linking-against-gnu-readline-on-mac-m1/65be3e8c52835a8bd917b392"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Linking against GNU readline on Mac M1](https://sshls.hashnode.dev/linking-against-gnu-readline-on-mac-m1?utm_source=hashnode&utm_medium=feed)

brew install readline brew link --force readline sudo cpanm Term::ReadLine::Gnu brew unlink readline Note that on ARM architecture the homebrew binaries were moved to /opt/homebrew in contrast to the /usr/local on x86, so the LDFLAGS and CPPFLAGS sh...

Feb 3, 2024 · 1 min read · sshls.hashnode.dev  
Read the article

-   [#homebrew](https://hashnode.com/tag/homebrew)
-   [#m1-mac](https://hashnode.com/tag/m1-mac)
-   [#c](https://hashnode.com/tag/c)

## Written by

[sshls](https://hashnode.com/@sshls)

@sshls

  
[View profile](https://hashnode.com/@sshls)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
