Pkgtools or Portupgrade is a software tool set that facilitates the management of ports and packages in computing systems.
One of the best things about pkgtools is its high degree of tunability. You can configure it according to your specific requirements, which makes it ideal for both beginners and advanced users. Additionally, it allows you to create an individual environment for every port and define commands that will be performed before and after the upgrade stages.
One of its key features is its use of hash databases, which makes it easier and faster to access information about available ports, dependencies, and installed packages. portversion is an excellent example of this speed, being much faster than pkg_version, as long as you have a fresh INDEX file.
pkgtools includes a variety of utilities, including portupgrade, portinstall, pkg_deinstall, pkg_fetch, pkg_which, portversion, portsclean, portcvsweb, pkgdb, and portsdb. Each of these tools is designed to make managing ports and packages more comfortable and efficient.
If you're new to pkgtools, there are several tips and tricks that can help you get the most out of it. For example, you can customize the pkgtools.conf file to suit your specific requirements, use portinstall and pkg_deinstall as an alternative to pkg_add and pkg_delete, and use portcvsweb to see port history in your browser.
Additionally, you can use portsclean to clean up work directories, unused libraries, and outdated packages. To preserve old packages after an upgrade, use the -b option. Finally, you can fetch INDEX and rebuild portsdb with a single command: portsdb -Fu.
Overall, this release improves on several features and offers several new tools, including pkgdu for analyzing package disk usage. If you're looking for a powerful toolset to manage ports and packages on your system, pkgtools is an excellent choice.
Version 2.3.2 / 2.4.5: N/A