~ chicken-core (chicken-5) /chicken-uninstall.mdoc


 1.\"  Copyright (c) 2007-2022, The CHICKEN Team
 2.\"  All rights reserved.
 3.\"
 4.\"  Redistribution and use in source and binary forms, with or without
 5.\"  modification, are permitted provided that the following conditions
 6.\"  are met:
 7.\"  1. Redistributions of source code must retain the above copyright
 8.\"     notice, this list of conditions and the following disclaimer.
 9.\"  2. Redistributions in binary form must reproduce the above copyright
10.\"     notice, this list of conditions and the following disclaimer in the
11.\"     documentation and/or other materials provided with the distribution.
12.\"  3. The name of the authors may not be used to endorse or promote products
13.\"     derived from this software without specific prior written permission.
14.\"
15.\"  THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
16.\"  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17.\"  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18.\"  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\"  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\"  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\"  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\"  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\"  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\"  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\"
27.Dd Apr 26, 2017
28.Dt CHICKEN-UNINSTALL 1
29.Os
30.Sh NAME
31.Nm chicken-uninstall
32.Nd uninstall extension library
33.Sh SYNOPSIS
34.Nm
35.Op Ar OPTION ...
36.Op Ar NAME ...
37.Sh DESCRIPTION
38.Nm
39removes one or more already installed extension
40libraries for the CHICKEN Scheme system.
41.Ar PATTERN
42may be a regular expression naming multiple extensions or just an extension name.
43.Pp
44The program accepts following arguments:
45.Bl -tag -width Ds
46.It Fl h , Fl help
47Show usage and exit.
48.It Fl version
49Show version and exit.
50.It Fl force
51Don't ask, just delete whatever matches.
52.It Fl match
53Treat
54.Ar NAME
55as a glob pattern.
56.It Fl s , Fl sudo
57Use external program to elevate privileges for deleting files.
58The program defaults to
59.Xr sudo 8
60but can be overridden with
61.Ev SUDO
62environment variable.
63.It Fl host
64When cross-compiling, only uninstall host extensions.
65.It Fl target
66When cross-compiling, only uninstall target extensions.
67.El
68.Sh ENVIRONMENT
69The following environment variables change the behaviour of
70.Nm Ns :
71.Bl -tag -width CHICKEN_INSTALL_REPOSITORY
72.It Ev CHICKEN_INSTALL_REPOSITORY
73The path where extension libraries are installed. Defaults to the
74package library path selected during configuration
75.Pq usually $prefix/lib/chicken/<binary-version> .
76.It Ev SUDO
77The command to execute when using
78.Fl s
79flag in command. If not provided, defaults to
80.Xr sudo 8 .
81.El
82.Sh EXIT STATUS
83.Ex -std
84.Sh SEE ALSO
85.Xr chicken 1 ,
86.Xr chicken-install 1 ,
87.Xr chicken-status 1
88.Pp
89More information can be found in the
90.Lk http://wiki.call-cc.org/manual/index "CHICKEN User's Manual".
91.Sh AUTHORS
92.An The CHICKEN Team
93.Sh BUGS
94Submit bug reports by e-mail to
95.Mt chicken-janitors@nongnu.org
Trap