PDA

View Full Version : [ubuntu] Can't find package



rocknzen
August 11th, 2008, 05:24 AM
I downloaded this package ActivePython-2.5.2.2-linux-x86.tar.gz and put it in my Home folder. When I try to install this what I get.

This is what I enter into terminal:


sudo apt-get install ActivePython-2.5.2.2-linux-x86.tar.gz
And this is output:


E: Couldn't find package ActivePython-2.5.2.2-linux-x86.tar.gzWhat does the E: represent or mean?

tuxxy
August 11th, 2008, 05:25 AM
tAR.GZ is similar to .ZIP in windows, you need to extract the contents first, right click on the icon and select extract here. Now you will need to run the install file, apt-get will only install apps that are supported in the repos.

You do know that python will be available in the repos, open synaptic and search for python

atoponce
August 11th, 2008, 05:40 AM
tar -xf ActivePython-2.5.2.2-liunx-x86-tar.gz
cd ActivePython-2.5.2.2-linux-x86
sh install.sh

Done!

rocknzen
August 11th, 2008, 07:33 AM
atoponce this is the output I got when I tried what you suggested


tar: ActivePython-2.5.2.2-liunx-x86-tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

iaculallad
August 11th, 2008, 07:35 AM
On your terminal, change directory to your home directory:


cd ~

and the rest, you do what atoponce instructed.

NOTE: Be sure that the archive file is SAVED/COPIED in your home directory.

rocknzen
August 11th, 2008, 07:43 AM
I am at my home directory

mcduck
August 11th, 2008, 07:49 AM
atoponce this is the output I got when I tried what you suggested

There's a typo in that command.

tar: ActivePython-2.5.2.2-liunx-x86-tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

The best way to handle long file names is to type couple of first letters and then just hit the tab key to let autocompletion fill the rest for you. This way it's pretty impossible to misspell file names. Autocompletion also works for commands. And if what you have typed is not enough for the autocompletion to know what you are trying to type you can either hit the tab again to get a list of all possibilitties, or type a copule of letters more and try again.

alienexplorers
August 11th, 2008, 07:57 AM
ActivePython-2.5.2.2-linux-x86.tar.gz is not listed in the repositories so apt-get will not load that program.

srid
April 12th, 2010, 09:04 PM
See installation instructions for ActivePython in Ubuntu in this post: http://ubuntuforums.org/showthread.php?p=9113066#post9113066