Mittwoch, 10. Dezember 2008

Vector Linux Knowledge

Install the Packages

  1. command line method: slapt-get --install [packagenames] , or

  2. gslapt method: launch gslapt, search for your required packages in the list, click those you want, click Package Install. Remember that this command actually fetches the package from a server and then installs it. This can take some time depending on the speed of your Internet connection, the load on the server and the speed of your system. Please be patient.

Other useful slapt-get commands

Please refer to the documentation for slapt-get: man slapt-get or go to the slapt-get FAQ site for more advanced topics.

You may wish to try some of these slapt-get commands:

  • to list all the available packages from the source repository: slapt-get --available

  • to list only those packages that you have already installed: slapt-get --installed

  • to search the listings for specific package(s): slapt-get --search [packagename(s)]

  • to install (or to upgrade an already installed) package(s): slapt-get --install [packagename(s)]

  • to remove packages(s): slapt-get --remove [packagename(s)]

  • to clear your temp directory of downloaded packages: slapt-get --clean

  • to show a package(s) description: slapt-get --show [package(s)]

  • to reinstall an existing package: slapt-get --reinstall --install [package]

  • to downgrade a package: slapt-get --reinstall --install [exactpackagenameandnumbers]

  • to show a sorted, paged list of available packages from the source repository: slapt-get --available|sort|less

  • to show a sorted, paged list of installed packages on your system: slapt-get --installed|sort|less

  • to show a sorted, paged list of available, uninstalled packages: slapt-get --available|grep inst=no|sort|less

  • to show only available packages related to e.g. fluxbox: slapt-get --available|grep fluxbox

  • to show only available, uninstalled packages specifically packaged for VL5: slapt-get --available|grep inst=no|grep vl5|sort|less

  • to install all packages pertaining to e.g. fluxbox: slapt-get --available|grep fluxbox|awk '{print $1}'|sort|uniq|xargs -r slapt-get --install

  • to install every available package not yet installed (DANGER!): slapt-get --available|grep inst=no|awk '{print $1}'|sort|uniq|xargs -r slapt-get --install