Download Softwares

Download Softwares

apt

apt, short for Advanced Package Tool, is a package management system commonly used in Debian-based Linux distributions like Ubuntu. It simplifies the process of installing, updating, and managing software packages on a system.

Usually, we could do apt insatll or sudo apt install. In this case, commands would link into /usr/bin or /usr/local/bin which requires root permission. You could also use it to down load the deb file and download in local. Take a common software tree as an example:

apt download tree
dpkg -x tree_2.1.1-2ubuntu3_amd64.deb tree

After that, you just need to export the bin from tree into the environment.

wget

wget -c ulr

支持断点续传

aria2c

website: https://aria2.github.io/
install:

sudo apt-get install aria2

aria2 is a lightweight multi-protocol & multi-source command-line download utility. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink. aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces.

Examples

##Usage Examples
##Command-line scares you off? No, aria2 is really easy to use!!

##Download from WEB:
aria2c http://example.org/mylinux.iso

##Download from 2 sources:
aria2c http://a/f.iso ftp://b/f.iso

##Download using 2 connections per host:
aria2c -x2 http://a/f.iso

##BitTorrent:
aria2c http://example.org/mylinux.torrent

##BitTorrent Magnet URI:
aria2c 'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'

##Metalink:
aria2c http://example.org/mylinux.metalink

##Download URIs found in text file:
aria2c -i uris.txt

curl

reference: https://curl.haxx.se/docs/manpage.html

curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.

curl ftps://files.are.secure.com/secrets.txt

more tutorial: https://curl.haxx.se/docs/manual.html

Author

Karobben

Posted on

2020-06-23

Updated on

2024-10-18

Licensed under

Comments