Introduction
In this tutorial we learn how to install autodownloader
on CentOS 8.
What is autodownloader
Some software (usually games) requires certain data files to operate, sometimes these datafiles can be freely downloaded but may not be redistributed and thus cannot be put into so called packages as part of a distro. autodownloader is a tool which can be used as part of a package to automate the download of the needed files. It will prompt the user explaining to him the need of the download and asking if it is ok to make an internet connection, after this it will show the license of the to be downloaded files and last it will do the actual download and md5 verification off these files. This whole process can be configured by the packager through a simple configuration file. Notice that Autodownloader while open source itself, may download files which are not permitted to be (re)distributed unlike most files in Fedora.
We can use yum
or dnf
to install autodownloader
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install autodownloader.
Install autodownloader on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install autodownloader
using dnf
by running the following command:
sudo dnf -y install autodownloader
Install autodownloader on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install autodownloader
using yum
by running the following command:
sudo yum -y install autodownloader
How To Uninstall autodownloader on CentOS 8
To uninstall only the autodownloader
package we can use the following command:
sudo dnf remove autodownloader
autodownloader Package Contents on CentOS 8
/usr/bin/autodl
/usr/share/autodl
/usr/share/autodl/AutoDL.py
/usr/share/autodl/autodl.ui
/usr/share/doc/autodownloader
/usr/share/doc/autodownloader/ChangeLog
/usr/share/doc/autodownloader/README.txt
/usr/share/doc/autodownloader/example.autodlrc
/usr/share/icons/hicolor/128x128/apps/autodl.png
/usr/share/icons/hicolor/16x16/apps/autodl.png
/usr/share/icons/hicolor/32x32/apps/autodl.png
/usr/share/icons/hicolor/64x64/apps/autodl.png
/usr/share/licenses/autodownloader
/usr/share/licenses/autodownloader/COPYING
References
Summary
In this tutorial we learn how to install autodownloader
on CentOS 8 using yum and dnf.