문제

I have Debian (Kali linux 1.0), I thought that Bison and Flex should be already installed but Flex (lex) wasn't, I tried to install it using apt-get and aptitude but it keeps saying "Package flex is not available". how do I install flex ? or is there another way to work with lex ?

P.S: I did try apt-get update and aptitude update

and here's my system information:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux oldstable-updates (sid)
Release:        oldstable-updates
Codename:       sid
도움이 되었습니까?

해결책

Going to the Debian web site, you can find the list of development software packages. It lists 3 alternatives for Bison, and also 3 for Flex.

However, Kali is not identical to Debian, so maybe you should look at their web site to get the information.

If the worst comes to the worst, you can download Flex and compile and install it for yourself. It is very simple to build.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top