Installing zlib through source code on Ubuntu Linux (2024)

This short tutorial shows you how to install zlib on Ubuntu Linux Server. The process is very simple. For this tutorial, I'll be installing zlib version 1.2.3. Linux kernel is 2.6.15-26-powerpc. I have used a Mac Mini (powerpc/ppc architecture). GCC version number is 4.0.3. Your configuration may be different from mine but the installation steps below should work fine for most configurations with little or no change at all (including other Linux distributions and even unixes e.g. MacOS X).

zlib:

According to zlib.net,

"zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. The zlib data format is itself portable across platforms. Unlike the LZW compression method used in Unix compress(1) and in the GIF image format, the compression method currently used in zlib essentially never expands the data. (LZW can double or triple the file size in extreme cases.) zlib's memory footprint is also independent of the input data and can be reduced, if necessary, at some cost in compression."

Before starting, please check to see if there is a latest version available to download. Visit http://zlib.net/ to find out about the available versions. IMPORTANT: See "Configuring Ubuntu Linux After Installation" to install the development tools required to compile and install zlib from source code.

Steps to download, compile, and install are as follows. Note: Replace 1.2.3 with your version number:

Downloading zlib:

Run the command below,

wget http://www.zlib.net/zlib-1.2.3.tar.gz

Extracting files from the downloaded package:

tar -xvzf zlib-1.2.3.tar.gz

Now, enter the directory where the package is extracted.

cd zlib-1.2.3

Configuring zlib Library:

./configure --prefix=/usr/local/zlib

Replace "/usr/local/zlib" above with the directory path where you want to copy the files and folders. Note: check for any error message.

Compiling zlib:

make

Note: check for any error message.

Installing zlib:

As root (for privileges on destination directory), run the following.

With sudo,

sudo make install

Without sudo,

make install

Note: check for any error messages.

That’s it. Library has bee successfully installed.

Did this tutorial help a little? How about buy me a cup of coffee?

Installing zlib through source code on Ubuntu Linux (1)

Please feel free to use the comments form below if you have any questions or need more explanation on anything. I do not guarantee a response.

IMPORTANT: You must thoroughy test any instructions on aproduction-like test environment first before trying anything on production systems. And, make sure it is tested for security, privacy, and safety. See our terms here.

Installing zlib through source code on Ubuntu Linux (2024)
Top Articles
Climate-related financial disclosures for Large Private Companies and LLPs | Deloitte UK
Do Air Purifiers Work? Research, Best Practices, and More
Navicent Human Resources Phone Number
Poe T4 Aisling
Top 11 Best Bloxburg House Ideas in Roblox - NeuralGamer
Craigslist Parsippany Nj Rooms For Rent
Mustangps.instructure
Yi Asian Chinese Union
Ub Civil Engineering Flowsheet
Dityship
Craigslist/Phx
Enderal:Ausrüstung – Sureai
Cooking Fever Wiki
Dutchess Cleaners Boardman Ohio
Vcuapi
Lax Arrivals Volaris
ᐅ Bosch Aero Twin A 863 S Scheibenwischer
Ostateillustrated Com Message Boards
Adam4Adam Discount Codes
Rural King Credit Card Minimum Credit Score
Dover Nh Power Outage
Ups Print Store Near Me
Used Safari Condo Alto R1723 For Sale
Busted Mcpherson Newspaper
R. Kelly Net Worth 2024: The King Of R&B's Rise And Fall
Del Amo Fashion Center Map
Bay Area Craigslist Cars For Sale By Owner
fft - Fast Fourier transform
What Is a Yurt Tent?
Danielle Moodie-Mills Net Worth
Ncal Kaiser Online Pay
Redbox Walmart Near Me
Angela Muto Ronnie's Mom
Fox And Friends Mega Morning Deals July 2022
1987 Monte Carlo Ss For Sale Craigslist
Mp4Mania.net1
Darrell Waltrip Off Road Center
W B Crumel Funeral Home Obituaries
Cvb Location Code Lookup
Best Restaurant In Glendale Az
Walgreens Agrees to Pay $106.8M to Resolve Allegations It Billed the Government for Prescriptions Never Dispensed
Complete List of Orange County Cities + Map (2024) — Orange County Insiders | Tips for locals & visitors
Unveiling Gali_gool Leaks: Discoveries And Insights
Tricare Dermatologists Near Me
Goats For Sale On Craigslist
VerTRIO Comfort MHR 1800 - 3 Standen Elektrische Kachel - Hoog Capaciteit Carbon... | bol
Caesars Rewards Loyalty Program Review [Previously Total Rewards]
Take Me To The Closest Ups
A Snowy Day In Oakland Showtimes Near Maya Pittsburg Cinemas
Diccionario De Los Sueños Misabueso
Charlotte North Carolina Craigslist Pets
Volstate Portal
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 6436

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.