Posts

Showing posts with the label Ports

MacPorts uninstall

Following the steps below: Uninstall ALL installed packages $ sudo port -f uninstall installed Remove related directories $ sudo rm -rf \ /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports Now, its clear and all installed packages from MacPorts was disappeared.

Another chinese input methods in MacPorts

除了內建的和 Yahoo 輸入法之外,在 MacPorts 裡也找到其它可用的選項。 dhcp-22007:~ shawn$ port search "Chinese input method" gcin @1.2.1 (x11) a Chinese input method server. openvanilla @0.7.2 (aqua, textproc) package of popular Chinese input methods Found 2 ports. Wow, gcin 也放進來了! Great job!

MacPorts update & upgrade

To update MacPorts $ sudo ports selfupdate To upgrade outdated installed applications $ sudo ports upgrade outdated

How to downgrade FreeBSD's Ports

su as root cd /usr/ports/ports-mgmt/portdowngrade; make install clean; rehash setenv CVSROOT :pserver:anoncvs@anoncvs.tw.FreeBSD.org:/home/ncvs cvs login portdowngrade www/p5-FastCGI portsdb -Uu portupgrade -f p5-FastCGI