Logo

Add / Remove Solaris packages automatically


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.

Don't be left Behind!
Sign up for daily updates delivered directly to your inbox.

Mandar Pise Opinions expressed by techsutram contributors are their own.

Mandar is a seasoned software professional & Fintech, Cloud, IoT, and Blockchain enthusiast. He writes to benefit others from his experiences. His overall goal is to help people learn about Fintech, Cloud, IoT, AI and Blockchain, and the effects they will have economically and socially in the future.

No comments:

Post a Comment

    Your valuable comments are welcome. (Moderated)


Instagram