Thursday, January 14, 2010

Add / Remove Solaris packages automatically

Bookmark and Share

Those who deal with Solaris often require to install and uninstall packages. However, sometimes it becomes boredom to press ‘y’ or ‘yes’ every time we try to install or uninstall or remove multiple software packages. So if you are tired with pressing ‘y’ or ‘yes’ each and every time then simply pipe ‘yes’ CLI to ‘pkgrm’ or ‘pkgadd’ CLI in Solaris.

--------------------------Start Of Shell-----------------------------------

ts:~# yes | pkgadd –d.

.

.

.

ts:~#  yes | pkgrm SomeSamplePacakageName

.

.

.

--------------------------End Of Shell------------------------------------

NOTE: Use it cautiously.

That’s it.

Reblog this post [with Zemanta]

No comments:

Post a Comment

Your valuable comments are welcome. (Comments will be moderated.)

 




Technology