Вопрос

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