今天使用ubuntu编译mysql,在apt-get install ncurses-devel报错:

root@iZ25i4hcvpqZ:/usr/local/mysql-5.5.32# apt-get install ncurses-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ncurses-devel

然后寻觅一番发现apt-get install ncurses-dev可以安装ncurses-devel


apt-get install ncurses-dev