element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi 5 FAQs Can I run Pi-Hole on the Raspberry Pi 5 with Bookworm?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 1 reply
  • Subscribers 360 subscribers
  • Views 3580 views
  • Users 0 members are here
  • raspberry pi os
  • dhcpcd
  • debian 12
  • Raspberry Pi OS 12
  • pi-hole
  • bookworm
  • raspberry pi 5
  • raspberry pi os bookworm
  • raspberry pi 5 bookworm
  • network manager
Related

Can I run Pi-Hole on the Raspberry Pi 5 with Bookworm?

cstanton
cstanton over 1 year ago

I've been running Pi-Hole on almost every previous version of the Raspberry Pi, will it work on the Raspberry Pi 5 with Bookworm?

  • Sign in to reply
  • Cancel
Parents
  • cstanton
    +1 cstanton over 1 year ago

    Yes, you can run Pi-Hole on the Raspberry Pi 5.

    Though, you may encounter a couple of hiccups. 

    As commented in the thread on the pi-hole discourse here: https://discourse.pi-hole.net/t/raspberry-pi-os-bookworm-is-out-now-pihole-error-unsupported-os-detected-debian-12

    You may get an error saying "Unsupported OS Detected, Debian 12". To get around this you will need to use the "unsupported" modification in the installer and it will run fine:

    "curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash"

    For an update, run:

    "PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -up"

    Another hiccup you may experience, if you do a fresh install of Pi-Hole on Raspberry Pi OS Bookworm rather than an upgrade/update of the OS to bookworm is that dhcpcd is not installed by default, instead it uses Network Manager. This can be problematic if you're using Pi-Hole as a dhcp server for your network.

    Running "raspi-config" should allow you to change the default network manager, but you can also do the following:

    sudo apt-get -y remove network-manager

    sudo apt-get -y install dhcpcd

    sudo apt-get -y autoremove

    sudo apt-get -y clean

    Which will remove network manager, reinstall dhcpcd and remove any packages remaining and clean up afterwards.

    If you want to check if Pi-Hole has updated sufficiently to support the operating system you can run:

    dig +short -t txt versions.pi-hole.net @ns1.pi-hole.net

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • cstanton
    +1 cstanton over 1 year ago

    Yes, you can run Pi-Hole on the Raspberry Pi 5.

    Though, you may encounter a couple of hiccups. 

    As commented in the thread on the pi-hole discourse here: https://discourse.pi-hole.net/t/raspberry-pi-os-bookworm-is-out-now-pihole-error-unsupported-os-detected-debian-12

    You may get an error saying "Unsupported OS Detected, Debian 12". To get around this you will need to use the "unsupported" modification in the installer and it will run fine:

    "curl -sSL https://install.pi-hole.net | PIHOLE_SKIP_OS_CHECK=true sudo -E bash"

    For an update, run:

    "PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -up"

    Another hiccup you may experience, if you do a fresh install of Pi-Hole on Raspberry Pi OS Bookworm rather than an upgrade/update of the OS to bookworm is that dhcpcd is not installed by default, instead it uses Network Manager. This can be problematic if you're using Pi-Hole as a dhcp server for your network.

    Running "raspi-config" should allow you to change the default network manager, but you can also do the following:

    sudo apt-get -y remove network-manager

    sudo apt-get -y install dhcpcd

    sudo apt-get -y autoremove

    sudo apt-get -y clean

    Which will remove network manager, reinstall dhcpcd and remove any packages remaining and clean up afterwards.

    If you want to check if Pi-Hole has updated sufficiently to support the operating system you can run:

    dig +short -t txt versions.pi-hole.net @ns1.pi-hole.net

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube