> On Sep 4, 2015, at 16:52, David Montiel <davic...@gmail.com> wrote:
> 
> Hello, 
> 
> I accidentally deleted the file 
> 
> /sw/bin/fink
> 
> I did this because I first moved it to my home directory to avoid conflict 
> with Homebrew (that's another story) and then thought I had copied it back, 
> but I didn't. 
> 

To avoid conflicts with homebrew, what you want to do is turn off Fink’s 
environment instead, by editing $HOME/.profile (for example) and commenting out 
the line which says

test -r /sw/bin/init.sh && . /sw/bin/init.sh

> Anyway, now if I type "fink" in the command line I'm just getting: 
> 
> "command not found" 
> 
> What can I do?
> 
> Any help is appreciated,
> Thanks,
> David

Depending on your OS version, you may be able to use “sudo apt-get install 
—reinstall fink”.

If that doesn’t work for you, then check whether you have a fink archive in 
/sw/fink/dists/stable/main/binary-darwin-x86_64/base, and if so you should be 
able to use

sudo dpkg -i /path/to/fink_<version>-<revision>.deb

(replace that with what you have, since I don’t know what you were using and 
what OS version you have).



-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to