0

I am using Ubuntu 12.04.03 LTS. i want to install flex. but i m not able to install flex. can you tell me how to install flex ? show me step by step process to install flex ....

1 Answer 1

0

Below commands will install flex package on your Ubuntu pc.

sudo apt-get update
sudo apt-get install flex
6
  • i have used these commands still few errors are there...
    – Nikunj
    Mar 29, 2014 at 13:05
  • Post the output of sudo apt-get install flex command. Mar 29, 2014 at 13:06
  • output of sudo apt-get install flex command. compaq@compaq-Compaq-510:~$ sudo apt-get install flex [sudo] password for compaq : Reading package lists... Done Building dependancy tree Reading state information... Done Package flex is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'flex' has no installation candidate
    – Nikunj
    Mar 29, 2014 at 13:33
  • post the output of apt-cache policy flex Mar 29, 2014 at 14:16
  • And were there any errors with sudo apt-get update?
    – mlv
    Mar 29, 2014 at 14:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .