Closed rking closed 10 years ago
Not me, although others are welcome to try. Also, the binary name ag
conflicts with an existing Ubuntu package. Apparently a semi-obscure Python atomic simulation library got the name first.
If you're on Ubuntu, installing a deb from http://swiftsignal.com/packages/ubuntu/ (linked in the README) is the easiest way right now.
Adding onto what @ggreer said, you can install the .deb file using dpkg. First download a .deb file from http://swiftsignal.com/packages/ubuntu/ and then install it:
dpkg -i the-silver-searcher_0.14-1_amd64.deb
replacing the-silver-searcher_0.14-1_amd64.deb with whatever version you're actually using/downloaded..
Yeah. I just want to see that package on the default repositories.
I don't know what the rules are for making that happen on Ubuntu, since it's so widely installed.
I don't think there's a problem with the other binary being ag
. There's a resolution system, "alternatives", in Debian... I'm not sure if it's even necessary. You can probably just say "whichever is installed 2nd gets the /usr/bin/ag spot".
Hey. I've created a PPA on Launchpad.
Install the latest stable in Ubuntu 13.04:
sudo add-apt-repository ppa:pgolm/the-silver-searcher
sudo apt-get update
sudo apt-get install the-silver-searcher
I guess this issue can be closed. There is now a Debian/Ubuntu package: silversearcher-ag
apt-get install silversearcher-ag
pgolm/the-silver-searcher returns 404
@pgolm 404 Not Found
@pgolm
I use Ubuntu 12.04.4 LTS
, that is probably the problem.
$ sudo add-apt-repository ppa:pgolm/the-silver-searcher
$ sudo apt-get update
W: Fehlschlag beim Holen von http://ppa.launchpad.net/pgolm/the-silver-searcher/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Fehlschlag beim Holen von http://ppa.launchpad.net/pgolm/the-silver-searcher/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found
W: Fehlschlag beim Holen von http://ppa.launchpad.net/pgolm/the-silver-searcher/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Now I have compiled yourself. Thanks.
@chenyangguang this is not a problem with ag:
"➜ ~ sudo apt-get install silversearcher-ag Reading package lists... Done Building dependency tree
Reading state information... Done silversearcher-ag is already the newest version (0.31.0-2). 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up redis-server (2:3.0.6-1) ... Job for redis-server.service failed because the control process exited with error code. See "systemctl status redis-server.service" and "journalctl -xe" for details. invoke-rc.d: initscript redis-server, action "start" failed. dpkg: error processing package redis-server (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: redis-server E: Sub-process /usr/bin/dpkg returned an error code (1)"
I just found out that
apt-get install the_silver_searcher
works not.Who is the best person to start fixing this?