從命令列自動從 sourceforge 下載最新的穩定 tarball?

從命令列自動從 sourceforge 下載最新的穩定 tarball?

我想從 sourceforge 來源安裝一個程式。有沒有辦法從 SourceForge 下載最新的穩定來源?ntopng非常歡迎一個例子。

答案1

我很確定您可以使用wgetSourceForge,並且始終使用最新來源的 url。

http://sourceforge.net/projects/$$PROJECT_URL$$/files/latest/download?source=files

其中$$PROJECT_URL$$需要替換為項目對應的url部分。對於ntopng==>ntop這會給你:

wget http://sourceforge.net/projects/ntop/files/latest/download?source=files

相關內容