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 any of these packages, can you just tell me the way to use them so that they get available in synaptic package manager?
如果flex和bison的软件包在synaptic软件包管理器中不可用,那么如何在ubuntu 10.04中安装flex和bison呢?如果我下载任何这些软件包,您能告诉我使用它们的方式,以便它们在synaptic软件包管理器中可用吗?
2 个解决方案
#1
6
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*/
#2
3
Download the src for e.g. bison from http://ftp.gnu.org/gnu/bison/ and then do the normal
下载src,例如来自http://ftp.gnu.org/gnu/bison/的野牛,然后做正常的
./configure
make
sudo make install
Download flex
from https://github.com/westes/flex/releases
从https://github.com/westes/flex/releases下载flex
#1
6
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*/
#2
3
Download the src for e.g. bison from http://ftp.gnu.org/gnu/bison/ and then do the normal
下载src,例如来自http://ftp.gnu.org/gnu/bison/的野牛,然后做正常的
./configure
make
sudo make install
Download flex
from https://github.com/westes/flex/releases
从https://github.com/westes/flex/releases下载flex