How To Install Telnet on Alpine Linux

Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox. It is an operating system designed for use with microservices. Its security, simplicity, and resource efficiency has been a catalyst in its adoption. The base OS is minimal with few packages only required to boot the system.

In this guide. I’ll show you how to install Telnet on Alpine Linux. This article has been written with the assumption that you already have a running Alpine Linux system. You can confirm telnet is not available on Alpine Linux by default.

/ # telnet
/bin/sh: telnet: not found

As of Alpine Linux version 3.7, the telnet package was moved into busybox-extras subpackage.

Install Telnet on Alpine Linux

Update the system for busybox-extras subpackage to be visible.

/ # sudo apk update
fetch http://alpinelinux.mirrors.ovh.net/v3.21/main/x86_64/APKINDEX.tar.gz
fetch http://alpinelinux.mirrors.ovh.net/v3.21/community/x86_64/APKINDEX.tar.gz
v3.21.3-186-g550b0ecd650 [http://alpinelinux.mirrors.ovh.net/v3.21/main]
v3.21.3-188-g50056faa876 [http://alpinelinux.mirrors.ovh.net/v3.21/community]
OK: 25395 distinct packages available

Install Telnet on Alpine Linux through busybox-extras package:

# sudo apk add busybox-extras
(1/1) Installing busybox-extras (1.37.0-r12)
Executing busybox-extras-1.37.0-r12.post-install
Executing busybox-1.37.0-r12.trigger
OK: 135 MiB in 59 packages

Check if telnet command is now available on Alpine Linux.

/ # telnet
BusyBox v1.37.0 (2025-01-17 18:12:01 UTC) multi-call binary.

Usage: telnet [-a] [-l USER] HOST [PORT]

Connect to telnet server

	-a	Automatic login with $USER variable
	-l USER	Automatic login as USER

Enjoy using Telnet to test connectivity on Alpine Linux.

busybox-extras telnet 172.21.200.10 80

More articles on Alpine Linux:

Join our Linux and open source community. Subscribe to our newsletter for tips, tricks, and collaboration opportunities!

Recent Post

Unlock the Right Solutions with Confidence

At CloudSpinx, we don’t just offer services - we deliver clarity, direction, and results. Whether you're navigating cloud adoption, scaling infrastructure, or solving DevOps challenges, our seasoned experts help you make smart, strategic decisions with total confidence. Let us turn complexity into opportunity and bring your vision to life.

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Post

Node.js is an open-source platform built on Chrome’s JavaScript runtime environment to help developers build fast and scalable network applications. […]

You’ll learn how to install Python 3.13 on a CentOS Stream 10 Linux system in today’s tutorial. Python is a […]

Scala programming language is a high-level programming language that is statically typed and supports a fusion of object-oriented programming (OOP) […]

Let's Connect

Unleash the full potential of your business with CloudSpinx. Our expert solutions specialists are standing by to answer your questions and tailor a plan that perfectly aligns with your unique needs.
You will get a response from our solutions specialist within 12 hours
We understand emergencies can be stressful. For immediate assistance, chat with us now

Contact CloudSpinx today!

Download CloudSpinx Profile

Discover the full spectrum of our expertise and services by downloading our detailed Company Profile. Simply enter your first name, last name, and email address.