Unable to Install libcrypto.so.1.0.0 on Ubuntu 20.04.6

Abstract: Resolve missing libcrypto.so.1.0.0 errors on Ubuntu 20.04 by manually installing the legacy library or enabling Bionic repositories for legacy application compatibility.

Created: 2026-08-30 by

The libcrypto.so.1.0.0 library is not available in the default repositories for Ubuntu 20.04 because it has been superseded by OpenSSL 1.1. To resolve this issue, you must manually download the specific Debian package from a trusted archive or enable the older Ubuntu 18.04 (Bionic Beaver) repository sources.

Understanding the Library Version Mismatch

Ubuntu 20.04 LTS (Focal Fossa) ships with OpenSSL version 1.1.1, which provides the shared object file libcrypto.so.1.1. Many legacy applications, particularly older versions of Node.js, Python packages, or proprietary software, were compiled against OpenSSL 1.0.2. These applications specifically request libcrypto.so.1.0.0 at runtime. When you attempt to install them using standard package managers like apt, the system fails because the requested symbol cannot be found in the current libraries. This mismatch is common when migrating older projects to newer Linux distributions. The error typically manifests as a "cannot open shared object file" message or an unmet dependency error during installation. It is crucial to understand that installing OpenSSL 1.0.2 alongside 1.1.1 requires careful handling to avoid breaking system-level services that rely on the newer version.

Why Standard APT Install Fails

The Ubuntu package manager relies on metadata files that define available software. In the Focal Fossa release, the openssl and libssl-dev packages point exclusively to version 1.1.1. There is no pre-built binary for libcrypto.so.1.0.0 in the main or universe repositories for this specific release. Attempting to force an installation via apt-get install libcrypto.so.1.0.0 will result in a "package not found" error. Therefore, alternative methods are required to provide this specific dynamic library.

Method 1: Manual Installation via .deb Package

The safest and most isolated approach is to download the Debian package containing the library directly from a reliable source. This method does not modify your system's repository configuration, reducing the risk of unintended side effects.
  1. Download the Package: Obtain the libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.deb file. You can find this in the Ubuntu Bionic archives or trusted third-party mirrors. Ensure the architecture (amd64, i386, arm64) matches your system.
  2. Install Dependencies: Before installing the main library, ensure you have the necessary dependencies. Run sudo apt update to refresh your local package index.
  3. Execute Installation: Use the dpkg command to install the downloaded file. For example: sudo dpkg -i libssl1.0.0_1.0.2g-1ubuntu4.15_amd64.deb.
  4. Fix Broken Dependencies: If the installation reports missing dependencies, run sudo apt --fix-broken install to automatically resolve them using your existing repositories.
After installation, verify the presence of the library by running ldconfig -p | grep libcrypto. You should see entries for both libcrypto.so.1.1 and libcrypto.so.1.0.0.

Method 2: Enabling the Bionic Repository

If you need multiple packages from the older 18.04 ecosystem, enabling the Ubuntu Bionic Beaver repository is a more comprehensive solution. This allows apt to manage the older libraries as part of the standard package lifecycle.

First, add the Bionic repository to your sources list. Open the sources list file using a text editor: sudo nano /etc/apt/sources.list. Add the following line at the end of the file:

deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse

Save the file and exit. Then, update your package list. Because these packages are now considered "untrusted" by your current Focal release, you must specify the release codename during installation to prevent accidental upgrades of core system components. Use the following command to install the specific library:

sudo apt install libssl1.0.0/bionic

This command tells apt to pull the package specifically from the Bionic repository. Once installed, you can remove the added lines from /etc/apt/sources.list if you wish to keep your system clean, though leaving them is generally harmless as long as you do not upgrade unrelated packages from that source.

Verifying the Installation

Regardless of the method chosen, verification is essential. Check if the dynamic linker can locate the library by running ldconfig -p | grep libcrypto.so.1.0.0. Additionally, test the target application to ensure it launches without the previous shared object errors. If the application still fails, check its log output for path-specific issues, as some programs require explicit environment variables pointing to the library location. For users dealing with broader installation hurdles, such as unmet dependencies on other systems, reviewing general troubleshooting guides can be helpful. See Solving Ubuntu Unmet Dependencies Error for additional context on package management conflicts.

Common Pitfalls and Security Considerations

While resolving this issue, be aware that OpenSSL 1.0.2 reached end-of-life in April 2019. It no longer receives security patches. Using this library exposes your system to known vulnerabilities if it handles sensitive network traffic. It is strongly recommended to isolate applications requiring this library in containers or virtual machines whenever possible. Another common pitfall is mixing architectures. If you are running a 64-bit Ubuntu system but try to install a 32-bit (i386) version of the library, the application may fail to link correctly. Always ensure the package architecture matches your system's kernel architecture. Furthermore, avoid compiling OpenSSL 1.0.2 from source unless absolutely necessary, as this can lead to complex dependency chains that are difficult to maintain. In cases where hardware compatibility interferes with software installation, such as USB detection issues during setup, understanding the underlying system constraints is vital. Refer to Fresh Ubuntu Installation on HP ProBook 650 G1: USB Detection Issue for insights into hardware-related installation blockers.

Frequently Asked Questions

Will installing libcrypto.so.1.0.0 break my system updates?

No, it will not break system updates if you use the manual .deb method. However, if you enable the Bionic repository, you must be careful not to upgrade core system packages from that older source, which could destabilize your Ubuntu 20.04 installation.

Can I use a symbolic link instead of installing the library?

Creating a symbolic link from libcrypto.so.1.1 to libcrypto.so.1.0.0 is technically possible but highly discouraged. The two libraries have different APIs and internal structures; doing so will likely cause the application to crash immediately due to incompatible function calls.

How do I remove libcrypto.so.1.0.0 after installation?

If you installed via dpkg, use sudo dpkg -r libssl1.0.0. If you enabled the Bionic repository, use sudo apt remove libssl1.0.0. Remember to clear the cache with sudo ldconfig afterward to update the dynamic linker cache.

Is there a way to install this without root privileges?

You can extract the contents of the .deb package into a local directory and set the LD_LIBRARY_PATH environment variable to point to that directory. This allows the application to find the library without modifying the system-wide dynamic linker configuration.

Does this issue affect Ubuntu 22.04 or later?

Yes, the same issue exists in Ubuntu 22.04 and 24.04, which use OpenSSL 3.0. The solutions remain similar, but you may need to look for packages compatible with those specific releases or use containerization strategies to run legacy software.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More