Re: source code installation
On Sun, Aug 19, 2007 at 17:53:47 +1000, jupiter DOT hce AT gmail DOT com wrote: > Thanks Florian and Andrei. The installation of OpenOffice works indeed > after installing the second CD. > > > 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. > > I've also tried to run aptitude search '~i(~sgames|~Ggame)' and got > following list: > i A gnome-about - The GNOME about box > i A gnome-applets - Various applets for GNOME 2 panel - > binary > i A gnome-games - games for the GNOME desktop > i A gnome-games-data- data files for the GNOME games > i A wodim - command line CD/DVD writing tool > i A xbase-clients - miscellaneous X clients > > I guess the next command I should run to remove all games are following. > Are they correct? > > aptitude purge $(gnome-about) > aptitude purge $(gnome-applets) > aptitude purge $(gnome-games) > aptitude purge $(gnome-games-data) > aptitude purge $(wodim) > aptitude purge $(xbase-clients) Wodim is Debian's version of cdrecord, so don't remove it if you plan to burn CDs or DVDs at some point. xbase-clients is necessary to run X normally. Gnome-applets has some quite "serious" applications; see for yourself with "apt-cache show gnome-applets" and decide if you want to keep it. (You seem to have run into a bug of aptitude's search mechanism: It looks like it can return false positives with the "~Ggame" pattern for packages which do not have any debtags. This is fixed in Sid as far as I can tell.) That leaves gnome-about (~ 0.5 MB), gnome-games (~ 2 MB) and gnome-games-data (~ 20 MB). You can purge them to free some disk space. You can use whatever package manager you like best to do this; it does not have to be aptitude. (I like aptitude very much, but you have to be prepared to read the documentation in package aptitude-doc-en, otherwise some of its advanced dependency-handling features will confuse you.) -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: source code installation
On Sun, Aug 19, 2007 at 05:53:47PM +1000, [EMAIL PROTECTED] wrote: > > 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. > > I've also tried to run aptitude search '~i(~sgames|~Ggame)' and got > following list: > i A gnome-about - The GNOME about box > i A gnome-applets - Various applets for GNOME 2 panel - > binary > i A gnome-games - games for the GNOME desktop > i A gnome-games-data- data files for the GNOME games > i A wodim - command line CD/DVD writing tool > i A xbase-clients - miscellaneous X clients Those packages are all installed (i) automatically (A) as dependencies to other packages (that's why I don't like Gnome). If you try to remove them aptitude should complain about broken packages and look for solutions. Maybe there is a solution to remove some by getting rid of some Gnome metapackage. > I guess the next command I should run to remove all games are following. > Are they correct? > > aptitude purge $(gnome-about) > aptitude purge $(gnome-applets) > aptitude purge $(gnome-games) > aptitude purge $(gnome-games-data) > aptitude purge $(wodim) > aptitude purge $(xbase-clients) No, you need 'aptitude purge packagename' or you can (try to) do it in one blow with Florian's trick. But at least wodim and xbase-clients you DON'T want removed anyway. Look at the description for the reasons ;) (Tip: 'aptitude show wodim' for the full info.) Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: source code installation
Thanks Florian and Andrei. The installation of OpenOffice works indeed after installing the second CD. > 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. I've also tried to run aptitude search '~i(~sgames|~Ggame)' and got following list: i A gnome-about - The GNOME about box i A gnome-applets - Various applets for GNOME 2 panel - binary i A gnome-games - games for the GNOME desktop i A gnome-games-data- data files for the GNOME games i A wodim - command line CD/DVD writing tool i A xbase-clients - miscellaneous X clients I guess the next command I should run to remove all games are following. Are they correct? aptitude purge $(gnome-about) aptitude purge $(gnome-applets) aptitude purge $(gnome-games) aptitude purge $(gnome-games-data) aptitude purge $(wodim) aptitude purge $(xbase-clients) Thank you. Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: source code installation
On Sat, Aug 18, 2007 at 20:42:03 +1000, webmail DOT hce AT gmail DOT com wrote: > Andrei Popescu wrote: >> Your apt knows only of one source for packages, and that is the CD1. You >> need to add additional sources. > > I've only got one CD, will try to download second. I checked it now, you indeed need the second CD for openoffice.org: http://atterer.net/jigdo/jigdo-search.php?q=&l=http%3A%2F%2Fcdimage.debian.org%2Fcdimage%2Frelease%2F4.0_r0%2Fi386%2Fjigdo-cd%2Fdebian-40r0-i386-CD-2.jigdo You can do your own searches here, for example to find your kernel headers: http://www.debian.org/CD/jigdo-cd/#search The kernel headers package will be called "linux-headers-XXX" where "XXX" corresponds to the output of "uname -r" for your running kernel. You can also download individual .deb files from every Debian mirror, e.g. the kernel headers from the US mirror: http://ftp.us.debian.org/debian/pool/main/l/linux-2.6/ However, for something like openoffice.org (which consists of many interdependent packages) it is probably better to get the relevant CD, scan it with "apt-cdrom" and let aptitude or apt-get take care of the dependencies for you. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: source code installation
On Sat, Aug 18, 2007 at 08:42:03PM +1000, [EMAIL PROTECTED] wrote: > I don't have a network connection, a win modem is the only one I have and I > am currently working to try compile the win modem source code. I'll have to > install kernel header files to do it. But first, I have to learn how to > install packages in Debian. Good luck with that. If you have problems start a new thread here. >> P.S. Is there a reason for using apt-get? aptitude is the recommended >> frontend and also has a nice text interface if you start it without >> options. > > I am new to Debian :-), just follow instructions from people who helped me > through the package installation. If you could give me aptitude commands > for package installation, I'll try it. The basic command-line commands are the same/similar as apt-get: Command Interactive Explanation linemode === update u (small) update package list upgrade (none) upgrade packages (do not remove or add new packages) dist-upgradeU (capital U) upgrade packages (remove or add if necessary) install + install package(s) remove - remove package(s) without config files purge _ (underscore) remove package(s) including config files g (first) (go) show scheduled actions (+,-,U, ...) g (second) perform actions Ctrl-t/F10 open menu HTH, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: source code installation
Andrei Popescu wrote: Your apt knows only of one source for packages, and that is the CD1. You need to add additional sources. I've only got one CD, will try to download second. If you already have more than the first CD then you could add it with apt-cdrom (see 'man apt-cdrom' for more details). Otherwise, if your internet connection is working under Debian, you should uncomment (remove the # in front of) the line starting with 'deb' and also add something like: deb http://ftp.us.debian.org/debian etch main contrib Replace 'us' with your country code if necessary or check the mirror list for a mirror close to you (http://www.debian.org/mirror/list) After that run 'apt-get update' and try installing openoffice again. I don't have a network connection, a win modem is the only one I have and I am currently working to try compile the win modem source code. I'll have to install kernel header files to do it. But first, I have to learn how to install packages in Debian. P.S. Is there a reason for using apt-get? aptitude is the recommended frontend and also has a nice text interface if you start it without options. I am new to Debian :-), just follow instructions from people who helped me through the package installation. If you could give me aptitude commands for package installation, I'll try it. Thank you. Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: source code installation
On Sat, Aug 18, 2007 at 07:15:42PM +1000, [EMAIL PROTECTED] wrote: > Florian Kulzer wrote: >> [ Your "top-posting" style of replying makes it harder for other people >> to join the discussion since they have to do quite some scrolling up >> and down to understand the context, especially if a certain topic has >> already received many messages. The recommended approach on this >> list is to put answers into the old text at the appropriate place >> while trimming the old text where possible. Ideally, every message >> should be a short "story" with all the relevant context in >> chronological order. ] > > Sorry, I am new to Debian. Hope this is right. Perfect :) > Please see the following sources.list: > > # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 > 20070407-11:55]/ etch contrib main > > deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 > 20070407-11:55]/ etch contrib main > > # Line commented out by installer because it failed to verify: > #deb http://security.debian.org/ etch/updates main contrib > # Line commented out by installer because it failed to verify: > #deb-src http://security.debian.org/ etch/updates main contrib Your apt knows only of one source for packages, and that is the CD1. You need to add additional sources. If you already have more than the first CD then you could add it with apt-cdrom (see 'man apt-cdrom' for more details). Otherwise, if your internet connection is working under Debian, you should uncomment (remove the # in front of) the line starting with 'deb' and also add something like: deb http://ftp.us.debian.org/debian etch main contrib Replace 'us' with your country code if necessary or check the mirror list for a mirror close to you (http://www.debian.org/mirror/list) After that run 'apt-get update' and try installing openoffice again. Regards, Andrei P.S. Is there a reason for using apt-get? aptitude is the recommended frontend and also has a nice text interface if you start it without options. -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
Re: source code installation
Florian Kulzer wrote: [ Your "top-posting" style of replying makes it harder for other people to join the discussion since they have to do quite some scrolling up and down to understand the context, especially if a certain topic has already received many messages. The recommended approach on this list is to put answers into the old text at the appropriate place while trimming the old text where possible. Ideally, every message should be a short "story" with all the relevant context in chronological order. ] Sorry, I am new to Debian. Hope this is right. More openoffice.org-* packages should be available. Which CD is this, the first CD of the standard Etch 21 CD set? Yes, I only scanned first CD. "apt-get install openoffice.org" should have worked. I think we need to have a quick look at your apt configuration. Please post the contents of the file /etc/apt/sources.list from your system. Please see the following sources.list: # deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 CD Binary-1 20070407-11:55]/ etch contrib main # Line commented out by installer because it failed to verify: #deb http://security.debian.org/ etch/updates main contrib # Line commented out by installer because it failed to verify: #deb-src http://security.debian.org/ etch/updates main contrib Thank you. Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: source code installation
[ Your "top-posting" style of replying makes it harder for other people to join the discussion since they have to do quite some scrolling up and down to understand the context, especially if a certain topic has already received many messages. The recommended approach on this list is to put answers into the old text at the appropriate place while trimming the old text where possible. Ideally, every message should be a short "story" with all the relevant context in chronological order. ] On Wed, Aug 15, 2007 at 20:39:57 +1000, YH wrote: > 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 More openoffice.org-* packages should be available. Which CD is this, the first CD of the standard Etch 21 CD set? > How should I install them and which one I should install? "apt-get install openoffice.org" should have worked. I think we need to have a quick look at your apt configuration. Please post the contents of the file /etc/apt/sources.list from your system. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
source code installation
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? 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? Thank you. Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]