Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried to install gnucap (I downloaded it from the website with the extension .tar.gz) in the Ubuntu live-usb. I have tried to do it in the terminal with:

sudo apt-get install gnucap

But the problem is that it always tell me :

E:Unable to Locate Package

Could someone tell me what should I do to install the software?

share|improve this question

If you're on a LiveCD you need to sudo apt-get update first, then try your install command.

Try that and then please update your question with the results.

share|improve this answer
hey,thanks for your answer,i have installed the program with a *.deb extension file in the software center8not terminal) but there is another problem: in my case the ubuntu system is running in the usb, and everytime you use it, you should intall the octave again, because it will be deleted everytime you shut down the system, the same thing happens with another program that i installed, it there any solution to avoid install the program everytime that i use it? – junting Mar 21 '12 at 13:07
See here:… – Jorge Castro Mar 21 '12 at 14:22

The way to install a file *.tar.gz is first decompress it with tar -zxvf file.tar.gz and then running the binary file or installing with, ./configure; make install.

Octave is in the Ubuntu universe and can be installed with synaptic or apt-get. The package name is "octave".

share|improve this answer
thank you very much. – junting Mar 21 '12 at 13:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.