pkg-delete man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PKG-DELETE(8)		  BSD System Manager's Manual		 PKG-DELETE(8)

NAME
     pkg delete — deletes packages from the database and the system

SYNOPSIS
     pkg delete [-DfnqRy] [-Cgix] pkg-name ...
     pkg delete [-Dnqy] -a

     pkg delete [--{no-deinstall-script,force,dry-run,quiet,recursive,yes}]
	 [--{case-sensitive,glob,case-insensitive,regex}] pkg-name ...
     pkg delete [--{no-deinstall-script,dry-run,quiet,yes}] --all

DESCRIPTION
     pkg delete is used for deleting installed packages from the system.  pkg
     delete creates a work-list of all the installed packages matching the
     package names on the command line.	 The list is presented to the user.
     If the user confirms that they do want to remove those packages, or if
     the ASSUME_ALWAYS_YES configuration option is set, pkg delete proceeds to
     remove the listed packages.

     If the set of packages to be deleted would leave installed packages with
     unfulfilled dependencies, pkg delete will add the packages with unful‐
     filled dependencies to the list of packages to be deleted, unless force
     to proceed without deleting any other packages by the -f option.

OPTIONS
     The following options are supported by pkg delete:

     -a, --all	Deletes all installed packages from the system and empties the
		database.

     -C, --case-sensitive
		Make the standard or regular expression (-x) matching against
		pkg-name case sensitive.

     -D, --no-deinstall-script
		If a deinstallation script exists for a given package, do not
		execute it.

     -f, --force
		Forces packages to be removed despite leaving unresolved
		dependencies.

     -g, --glob
		Treat the package names as shell glob patterns.

     -i, --case-insensitive
		Make the standard or regular expression (-x) matching against
		pkg-name case insensitive.  This is the default, unless modi‐
		fied by setting CASE_SENSITIVE_MATCH to true in pkg.conf.

     -n, --dry-run
		Dry run mode.  The list of packages to delete is always
		printed, but no packages are actually deleted.

     -q, --quiet
		Force quiet output, except where -n is also used, when pkg
		delete will show the list of packages to be deleted.

     -R, --recursive
		Delete all packages that require the listed packages as well.

     -x, --regex
		Treat the package names as regular expressions according to
		the "modern" or "extended" syntax of re_format(7).

     -y, --yes	Assume yes when asked for confirmation before package dele‐
		tion.

ENVIRONMENT
     The following environment variables affect the execution of pkg delete.
     See pkg.conf(5) for further description.

     DEFAULT_ALWAYS_YES

     ASSUME_ALWAYS_YES

     HANDLE_RC_SCRIPTS

     PKG_DBDIR

     CASE_SENSITIVE_MATCH

FILES
     See pkg.conf(5).

SEE ALSO
     pkg_printf(3), pkg_repos(3), pkg-repository(5), pkg.conf(5), pkg(8),
     pkg-add(8), pkg-annotate(8), pkg-audit(8), pkg-autoremove(8),
     pkg-backup(8), pkg-check(8), pkg-clean(8), pkg-config(8), pkg-convert(8),
     pkg-create(8), pkg-fetch(8), pkg-info(8), pkg-install(8), pkg-lock(8),
     pkg-query(8), pkg-register(8), pkg-repo(8), pkg-rquery(8), pkg-search(8),
     pkg-set(8), pkg-shell(8), pkg-shlib(8), pkg-ssh(8), pkg-stats(8),
     pkg-update(8), pkg-updating(8), pkg-upgrade(8), pkg-version(8),
     pkg-which(8)

BSD			       November 18, 2014			   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net