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

Re: source code installation



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.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: