• Home
  • Popular Downloads
  • Contact Us
  • Submit

Softpile

Free Downloads

Main Navigation
  • Home
  • Windows
  • Mac OS X
  • Business
  • Desktop
  • Development
  • Education
  • Games
  • Internet
  • Multimedia
  • Utilities
Home » Linux » pkgtools

pkgtools

July 10, 2008
pkgtools (aka Portupgrade) is a tool set for working with ports and packages.
Version: 2.3.2 / 2.4.5
License: GPL
Operating System: Linux
Homepage: wiki.freebsd.org
Developed by: Akinori MUSHA
pkgtools (aka Portupgrade) is a tool set for working with ports and packages. It enhances abilities of system tools and adds many new ones. It is highly tunable via its configuration file and allows you to create individual svariable environment for every port you like, to define commands that will be executed before/after port upgrade stages.

pkgtools uses hash databases to keep information about available ports (in the ports tree), installed ports, dependencies, etc. So access to the information is fast. E.g. portversion(1) is much faster than pkg_version(1). (But note: you have to have a fresh INDEX file for relevant results).

pkgtools consist of the utils:

· portupgrade - upgrade a port using ports or packages.
· portinstall - helps you install new ports in a handy way.
· pkg_deinstall - wraps pkg_delete(1) and provides additional features.
· pkg_fetch - fetches packages from a remote site.
· pkg_which - checks which package a file came from quickly.
· portversion - a fast version of pkg_version(1).
· portsclean - cleans ports workdirs, unreferenced distfiles, old and orphan shared libraries, and stale packages.
· portcvsweb - instantly lets you browse change history via CVSweb.
· pkgdb - manages and searches the package database.
· portsdb - creates binary database from the ports INDEX.

Tips and hints for using

· Look at pkgtools.conf. You'll find many interesting examples there.
· portupgrade can stop/start/restart services when you like. Add these lines in pkgtools.conf and you'll always have service started after an upgrade process:

AFTERINSTALL = {
'*' => proc { |origin|
cmd_start_rc(origin)
},
}

· You can fetch INDEX and rebuild portsdb with one command:

portsdb -Fu

· Use portinstall(1) and pkg_deinstall(1) as an alternative to pkg_add(1) and pkg_delete(1).
· You can see a port history in your browser with portcvsweb(1) easily.
· portsclean -D will purge old distfiles. portsclean -C will clean all 'work' directories. portsclean -L will clean up unused libraries in /usr/local/lib/compat/pkg. portsclean -P will clean up outdated packages.
· If you afraid that something will able going wrong after upgrade, you can preserve old packages with -b option.

What's New in This Release:

· [portversion, portversion.1] Document new options.
· [pkgtools.rb] Do not touch +CONTENTS file if it's not necessary.
· [pkgmisc.rb] Remove temporary dir with `rm -r'. It could be inner dirs there.
· [pkgdu] A new utility to display disk usage of installed packages.
freebsd freebsd ports package package manager ports system administration
Free Download 113K
0
  • Share on:

Sponsored

Categories

  • Linux

Related Downloads

GNOME Configurator
GNOME Configurator is a program for editing advanced GNOME settings in an easy ...
Launchpad PPA Key Importer
Launchpad PPA key import script
Ubuntu Bootloader Manager
Ubuntu Bootloader Manager is a graphical user interface for configuring GRUB's ...
cec
cec (Coraid Ethernet Console) client, can connect to any CEC server over raw ...
seccheck
Seccheck is a feature rich, modular, host-level security checker for Solaris 10.
Copyright © 1999-2017 Softpile Free Downloads
  • Contact Us
  • Submit
  • Privacy Policy
  • Disclaimer
  • Terms of Use