Decluttering /usr/local and other things

"Please leave a message at the beep, we will get back to you when your support contract expires."

Moderators: phlip, Larson, Moderators General, Prelates

Decluttering /usr/local and other things

Postby Nautilus » Thu Apr 05, 2012 10:18 pm UTC

I use a two-year old Mac Mini as my primary computer. At various points I've downloaded / worked on / failed to build a variety of interesting open source projects on here. The thing is, being youthful and naïve, I've used a bunch of different package managers and installation tools, and as a result all of my system directories are extremely becluttered. It's been interfering with my development as of late, with things linking wrong, builds failing, libraries mysteriously disappearing, symlinks popping up everywhere, and general confusion reigning. I can usually hack through, but I'd like to clean up and get things working smoothly again. The problem is it's been so long since I worked with some of this stuff that I'm not sure what's vital and what's useless.

Any advice?
My flagella bring all the boys to the yard
User avatar
Nautilus
 
Posts: 99
Joined: Thu Feb 25, 2010 1:19 am UTC
Location: That's a strange place to put a piano

Re: Decluttering /usr/local and other things

Postby Carnildo » Fri Apr 06, 2012 3:40 am UTC

1) Select a package manager to stick with.
2) Remove everything in /usr/local
3) Based on what breaks, put stuff back using the package manager.
Carnildo
 
Posts: 1959
Joined: Fri Jul 18, 2008 8:43 am UTC


Return to The Help Desk

Who is online

Users browsing this forum: No registered users and 7 guests