![]() | ![]() | ![]() | ![]() |
|
faq search add article cool-stuff how-to main tips |
Posted by Jason on Friday April 20, @09:33PMfrom the Do-It-In-Style dept. A new port has been added to the ports tree and it allows you to upgrade an installed application from the ports tree. I tried it on a couple of my installed applications and it worked well. The utility is called portupgrade and it can be found in /usr/ports/sysutils/portupgrade. I have heard that portupgrade will be included in FreeBSD-4.3-RELEASE. Until then, you will have to update your ports tree before you can install this utility. The first time I tried to use portupgrade I received an error, so I thought I should read the man page but there was none. Next, I typed portupgrade, hit the enter key and a help screen was displayed. So I tried the utility again using the -o switch. Here is the command I used to upgrade my bash shell from bash-2.04 to the current port of bash-2.05. portupgrade -o /usr/ports/shells/bash2 bash This command sequence downloaded bash-2.05, compiled it, installed it and removed my older version (bash-2.04). I noticed that portupgrade did not clean up after itself, so I changed to the /usr/ports/shells/bash2 directory and issued a make clean command to cleanup the bash work directory after the install. Note: If you use portupgrade to upgrade a server daemon such as apache, you may want to stop that service prior to performing the upgrade. < | >
|
|
||||||||||||||||||
|
||||||||||||||||||||
| "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate |
|
| All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann. |