github ivan-hc/AM 10.2
"AM" 10.2

6 hours ago

The wget command is no more "core"

4 days after version 10.1.1, the apps haven't increased significantly... but there's some big news:

wget is no longer a "CORE" dependency.

It has been moved to the "OPTIONAL" status, that means that not having it will not prevent you from using AM.

In its place, curl, the other CORE dependency, will be used, which has been adapted to cover all the functions that wget used.

NOTE, I said "MOVED", NOT "REMOVED"!

In some very rare cases (but I'm still not sure) some installation scripts might require wget as they would with 7z, tar, unzip, and other OPTIONAL commands.

The reference to wget is and will still be permanent in all installation scripts, with the difference that they will be "patched" the same way we already do from years, by adding the -q --show-progress flag for wget. In this case, we replace wget with curl.

From APP-MANAGER:

CURLCMD="curl"
WGETCMD="wget"

export CURLPROGRES="$CURLCMD -LJO --progress-bar --write-out 'Downloaded %{size_download} bytes in %{time_total} seconds'"
export WGETPROGRESS="$WGETCMD -q --no-verbose --show-progress --progress=bar"
if command -v wget >/dev/null 2>&1 && wget --version 2>/dev/null | head -1 | grep -qi "$WGETCMD.* 1." ; then
	WGETV="1"
fi

From install.am:

if [ -n "$WGETV" ]; then
	! echo "$FLAGS" | grep -q -- "--debug" && sed -i "s#$WGETCMD #$WGETPROGRESS #g" ./"$arg"
else
	sed -i "s#$WGETCMD #$CURLPROGRES #g; s/--trust-server-names//g; s/ -O [^|]*\|\|//g" ./"$arg"
fi

In this way, curl become a wget "fallback", used when wget is not installed or is not the "real" one:

simplescreenrecorder-2026-05-14_20.32.37.mp4

Fedora users, who have wget as a symbolic link to wget2, will particularly benefit from this, as they will finally be able to enjoy a more visually pleasing loading bar.

On all other distributions, if wget is installed, installations in AM will behave normally:

simplescreenrecorder-2026-05-14_20.31.55.mp4

In brief, what really changes is the fact that you can continue using AM without interruption, with one less CORE dependency, from now on.

The "Fedora mess" message is gone!

If you are a Fedora user, you will no more see this message:

WARNING: your distro maintainer ships "wget2" as "wget" 

Please install "wget1" and "wget1-wget" (use --allowerasing if you have to)

See https://bugzilla.redhat.com/show_bug.cgi?id=2358792

From now on, AM will run on Fedora as if it were running on a normal GNU/Linux distribution. Don't worry! lol


Conclusions

This release is a turning point for managing one or more download managers in the future.

For now, we're sticking with curl and wget as classic dependencies, widely available in all GNU/Linux distributions and BSD-based systems, and in most cases, available by default.

But who knows, we might implement something new in the future. Time will tell. I just know that in a week, I've released two versions that do something I thought unthinkable a year ago.

I hope you're proud of what we've accomplished so far.

What's Changed

Full Changelog: 10.1.1...10.2

Don't miss a new AM release

NewReleases is sending notifications on new releases.