Ask / Submit

How to download Apps from OpenRepos via CLI? [answered]

asked 2018-11-11 15:15:01 +0200

Picanha gravatar image

updated 2018-11-11 21:23:10 +0200

rozgwi gravatar image

How can I download apps from OpenRepos using the command line interface (CLI)?

Hereby the challenge is:

A simple...


... would just download the specified version number. However, I want to always download the newest version of the app instead of a specific version.

Any ideas for that? :-)

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2018-11-16 14:16:08.136152

1 Answer

Sort by » oldest newest most voted

answered 2018-11-11 15:24:45 +0200

atlochowski gravatar image

updated 2018-11-11 16:21:55 +0200

use pkcon download

for example:

pkcon download --filter=newest  . harbour-recorder
edit flag offensive delete publish link more


Thanks a lot for your reply! Just for better understanding: Assumed I want to download this app:

Do I have to type pkcon download --filter=newest

Why did you only write . harbour-recorder? There is no URL specified? And even with an empty space behind the .?

Picanha ( 2018-11-11 20:45:00 +0200 )edit

@Picanha: The . character is a short handle in UNIX terminals. It simply refers to the current directory.
And I guess alochkowski presumes you have Storeman installed. Unless I'm mistaken, this app adds OpenRepos to the repositories pkcon knows about.
So what the above comment would then mean: Download the package registered by the name harbour-recorder into the current directory.

rozgwi ( 2018-11-11 21:20:40 +0200 )edit

in Storeman you can add repo to your reposotories file. But you cand do it from terminal as well. Just forgot to write that first you have to add repository with this app to you repositories file.

atlochowski ( 2018-11-11 23:19:40 +0200 )edit

Question tools



Asked: 2018-11-11 15:15:01 +0200

Seen: 182 times

Last updated: Nov 11