Bulk package delete

| FreeBSD

This was the dilemma I found myself in today. I wanted to remove all of the Gnome stuff from my FreeBSD installation in order to make a clean start by reinstalling it all over again.

However, what's a poor soul to do when 'pkg_info | grep -i gnome | wc -l' results in a long list of packages (36) that all need to be removed safely first?

# pkg_info | awk '/gnome/ { print $1; system("pkg_delete " $1); }'

That's just one possible way of achieving this, maybe not the best but it works anyway.

Random entries

Here are some random entries that you might be interested in:

Recent Assets

  • M2-HAT.jpg
  • screenshot-openmediavault-storage%0Ashared-folders%0Aacl-file-access-control-lists.png
  • openmediavault-dashboard.png
  • openmediavault.png
  • new-world-record.png
  • iceland.png
  • poppy-wars.png
  • sardinia-small.png
  • jong-tegen-oud-2024.png
  • tegen-par-2024-2nd-place.jpeg
  • stanford-reunion.png
  • kiff.png

Golf Handicap

Information

This personal weblog was started way back on July 21, 2001 which means that it is 23 years, 8 months and 11 days old.

So far this blog contains no less than 2531 entries and as many as 1877 comments.

Important events

Graduated from Stanford 45 years, 9 months and 28 days ago.

Kiffin Rockwell was shot down and killed 108 years, 6 months and 10 days ago.

Believe it or not but I am 67 years, 5 months and 19 days young.

First met Thea in Balestrand, Norway 44 years, 9 months and 19 days ago.

Began well-balanced and healthy life style 12 years, 2 months and 25 days ago.

My father passed away 24 years, 5 months and 10 days ago.

My mother passed away 7 years and 6 days ago.

Started Gishtech 8 years, 11 months and 8 days ago.