Hitchhiker's Guide to Openbsd


- Listing installed packages


Download 1.27 Mb.
Pdf ko'rish
bet242/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   238   239   240   241   242   243   244   245   ...   258
Bog'liq
obsd-faq49

15.2.5 - Listing installed packages
You can see a list of installed packages by using the 
pkg_info(1)
 utility. 
pkg_info
aterm-0.4.2p1 color vt102 terminal emulator with 
transparency support
bzip2-1.0.4 block-sorting file compressor
unencumbered
expat-2.0.0 XML 1.0 parser written in C
fluxbox-0.9.15.1p0 window manager based on the original 
Blackbox code
gettext-0.14.6 GNU gettext
imlib2-1.3.0 image manipulation library
jpeg-6bp3 IJG's JPEG compression utilities
libiconv-1.9.2p3 character set conversion library
libltdl-1.5.22p1 GNU libtool system independent dlopen 
wrapper
libungif-4.1.4p0 tools and library routines for working 
with GIF images
libutf8-0.8 provides UTF-8 locale support
mutt-1.4.2.2i tty-based e-mail client
pcre-6.4p1 perl-compatible regular expression 
library
http://www.openbsd.org/faq/faq15.html (8 of 27)9/4/2011 10:02:29 AM


15 - The OpenBSD packages and ports system
png-1.2.14p0 library for manipulating PNG images
screen-4.0.3p1 multi-screen window manager
tcsh-6.14.00p1 extended C-shell with many useful 
features
tiff-3.8.2p0 tools and library routines for working 
with TIFF images
tin-1.8.2p0 threaded NNTP and spool based UseNet 
newsreader
When given an installed package name (or a location of a package which is to be installed), pkg_info(1) 
will show more detailed information about that specific package. 
15.2.6 - Updating installed packages
Let's say you had an older version of unzip installed before upgrading this box from OpenBSD 4.8 to 
4.9. Now you can easily upgrade to the newer 4.9 package as follows: 
sudo pkg_add -u unzip
unzip-5.52p0 (extracting): complete
unzip-5.52 (deleting): complete
unzip-5.52p0 (installing): complete
Clean shared items: complete
When a package has dependencies, they are also examined for updates. Invoking pkg_add(1) with the -u 
flag and no package name will try to update all installed packages. 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   238   239   240   241   242   243   244   245   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling