开发者

Installation of flex and bison in ubuntu

开发者 https://www.devze.com 2023-04-02 14:15 出处:网络
if the packages of flex and bison are not available in synaptic package manager,then how can one install flex and bison in ubuntu 10.04?

if the packages of flex and bison are not available in synaptic package manager,then how can one install flex and bison in ubuntu 10.04? and if i download a开发者_C百科ny of these packages, can you just tell me the way to use them so that they get available in synaptic package manager?


Even better is:

sudo apt-get update
sudo apt-get install flex
sudo apt-get install bison

which flex  /*Sanity check to make sure flex is installed*/
which bison /*Sanity check to make sure bison is installed*/


Download the src for e.g. bison from http://ftp.gnu.org/gnu/bison/ and then do the normal

./configure
make
sudo make install

Download flex from https://github.com/westes/flex/releases

0

精彩评论

暂无评论...
验证码 换一张
取 消