Unable to locate essential development tools Ubuntu 11.04
- by Anita 7
I'm using Ubuntu 11.04 (VMware). I aim to implement OpenMP. Im using gcc 4.5 compiler. I tried to install it by using the command sudo apt-get install gcc 4.5.
Afterwards I proceed with gcc -fopenmp foo.c BUT the output was:
gcc: foo.c: No such file or directory gcc: no input files –.
Now I tried to install the package by using :
ubuntu@ubuntu:~$ sudo apt-get install essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package essential.
I also tried apt-cache search essential
and after that sudo apt-get install essential-dev
But the same error again,
E: Unable to locate package essential-dev
Any solution,please?
Do I need to download any package?
What should I do?
Thank you in advance :))