因为装了些没用的东西,所以现在要卸载,在命令行下,要做到这个,我们需要做一些工作:
这是官方给的说明文件:
De-Installation
Do not delete the StarOffice files from the file system. We strongly recommend to use the StarOffice Java setupor the pkgrm tool to de-install StarOffice. The Solaris package repository would become inconsistent when youremove the StarOffice files via rm -r .
- Become root if necessary
su -
- Create a file 'so_packages' with all StarOffice related Solaris packages
pkginfo -x cut -f1 -d " " grep staroffice > /tmp/so_packages
- For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurringqueries at the installation.
echo action=nocheck > /tmp/admin
echo conflict=nocheck >> /tmp/admin
echo rdepend=nocheck >> /tmp/admin - Remove all packages listed in the file
pkgrm -a /tmp/admin -n `cat /tmp/so_packages`
- There are a number of packages in the StarOffice installation set does not use the term 'staroffice'.These packages including a font server (SUNWfreetype2) and an Ababas D database server(SUNWadabas). To remove these packages :
pkgrm SUNWfreetype2 SUNWadabas
Depending on your Java environment you have to deinstall following three packages which includingthe Java Runtime Environment which was installed by the StarOffice installer. De-Installing thesepackages could damage you Java environment.pkgrm SUNWj5rt SUNWj5man SUNWj5cfg
没有评论:
发表评论