How to download and update a large list of programs?

Hello everyone.
Please tell me how I can download and update a large list of programs that I have not updated for a long time? I do not want to use the F-droid program https://f-droid.org/F-Droid.apk, I want to download the latest versions of the program in the form of apk files. Is there a program that can do this or do I need to download it this way:
wget https://f-droid.org/repo/org.videolan.vlc_13050608.apk
wget https://f-droid.org/repo/org.woheller69.browser_3000.apk
wget https://f-droid.org/repo/com.foobnix.pro.pdf.reader_6090.apk

1 Like
3 Likes

but why do you want the APKs exactly?

1 Like

Hi. Thanks for your reply.

I need APK files so I can install a list of programs on several phones, for example I have my favorite list of programs and I want to install it on phone 1 and phone 2.

Yes, i can use F-droid to update, but I wanted to have an alternative, since in my experience installing a large number of apk files is much faster than updating old programs through the F-droid application.

Thanks for the interesting fdroidcl application, I will try it, I wonder how it works.

I tested it, great app, thank you very much!

$ fdroidcl download is.xyz.mpv us.spotco.fennec_dos ie.equalit.ceno de.tutao.calendar

APK available in /home/user/.cache/fdroidcl/apks/

Hi. Tell me please, is it possible to use fdroidcl program to install a large number of programs? For example:

$ fdroidcl install is.xyz.mpv us.spotco.fennec_dos ie.equalit.ceno de.tutao.calendar

or do I need to use a script?

I don’t know why to look harder way when solution is at hand. With F-droid full client (not basic) you can share local repository between devices.

Thank you for your answer. I have no experience with what you recommend, would it be difficult for you to give an example of how to do it.

Hello everyone.
Please tell me how to install 10,20,30 or more applications (APK files) with one command on the phone? Do you need to use a script (example below) or perhaps use the fdroidcl program (example below)

Perhaps there are other ways…

I would be grateful for your advice.

fdroidcl

$ fdroidcl install is.xyz.mpv us.spotco.fennec_dos ie.equalit.ceno de.tutao.calendar

script

#! /bin/bash
adb root && adb remount 
adb install is.xyz.mpv.apk
adb install  us.spotco.fennec_dos.apk
adb install de.tutao.calendar.apk

you don’t need this in order to install apps

as

for i in *.apk; do adb install $i; done

is enough

4 Likes

Thank you very much for your answer.

Did I understand you correctly that this command

for i in *.apk; do adb install $i; done

will install 10,20,30 apk applications?

I usually used a script for installation, I decided to clarify, suddenly there is an easier way.

Yes it’s a bash looping construct, all apk in the current folder will be installed.

1 Like

Thanks for the answer and recommendation. I’ll try it and write how it went.

Everything works great! Bash magic)) :boom: :rocket:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

Hello everyone, this is my first post on F-droid forum.

Taking these threads (to better frame the topic) as reference.

F-droid forum

forum.f-droid[dot]org/t/migrate-f-droid-installation-to-new-phone/22955
forum.f-droid[dot]org/t/how-to-backup-f-droid-apps-in-case-i-lose-my-phone/17568

XDA forum

xdaforums[dot]com/t/adb-command-to-get-app-list.4249411/

As stated in the title, I want to install apps from a TXT file from F-droid in new device(s) (indifferently a tablet or a phone).

Steps I’ve done so far

  1. Connect phone to computer.
  2. Open an adb command prompt.
  3. Get installed apps list txt file:
    a) Run adb shell pm list packages -f > c:\1.txt command to get list of apps installed in your device //I’ve chosen this option.
    b) Use List my apps app (here f-droid link f-droid[dot]org/en/packages/de.onyxbits.listmyapps/) > Share button > Total Commander [or Your File Explorer].
    c) Use App Manager app (here f-droid link f-droid[dot]org/en/packages/io.github.muntashirakon.AppManager/) app > 1-click OPs > Back up.

Steps I would like to do

  1. Open f-droid App.
  2. Use import from file function.
  3. Select file (in phone) containing package and apps names.
  4. Let F-droid install apps that match package name (APK).

A solution via adb command prompt using a file on computer, would be great too.

Why I’m doing this ?
Installing over 200+ apps is an incredibly time-consuming action.

Google has this function (it saves apk names installed on your devices (each you have) in your google account).

NOTE
Reference links aren’t complete, since I can’t put more that 2 link per post.
Getting An error occurred: Sorry, new users can only put 2 links in a post. error.

TIA

Read the posts above, use fdroidcl

Thank you for your reply.

[I did the following steps]

  1. Installed go lang (using go1.23.5.windows-amd64.msi from official website go[dot]dev/doc/install) and verified that it was correctly installed using go version command.
    [using a command prompt from adb folder, device plugged and run adb devices command]
  2. Installed fdroidcl using go install mvdan.cc/fdroidcl@latest command.
  3. Downloaded index via fdroidcl update command.
  4. Searched apps one by one (adb search org.fossify.calendar or adb search com.superproductivity.superproductivity) ONLY, no batch search.
  5. Downloaded apks (location path C:\Users\[USER]\AppData\Local\fdroidcl\apks\) in batch.

[From there, I got error/Idk how to continue]

  1. Trying to install (regardless of one by one or in batch) apk(s) I got install: could not get devices: exec: "adb": cannot run executable found relative to current directory error.
  2. Is there a command (using adb) to read a file, download and install each package matched and found on f-droid ? (giving complete location path, something like adb read [path] && download && install on device [having connected the device to install in]).

Search how to put the adb folder in PATH on Windows (see right click on Computer, Properties, System, there an Environment dialogue around there)