PDA

View Full Version : [SOLVED] installing packages "zlib-devel" and "ncurses-devel"



71GA
November 27th, 2010, 07:19 PM
Hello!

I wanted to install packages "zlib.devel" and "ncurses-devel", but when i insert following commands,

sudo apt-get install ncurses-devel
sudo apt-get install zlib-develterminal in both cases returns,

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zlib-devel.

This means it cant find them, so i went browsing and found both of them,
http://ftp.gnu.org/pub/gnu/ncurses/
http://www.zlib.net/.

I downloaded them and i got 2 files,

ncurses-5.7.tar.gz
zlib-1.2.5.tar.bz2
My question is how to install those 2?


Thank you!

andrewthomas
November 27th, 2010, 07:36 PM
how about

sudo apt-get install zlib1g-dev libncurses5-dev?

71GA
November 27th, 2010, 07:54 PM
OK this worked! TY andrewtomas :popcorn:

I really have to complain about something. When i tried to install 3rd party program terminal said i need zlib-devel and ncurses-devel and not ncurses-dev and zlib-dev...

Is it sooooo hard to specify exact packages name omg?!

karthick87
November 27th, 2010, 07:55 PM
Try apt-get update and then install the packages,


sudo apt-get update