Install curl from Ubuntu’s repositories with:
sudo apt update
sudo apt install curl
Then confirm that the command is available:
curl --version
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →This installs Ubuntu’s packaged curl and the dependencies APT selects for your release.
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
What curl is and why Ubuntu’s package is the normal choice
curl is a command-line tool for transferring data with URL syntax. It is commonly used from a terminal to contact web services, download resources, inspect HTTP responses, and automate network requests.
As an Amazon Associate I earn from qualifying purchases.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Clear out junk files and repair common Windows errors3Fix the driver behind crashes, sound loss and screen glitchesUbuntu publishes curl in its own software archives. Installing that package through APT keeps the program aligned with your Ubuntu release and lets APT resolve its runtime requirements, including the libcurl runtime and zlib. For an ordinary Ubuntu installation, there is no need to find a separate binary or installer.
Before you install
- You need access to an Ubuntu terminal. This can be a desktop Terminal window, a text console, an SSH session, a virtual machine, a container, or another Ubuntu environment.
- The system must be able to reach the configured Ubuntu package repositories so APT can refresh its indexes and download packages.
- Your account needs permission to run commands with
sudo. When sudo asks for a password, enter the password for your Ubuntu account; the characters will not be shown while you type. - Run the verification command in the same environment where you performed the installation. Installing curl on a host does not automatically install it inside a separate container, subsystem, or remote machine.
Install curl step by step
1. Open a terminal
Open your Ubuntu terminal and work from the shell prompt. You do not need to download a file from a website first.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
2. Refresh APT’s package indexes
sudo apt update
apt update retrieves current package metadata from the repositories configured for this Ubuntu system. It does not install curl by itself. Let it finish before starting the installation. If APT reports a repository, DNS, or network error, resolve that problem before proceeding; otherwise the local package indexes may be incomplete or stale.
3. Install the package named curl
sudo apt install curl
The package name is exactly curl, in lowercase. APT calculates the required dependency changes and displays a confirmation summary. Review the packages it plans to install, then confirm when prompted.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware match4. Authenticate and allow the package changes
If sudo requests your password, enter it and press Enter. If APT asks whether to continue, answer with the confirmation requested by the prompt. A successful transaction downloads the Ubuntu package and any required runtime dependencies, then places the curl executable where the active Ubuntu environment can use it.
5. Verify the installation
curl --version
A working installation prints the installed curl and libcurl build information, rather than an error that the command cannot be found. The output also identifies the build’s supported features and protocols; the exact lines vary with the Ubuntu release and package build.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
What APT installs
The curl package is the command-line program. Ubuntu’s package metadata lists runtime dependencies such as the libcurl runtime and zlib. You normally do not need to install those packages individually: APT resolves and installs the dependency set required by the curl package selected for your release.
Because the package is maintained in Ubuntu’s archives, updates are delivered through the repositories and update pockets enabled on your system. The build you receive is therefore determined by the Ubuntu release, repository configuration, and the updates available when you install or update it.
Which curl version will you get?
Do not put a fixed curl version into a normal installation command. Ubuntu publishes release-specific package builds, and security or updates pockets can revise the package within a release. Ubuntu’s package listings show these versions in the captured metadata:
| Ubuntu release | curl package version listed |
|---|---|
| 22.04 (Jammy) | 7.81.0 |
| 24.04 (Noble) | 8.5.0 |
| Questing | 8.14.1 |
| Resolute | 8.18.0 |
Those figures identify package versions shown for the corresponding release listings, not a promise that every machine will display the same value indefinitely. Once updates are published, an installed system can receive a newer revision while remaining on the same Ubuntu release. The authoritative value for your machine is the version printed by curl --version after installation.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
Installing on Ubuntu 22.04 or 24.04
Ubuntu 22.04 is the Jammy release and Ubuntu 24.04 is Noble. The installation procedure is the same on both:
sudo apt update
sudo apt install curl
curl --version
Do not substitute the package version shown in a listing for the package name. APT should select the build compatible with your enabled repositories, architecture, and current updates. If you are following instructions written for a different Ubuntu release, keep the commands above and allow your own repositories to choose the package revision.
Troubleshooting installation problems
APT says it cannot locate the package
First, run sudo apt update again and read the complete output. Then check the following:
- Confirm that the system is actually Ubuntu and identify which release it is running.
- Check that the configured Ubuntu repositories are enabled and reachable.
- Verify network connectivity, DNS resolution, and any proxy or firewall rules that affect APT.
- Make sure the update operation completed successfully rather than ending with repository errors.
“Unable to locate package” generally means APT does not have a usable package index for the configured sources. Installing a random curl binary does not fix a repository configuration problem and can create a separate update and compatibility burden.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
The package download fails
Read the repository URL and connection error shown by APT. A temporary mirror, DNS, or network failure may require correcting connectivity and rerunning sudo apt update before retrying sudo apt install curl. If the output identifies an authentication, signature, or repository-configuration problem, fix that repository issue rather than ignoring the warning.
curl --version is still not found
Inspect the installation output for an error, including an aborted confirmation or a failed dependency transaction. Then verify that you are running the check in the same active environment where APT installed the package. Common boundaries include a host system versus a container, a local shell versus an SSH session, and one subsystem versus another. Each environment has its own package database and executable path.
Free tools Windows power users keep installed
One-click scans. No signup required.
If the command still cannot be found after a transaction that appeared successful, rerun the installation command and examine every line of APT’s output for a package or configuration failure. The verification command should be treated as the final test, not assumed from the absence of an obvious error.
Sudo authentication fails
Sudo requires the password for an account authorized to administer the Ubuntu system. A mistyped password, an account without sudo rights, or a restricted administrative environment prevents the package operation. Ask the system administrator to install curl or grant the appropriate administrative access; do not attempt to bypass the system’s privilege controls.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Remove curl, or remove it and its configuration
Remove the package but retain configuration files
sudo apt remove curl
Use this when you want to uninstall the curl package while leaving its configuration files in place for possible future use.
Remove the package and its configuration files
sudo apt purge curl
Canonical’s Ubuntu command-line guidance documents apt purge <package> for removing a package together with its configuration files. APT will show the planned changes before it proceeds. Purging curl does not mean that every unrelated package on the system is removed; review the transaction summary and confirm only the changes you intend.
Why the Ubuntu repository method is preferable for most systems
Ubuntu’s APT package is the clearest default because curl is already packaged by Ubuntu. APT handles dependency resolution, selects a build intended for the release you are running, and supplies subsequent package revisions through the repositories you maintain. It also gives you a consistent way to install, remove, and audit the package using the system package manager.
A third-party binary can differ in release compatibility, dependency handling, trust model, and update process. Those properties depend on the publisher and the specific binary, so they are not uniform alternatives. Use one only when you have a concrete compatibility requirement that Ubuntu’s package cannot meet and you understand how that binary will be verified and updated. For a standard Ubuntu desktop, server, virtual machine, or development environment, the two-command APT installation avoids those extra decisions.
Quick Recap
Quick command reference
- Refresh package metadata:
sudo apt update - Install curl:
sudo apt install curl - Check the installed build:
curl --version - Remove curl and retain configuration:
sudo apt remove curl - Remove curl and its configuration:
sudo apt purge curl
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.




