[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: source code installation



Thanks Florian. I followed your instruction, but got following result. I've tried both with CD and without CD in the driver, but the same result.

# apt-get install openoffice.org
Reading package lists... Done
Building dependency tree... Done
Package openoffice.org 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
However the following packages replace it:
  ttf-opensymbol openoffice.org-common openoffice.org-core
E: Package openoffice.org has no installation candidate

I do have a CD with all deb packages in /media/cdrom0/pool/main/o/openoffice.org/
openoffice.org-base_2.0.4.dfsg.2-5etch1_i386.deb
openoffice.org-common_2.0.4.dfsg.2-5etch1_all.deb
openoffice.org-core_2.0.4.dfsg.2-5etch1_i386.deb
openoffice.org-evolution_2.0.4.dfsg.2-5etch1_i386.deb
openoffice.org-java-common_2.0.4.dfsg.2-5etch1_all.deb
ttf-opensymbol_2.0.4.dfsg.2-5etch1_all.deb

How should I install them and which one I should install?

Thank you.

Jim

Florian Kulzer wrote:
On Sun, Aug 12, 2007 at 16:18:43 +1000, jupiter DOT hce AT gmail DOT com wrote:

Hi,

I've installed Debian 4.0 from a CD, just found that the installation does not let me to select applications. Mow I have to install an application from the CD (I don't have a network connection, a win modem has not worked yet ...)

1. Which openoffice in the CD I should install? Is the command like:

apt-get install openoffice

from /mnt/cdrom/debian/pool/main/o/openoffice.org?


Just run

apt-get install openoffice.org

Apt will tell you which CD you have to insert. This requires that apt
scanned all your CDs earlier. If you did not do this during installation
then you can use the "apt-cdrom" command to do it at any time.


2. I need to install some lib source code to build win modem code
Now I have to remove all games (as I've got limited space), how can I do it?

3. Due to limited space, I need to remove some packages I don't need such as games, how do I know which package I installed are for games?


With aptitude you can do searches like this:

aptitude search '~i(~sgames|~Ggame)'

This will list all installed (~i) packages which belong to the "games"
section (~sgames) or (|) which have the string "game" in one of their
debtags (~Ggame).

You can uninstall all these packages with one fell blow by replacing
"search" with "remove" in the command above. If you want to have a bit
more control over what is going on then you can use aptitude in
interactive mode, look at "Installed Packages > games" and decide
yourself which ones you want to remove.




Reply to: