12.07.2015 Views

download

download

download

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3# portversion -voL =thunderbird-1.5.0.10 < needs updating (port has 2.0.0.0)vlc-0.8.5_12< needs updating (port has 0.8.6.b,2)The above command checks all the installed packages against the equivalent portsavailable in the repository. Only the packages, whose version is not equal to theversion available in the ports, are shown (-o –L = argument). The latest availableversion is also shown for your reference (-v argument).pkg_whichThe pkg_which(1) utility is very useful in finding out which package has installed aspecific file. If the given file is installed by any of the installed packages, the name ofthe package will be returned:# pkg_which visudosudo-1.6.9.14portscleanThe portsclean(1) helps a system administrator to clean the garbage remainingfrom the ports build process, stale package files, and duplicated or orphaned, sharedlibraries. It is good practice to run portsclean once in a while to clean up thegarbage and free some disk space.# portsclean -CDLCleaning out /usr/ports/*/*/work...Delete /usr/ports/databases/mysql50-client/workDelete /usr/ports/devel/t1lib/workDelete /usr/ports/www/eventum/workdone.Detecting unreferenced distfiles...Delete /usr/ports/distfiles/asterisk-1.4.2.tar.gzDelete /usr/ports/distfiles/avahi-0.6.17.tar.gzDelete /usr/ports/distfiles/dnspython-1.4.0.tar.gzPortsclean does not actually remove the orphaned and duplicated,shared, libraries but moves them to /usr/local/lib/compat/pkg,just in case you want to restore them.[ 59 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!