You are not logged in.

#1 2014-03-22 06:34:37

acgtyrant
Member
From: Hangzhou, China
Registered: 2013-04-09
Posts: 62
Website

[SOLVED]How to find a download url for pkg.tar.gz in SourceForge?

I want to package quichhash, but I do not know how to find its download url... Only find http://sourceforge.net/projects/quickha … x/download, I am afraid this is not valid url.

Forgive my poor English, thank you!

Last edited by acgtyrant (2014-03-22 07:05:24)


I use Arch Linux.

Offline

#2 2014-03-22 06:41:57

felixonmars
Developer/TU
From: Wuhan, China
Registered: 2011-04-15
Posts: 67
Website

Re: [SOLVED]How to find a download url for pkg.tar.gz in SourceForge?

Copy the "direct link" and remove any query string including the "?", then you get:

https://downloads.sourceforge.net/proje … -2.2-Linux

Note: It may not work in a browser, but makepkg or wget would be happy with it.

Last edited by felixonmars (2014-03-22 06:42:42)


PGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60  030F 786C 63F3 30D7 CB92

Offline

#3 2014-03-22 06:51:05

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED]How to find a download url for pkg.tar.gz in SourceForge?

If you want to get a direct link for a specific mirror, copy the direct link and resolve all redirects with this:

curl -LI -o /dev/null -w '%{url_effective}' "$direct_link" 2>/dev/null

Still, letting sourceforge choose the mirror with the method felixonmars describes might be better.

Last edited by progandy (2014-03-22 06:54:50)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB