-
Junior Member
registered user
Package Selection while installing
Hey guys!
I was wondering is there a way to not install some packages of Knoppix while doing a hdd install?
Like Gnome, and all those other X window managers, I don't need them?
How can I "not" install gnome while hdd installing Knoppix?
Or can I just someway uninstall them after a full install?
If yes, how?
Thanks a lot!
-
Senior Member
registered user
It is not possible not to install some of them (btw gnome is not on the knoppix-cd) but you can uninstall.
Just type in in a root-console:
Code:
apt-get remove (packetname you want to remove)
you can also (if you have an internetconnection) first do an
Code:
apt-get install synaptic
then you can start synaptic, which is a graphical packetmanager, by
on the commandline, or choose it in the kde-menu (dunno where it is normally installed)
and use that for installing, and uninstalling packages you dont want. but be a bit carefull, although apt-get will solve most problems...
remember, if you want to remove a package, apt-get (and synaptic) will check the dependency's. some might be quite huge... (if you want to remove kdebase3, for example, whole kde will be removed and some 215meg will be freed... so, in that case, don't click 'yes' )
-
Junior Member
registered user
Ok then!
Thanks alot!
At least I can get those other WMs like icewm, etc...
and other programs out of the way =)
Oh and another question, which probably everybody knows the answer but I don't =) : how can I see the package list that I just updated using :
is there something like "apt view" ??
Thanks a lot!
-
Senior Member
registered user
doesnt update your software, but only the list of available software on the web. you have to perform an
to actually upgrade your packages.
and you'll be told what will be/is upgraded...
-
Senior Member
registered user
' dpkg -l | less ' (That's dash L PIPE less.) You can see the list of packages that have been updated (as long as you don't do apt-get clean) by ' ls -l /var/cache/apt/archives '.
--Here is a helpful script I run to get rid of certain packages after a fresh install - you should check it 1st to make sure it's not getting rid of things you WANT. Save it in /usr/local/bin and chmod +x it, and run as root.
#BEGIN knx-freshinstall-purgedebs
Code:
#!/bin/bash
function deldeb
{
echo " --- Deleting: $1"
apt-get remove --purge --assume-yes $1
}
# Get rid of default Knoppix pkgs we don't need
deldeb emacs*
##deldeb gnome-bin
##deldeb gnome-desktop-*
##deldeb gnome-games-locale
##deldeb gnome-*
##deldeb docbook*
deldeb amanda-*
deldeb amor
deldeb cervisia
deldeb dump
deldeb falconseye*
deldeb festival
deldeb freeciv*
deldeb frotz
deldeb gimp1.*
deldeb gphoto2
#deldeb ircii
deldeb isdn*
deldeb jpilot*
deldeb kde-i18n*
deldeb larswm
deldeb lincity*
#Lopster no longer installed
##deldeb openoffice*
##deldeb pcmcia*
deldeb psi
deldeb qcad
deldeb rosegarden
deldeb scantv
deldeb tipptrainer
deldeb bochs*
deldeb chromium*
deldeb foomatic*
# (14MB)
deldeb frozen-bubble*
# (12.5MB)
deldeb fb-music-high
# Frozen-bubble music
deldeb gnocatan*
deldeb gramofile
deldeb mozilla*
# (33 MB - we have opera now)
deldeb nethack*
deldeb pilot-link
deldeb wireless-tools
##Remove all unnec xserver-'*' (1by1)
#xserver-3dlabs 3.3.6-44 X server for 3DLabs GLINT and
#xserver-8514 3.3.6-44 X server for ATI 8514/A-based graphics
#xserver-agx 3.3.6-44 X server for IBM XGA and IIT AGX-based
#xserver-common 4.2.1-4 files and utilities common to all X
#xserver-common 3.3.6-44 files and utilities common to XFree86 3.x
#xserver-i128 3.3.6-44 X server for Number Nine Imagine 128
#xserver-mach32 3.3.6-44 X server for ATI Mach32-based graphics
#xserver-mach64 3.3.6-44 X server for ATI Mach64-based graphics
#xserver-mach8 3.3.6-44 X server for ATI Mach8-based graphics
#xserver-p9000 3.3.6-44 X server for Weitek P9000-based graphics
#xserver-s3 3.3.6-44 X server for S3 chipset-based graphics
#xserver-s3v 3.3.6-44 X server for S3 ViRGE and ViRGE/VX-based
#xserver-svga 3.3.6-44 X server for SVGA graphics cards
#xserver-vga16 3.3.6-44 X server for VGA graphics cards
#xserver-w32 3.3.6-44 X server for Tseng ET4000/W32 and
#xserver-xfree8 4.2.1-4 the XFree86 X server
deldeb xserver-3dlabs
deldeb xserver-8514
deldeb xserver-agx
deldeb xserver-i128
deldeb xserver-mach32
deldeb xserver-mach64
deldeb xserver-mach8
deldeb xserver-p9000
deldeb xserver-s3
deldeb xserver-s3v
deldeb xserver-w32
deldeb ace-of-penguins
deldeb asc
# (12MB)
deldeb autoconf2.13
# (obsolete)
deldeb dc
# (reversepolishcalc)
deldeb ettercap
##deldeb gaim*
# (2.5MB)
deldeb gpsdrive
deldeb imaze
deldeb lde
deldeb radio
deldeb rocks-n-diamonds
# (8.3MB!)
deldeb unp
deldeb unzoo
deldeb unarj
deldeb v4lconf
deldeb vgabios
deldeb xdaliclock
deldeb pcscd
deldeb slrn
deldeb cdrdao*
deldeb gcdmaster*
# More stuff, added 2003.0606 (this is from purgedebs2)
deldeb airsnort
deldeb arts
deldeb atitvout
deldeb audacity
deldeb brltty
deldeb configure-xawtv
deldeb dash
# Some kind of shell
deldeb dillo
deldeb emacs21-common
deldeb emacsen-common
deldeb enigma
# Game
deldeb fluxbox
# Win mgr
deldeb gocr
# cmdline OCR
deldeb gtans
# Game
deldeb locales
deldeb s3switch
deldeb scribus
# Desktop pub
# Moved to end due to prompt (remove mysql add-in)
deldeb apache*
Originally Posted by
panther
Ok then!
Thanks alot!
At least I can get those other WMs like icewm, etc...
and other programs out of the way =)
Oh and another question, which probably everybody knows the answer but I don't =) : how can I see the package list that I just updated using :
is there something like "apt view" ??
Thanks a lot!
-
Senior Member
registered user
tnx, dave, this script is extremely usefull. I guess I have to copy tha whole into an .sh and execute it, after edit?
grtz
-
Senior Member
registered user
btw - where to find it, does it have a homepage, any mantainers?
-
Senior Member
registered user
> Save it in /usr/local/bin and chmod +x it, and run as root.
#BEGIN knx-freshinstall-purgedebs
--You can save it as the name above, or rename it to anything you want. When you chmod +x it, there doesn't have to be a .sh extension and you don't have to type ' bash ' in front of it. Saving it in /usr/local/bin means it's in your $PATH already as well, and will show up if you do a ' whereis ' on it.
Originally Posted by
Superstoned
tnx, dave, this script is extremely usefull. I guess I have to copy tha whole into an .sh and execute it, after edit?
grtz
-
Senior Member
registered user
--Well, I created it Right now it doesn't have a homepage, but I should prolly update my Linuxtips page and link to it.
Originally Posted by
Superstoned
btw - where to find it, does it have a homepage, any mantainers?
-
Junior Member
registered user
I can't do it!
Hi guys!
I'm trying to use Dave_Bechtel's script but I can't
please help!
I logged on as root
I saved the code as "uninstall.sh" in my usr/local/bin,
then I did a chmod +x uninstall.sh
then when I type in "uninstall.sh" nothing happens?!
what am I doing wrong?
Thanks a lot!
Similar Threads
-
By quark in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 10-14-2004, 07:21 PM
-
By snowdog in forum General Support
Replies: 4
Last Post: 11-20-2003, 02:06 PM
-
By Johnny3 in forum General Support
Replies: 1
Last Post: 11-04-2003, 09:01 PM
-
By gizmu in forum Customising & Remastering
Replies: 0
Last Post: 04-04-2003, 08:48 PM
-
By redsea2002 in forum Ideas
Replies: 3
Last Post: 01-05-2003, 01:38 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$11.99
Team T-FORCE VULCAN Z 16GB (2 x 8GB) DDR4 3200 PC Ram Intel XMP 2.0 Memory
$27.99
A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L
$23.98
A-Tech 16GB DDR4 2400 MHz PC4-19200 Laptop SODIMM 260-Pin 2Rx8 Memory RAM 1x 16G
$24.99
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$11.99
Samsung 32GB 2Rx4 1X32GB DDR4-21300 PC4-2666V Server Memory RAM M393A4K40CB2-CTD
$29.69
Patriot Viper 16GB (2x8G) DDR3 1600MHz PC3-12800 C9 240-Pin UDIMM Desktop Memory
$21.49
Samsung 16GB 2Rx4 PC3L-12800R DDR3-1600 1.35V ECC REG RDIMM Server Memory RAM 1x
$8.50
Crucial 64GB Kit (2x 32GB) DDR5 5600 PC5-44800 Laptop Memory CT2K32G56C46S5
$150.00
TEAMGROUP T-Force Delta RGB 64GB (2x32GB) DDR5 RAM 6000MHz (FF4D532G6000HC38ABK)
$140.00