October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

How to Install curl on Ubuntu

Use Ubuntu’s APT repositories to install curl, verify the active curl/libcurl build, troubleshoot package errors, and understand why versions differ across releases.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install curl from Ubuntu’s own repositories with APT: refresh the package index, install the package named curl, and verify the command with curl --version. This is the maintained, dependency-aware method for standard Ubuntu systems; a third-party download is normally unnecessary.

What curl is and why Ubuntu’s package is the right starting point

curl is a command-line tool for transferring data with URL syntax. Ubuntu distributes it as an archive package, so APT can obtain the package from the repositories configured for your release and resolve the libraries it needs.

As an Amazon Associate I earn from qualifying purchases.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The package is named exactly curl. The normal installation does not require you to choose a curl version manually: Ubuntu’s repositories select the build appropriate for your release and enabled update or security pockets.

Requirements before you install

  • An Ubuntu system with access to its configured software repositories.
  • A working network connection if the package is not already available in APT’s local cache.
  • An account allowed to use sudo, or access to a root shell.
  • A terminal on the same machine, container, subsystem, or remote host where you intend to run curl.

APT changes system files, so it asks for administrator authentication. When sudo requests a password, enter the password for your Ubuntu account; the terminal normally does not display the characters as you type.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

Install curl step by step

  1. Open a terminal

    Use the terminal application on the Ubuntu desktop, or connect to the Ubuntu server, virtual machine, container, subsystem, or remote host that should receive the package.

  2. Refresh APT’s package indexes

    sudo apt update

    This downloads current repository metadata. Running it first helps APT select the package available for your release rather than relying on an old local index.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  3. Install the package

    sudo apt install curl

    Review the proposed package changes. Confirm when APT asks for approval. APT resolves curl’s runtime dependencies, including the libcurl runtime and zlib, as part of the transaction.

  4. Verify the command

    curl --version

    A successful check prints the installed curl version followed by libcurl build information and supported features. Seeing that output confirms that the command is available in the environment where you ran it.

    Rank #2
    Sale
    Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
    • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
    • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
    • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
    • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
    • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

What each command does

sudo apt update

apt update refreshes the local indexes that describe packages in your enabled Ubuntu repositories. It does not install curl by itself. If this step reports repository, DNS, authentication, or connectivity errors, fix those errors before proceeding; an incomplete index refresh can leave APT unable to find or select packages.

sudo apt install curl

apt install requests the package named curl. APT calculates dependencies and proposes any additional packages required by the build available to your Ubuntu release. Accepting the transaction downloads and configures those packages.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

curl --version

The --version option performs a read-only check. It is useful immediately after installation because it confirms both that the executable can be started and which curl/libcurl build is active.

Package versions on different Ubuntu releases

Do not hard-code a curl version in installation instructions or automation unless you have a specific pinning policy. Ubuntu’s package metadata is release-specific, and updates within a release can revise the package in the security or updates pocket.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
Ubuntu release label curl version shown in captured package metadata How to interpret it
jammy (Ubuntu 22.04) 7.81.0 The repository build listed for jammy at the time of the captured metadata; later updates can change it.
noble (Ubuntu 24.04) 8.5.0 The repository build listed for noble at the time of the captured metadata; use the enabled noble repositories for the current value.
questing 8.14.1 The repository build listed for questing in the captured metadata, not a permanent version guarantee.
resolute 8.18.0 The repository build listed for resolute in the captured metadata, subject to that release’s updates and security revisions.

The version printed by your own curl --version command is the authoritative result for that machine. Differences between two Ubuntu installations are expected when they use different releases, repository pockets, or update dates.

Troubleshooting installation problems

APT says it cannot locate the package

Check the Ubuntu release and repository configuration, confirm that the machine has network connectivity, and make sure sudo apt update completed successfully. A missing or disabled repository, an incorrect release configuration, or stale package indexes can all prevent APT from locating curl.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

apt update finishes with errors

Read the error lines rather than continuing directly to installation. Correct the reported network, repository, signing, or configuration problem, then run the update again. The install step should follow a successful metadata refresh so that APT is working from current indexes.

curl --version is still not found

Inspect the output from apt install curl for an error or an aborted transaction. Then verify that you are checking in the same active environment where the package was installed—for example, the same container, subsystem, remote host, or chroot. Installing on one machine does not make the command appear in a different environment.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

You cannot use sudo

Installing the system package requires administrator rights. If your account is not authorized to use sudo, ask the system administrator to perform the APT installation or provide an approved root shell. Do not substitute an untrusted binary simply to avoid the authorization step.

The package version is different from an example

That is normally expected. Ubuntu selects versions by release and repository pocket, and security or updates pockets can replace the original release build. Compare the output of curl --version with the package listing for your exact Ubuntu release rather than expecting every system to show the same number.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Removing curl or keeping its configuration

Remove the package but retain configuration files

sudo apt remove curl

Use this when you want the executable removed while leaving package configuration files in place for a possible later reinstall.

Remove the package and its configuration files

sudo apt purge curl

Canonical’s Ubuntu command-line guidance documents apt purge for removing a package together with its configuration files. Review APT’s proposed changes before confirming, particularly on systems where other packages may share related components.

Ubuntu APT compared with other installation approaches

Because curl is already packaged by Ubuntu, APT is the clearest default for ordinary Ubuntu installations. Manually downloading a binary or building from source can be appropriate for a specialized requirement, but those approaches fall outside the standard repository workflow and require you to manage their provenance, compatibility, dependencies, and update process yourself.

Consideration Ubuntu APT package Third-party binary or source build
Repository trust and maintenance Supplied and maintained through the Ubuntu repositories enabled on the system. You must evaluate the publisher, signing or checksum process, and ongoing maintenance yourself.
Release compatibility APT selects the build associated with your Ubuntu release and configured pockets. You must confirm that the downloaded binary or build supports your architecture, libraries, and release.
Dependency handling APT resolves the package’s runtime dependencies, including libcurl and zlib. Dependencies may need separate installation or manual build configuration.
Updates Future package updates arrive through the Ubuntu package-management workflow when the relevant repositories are enabled. You must track, obtain, verify, and install updates through the method used to obtain the binary or source.
Administrator privileges System-wide installation uses sudo or root privileges. Requirements vary: a system-wide install generally needs administrator access, while a user-local build may have different setup and maintenance implications.

For a normal Ubuntu workstation or server, choosing the repository package avoids unnecessary version pinning and keeps curl aligned with the operating system’s update process.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Answers to common Ubuntu curl questions

What is the APT command to install curl?

After refreshing package indexes, install it with sudo apt install curl. The package name is simply curl.

How do I check whether curl is installed?

Run curl --version. Its version and libcurl build output show that the executable is available and identify the active build.

How do I install curl on Ubuntu 22.04 or 24.04?

Use the same APT sequence on both releases: update the indexes, install the curl package, and run the version check. Jammy and noble can expose different curl versions because each release has its own package metadata and update stream.

Does installing curl also install libcurl?

APT resolves curl’s runtime dependencies, which include the libcurl runtime and zlib, when those components are required by the selected Ubuntu package.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Practical decision

For supported Ubuntu systems, use the distribution package rather than hard-coding a curl release or downloading an unrelated binary. The three-command workflow—refresh indexes, install curl, and verify with curl --version—lets Ubuntu choose a compatible, maintained build while giving you an immediate confirmation that the command is ready in the intended environment.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.