Hacker News new | ask | show | jobs
by andyl 4058 days ago
This looks great. Is there a streamlined install for Ubuntu?
2 comments

@andyl We are working on getting a linuxbrew recipe working. There's shouldn't be anything blocking this from working on linux systems (assuming Python 2.7 is installed).

In the meantime you can try the manual installation method listed in the README: https://github.com/facebook/pathpicker/

@itsbits Why do you say that? curious if you found anything

I just tried to git clone it with

    $ sudo git clone git@github.com:facebook/PathPicker.git
    Cloning into 'PathPicker'...
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
Any ideas? Thanks.

EDIT: Nevermind. It's an issue with using sudo to git. I can use my own account, but I can't do it in /usr/local.

Just try using git over https. You probably have your own key to github.com and the server will access deny it when accessing someone else's repo.
If it's pure python why not use pip?
@rmc we have a dependency on a bash script as well, since we need to redirect stdin to tty input and such. So getting the bash file to distribute with PIP and symlink as well was slightly complicated.

I only recently realized that the entire program could be ported over to python (the stdin redirection is supported in python as well) but I still think homebrew is slightly more popular than having pip installed, especially with all the JS development going on today

pip would probably be a lot better from a cross-platform perspective then something really obscure like linuxbrew.
+1 for pip over linuxbrew
> I still think homebrew is slightly more popular than having pip installed

I disagree. On Linux, we have operating system package managers. pip is popular among python programmers, for python packages. Asking to install another random package manager is unlikely to be popular.

If it works on Linux, why not use linuxbrew?
Because I have no idea what that is? Using what seems like a ported OSX semi-package manager on ubuntu seems strange.
Why not actual Linux packages (DEB and RPM)?
just went through their code. Currently not possible