pkg_delete.1 (174475) | pkg_delete.1 (179433) |
---|---|
1.\" 2.\" FreeBSD install - a package for the installation and maintainance 3.\" of non-core utilities. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" Jordan K. Hubbard 15.\" 16.\" 17.\" @(#)pkg_delete.1 | 1.\" 2.\" FreeBSD install - a package for the installation and maintainance 3.\" of non-core utilities. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" Jordan K. Hubbard 15.\" 16.\" 17.\" @(#)pkg_delete.1 |
18.\" $FreeBSD: head/usr.sbin/pkg_install/delete/pkg_delete.1 174475 2007-12-09 11:01:58Z krion $ | 18.\" $FreeBSD: head/usr.sbin/pkg_install/delete/pkg_delete.1 179433 2008-05-30 14:26:09Z flz $ |
19.\" | 19.\" |
20.Dd June 29, 2004 | 20.Dd May 30, 2008 |
21.Dt PKG_DELETE 1 22.Os 23.Sh NAME 24.Nm pkg_delete 25.Nd a utility for deleting previously installed software package distributions 26.Sh SYNOPSIS 27.Nm 28.Op Fl dDfGinrvxX --- 38 unchanged lines hidden (view full) --- 67.Xr pkg_info 1 68command to examine the installed package control files. 69.Ef 70.Sh OPTIONS 71The following command line options are supported: 72.Bl -tag -width indent 73.It Ar pkg-name ... 74The named packages are deinstalled. | 21.Dt PKG_DELETE 1 22.Os 23.Sh NAME 24.Nm pkg_delete 25.Nd a utility for deleting previously installed software package distributions 26.Sh SYNOPSIS 27.Nm 28.Op Fl dDfGinrvxX --- 38 unchanged lines hidden (view full) --- 67.Xr pkg_info 1 68command to examine the installed package control files. 69.Ef 70.Sh OPTIONS 71The following command line options are supported: 72.Bl -tag -width indent 73.It Ar pkg-name ... 74The named packages are deinstalled. |
75.It Fl a | 75.It Fl a , -all |
76Unconditionally delete all currently installed packages. | 76Unconditionally delete all currently installed packages. |
77.It Fl i | 77.It Fl i , -interactive |
78Request confirmation before attempting to delete each package, 79regardless whether or not the standard input device is a 80terminal. | 78Request confirmation before attempting to delete each package, 79regardless whether or not the standard input device is a 80terminal. |
81.It Fl v | 81.It Fl v , -verbose |
82Turn on verbose output. | 82Turn on verbose output. |
83.It Fl D | 83.It Fl D , -no-script , -no-scripts |
84If a deinstallation script exists for a given package, do not execute it. | 84If a deinstallation script exists for a given package, do not execute it. |
85.It Fl n | 85.It Fl n , -dry-run |
86Do not actually deinstall a package, just report the steps that 87would be taken if it were. | 86Do not actually deinstall a package, just report the steps that 87would be taken if it were. |
88.It Fl p Ar prefix | 88.It Fl p , -prefix Ar prefix |
89Set 90.Ar prefix 91as the directory in which to delete files from any installed packages 92which do not explicitly set theirs. 93For most packages, the prefix will 94be set automatically to the installed location by 95.Xr pkg_add 1 . | 89Set 90.Ar prefix 91as the directory in which to delete files from any installed packages 92which do not explicitly set theirs. 93For most packages, the prefix will 94be set automatically to the installed location by 95.Xr pkg_add 1 . |
96.It Fl d | 96.It Fl d , -clean-dirs |
97Remove empty directories created by file cleanup. 98By default, only 99files/directories explicitly listed in a package's contents (either as 100normal files/directories or with the 101.Cm @dirrm 102directive) will be removed at deinstallation time. 103This option tells 104.Nm 105to also remove any directories that were emptied as a result of removing 106the package. | 97Remove empty directories created by file cleanup. 98By default, only 99files/directories explicitly listed in a package's contents (either as 100normal files/directories or with the 101.Cm @dirrm 102directive) will be removed at deinstallation time. 103This option tells 104.Nm 105to also remove any directories that were emptied as a result of removing 106the package. |
107.It Fl f | 107.It Fl f , -force |
108Force removal of the package, even if a dependency is recorded or the 109deinstall or require script fails. | 108Force removal of the package, even if a dependency is recorded or the 109deinstall or require script fails. |
110.It Fl G | 110.It Fl G , -no-glob |
111Do not try to expand shell glob patterns in the 112.Ar pkg-name 113when selecting packages to be deleted (by default 114.Nm 115automatically expands shell glob patterns in the 116.Ar pkg-name ) . | 111Do not try to expand shell glob patterns in the 112.Ar pkg-name 113when selecting packages to be deleted (by default 114.Nm 115automatically expands shell glob patterns in the 116.Ar pkg-name ) . |
117.It Fl x | 117.It Fl x , -regex |
118Treat the 119.Ar pkg-name 120as a regular expression and delete all packages whose names match 121that regular expression. 122Multiple regular expressions could be 123provided, in that case 124.Nm 125deletes all packages that match at least one 126regular expression from the list. | 118Treat the 119.Ar pkg-name 120as a regular expression and delete all packages whose names match 121that regular expression. 122Multiple regular expressions could be 123provided, in that case 124.Nm 125deletes all packages that match at least one 126regular expression from the list. |
127.It Fl X | 127.It Fl X , -extended |
128Like 129.Fl x , 130but treats the 131.Ar pkg-name 132as an extended regular expression. | 128Like 129.Fl x , 130but treats the 131.Ar pkg-name 132as an extended regular expression. |
133.It Fl r | 133.It Fl r , -recursive |
134Recursive removal. 135In addition to specified packages, delete all 136packages that depend on those packages as well. 137.El 138.Sh TECHNICAL DETAILS 139The 140.Nm 141utility --- 152 unchanged lines hidden --- | 134Recursive removal. 135In addition to specified packages, delete all 136packages that depend on those packages as well. 137.El 138.Sh TECHNICAL DETAILS 139The 140.Nm 141utility --- 152 unchanged lines hidden --- |