- Downloading Files on Linux using the Command Line
- Downloading Files using Wget
- How to Install Wget?
- Features of Wget
- Downloading Files using Curl
- How to Install Curl?
- Features of Curl
- Best Command Line Method to Download Files
- About the author
- Zeeman Memon
- Скачать дистрибутивы Linux
- Скачать Ubuntu 18.04.4 LTS
- Скачать Ubuntu 20.04 LTS
- Скачать Kubuntu 18.04.4 LTS
- Скачать Kubuntu 20.04 LTS
- Скачать Xubuntu 18.04.4 LTS
- Скачать Xubuntu 20.04 LTS
- Скачать Lubuntu 18.04.4 LTS
- Скачать Lubuntu 20.04 LTS
- Скачать Linux Mint 18.3
- Скачать Linux Mint 19.3 Tara
- Скачать Linux Mint 20 Ulyana
Downloading Files on Linux using the Command Line
Linux, a Unix based open-source operating system, is one example of such a software that only a few years back, didn’t have the specs to be used in desktops and as a result, was mainly considered for server development. However, with time, it has rapidly evolved, becoming a reliable and powerful operating system, which in turn has led to it gaining the attention of a large number of users.
The Command Line tool provided by Linux is one of its most powerful features that it offers to users and is also what makes it so fascinating and amazing to use. A command line is simply a text-based interface that takes in commands and forwards them to the OS which runs them. It is due to this flexible nature of it that it has gained an edge over the Graphical User Interface (GUI) and as a result, many users have switched to the Command Line for doing various tasks, one of which is the downloading of files.
Hence today we’ll be looking at two different ways on how to download files on Linux using the Command Line tool.
Downloading Files using Wget
One of the most popular command line tools for downloading files from the internet is Wget. Wget is a pretty versatile tool that supports multiple protocols such as HTTP, HTTPS and FTP and allows one to download multiple files and directories. It also provides users with a variety of features ranging from recursive downloading to playing and pausing the downloads as well as limiting its bandwidth.
Moreover, it is cross-platform which gives it quite the edge over many other command line downloaders as well as graphical downloaders.
How to Install Wget?
Wget usually comes pre-installed with most of the Linux Distributions. However, if a user is in possession of a system without Wget being installed, then the user needs to open the command line through either Ubuntu Dash or Ctrl+Alt+T shortcut and enter the following command:
It is to be noted that the command given above is for only Debian based Linux systems such as Ubuntu. If a user has a Red Hat Linux system such as Fedora, then the user needs to enter the following command into the command line:
Features of Wget
As mentioned before, Wget has multiple features incorporated inside of it. The most basic operation that Wget offers to users is downloading files by simply using its URL. This can be done by inputting the following command into the terminal:
Let us show an example to further clarify this. We will be downloading a simple image in the png format from the internet. See the image below for better understanding:
Wget also allows users to download multiple files from different URLs. This can easily be done by the following command:
Once again, we can show this using an example. We will be downloading two HTML files from two different websites. For better understanding, please look at the image below:
We can also change the name of the file from its original using the following command:
Here filename refers to the name that you want to address the file as. Using this, we can also change the type of the file. This is shown in the image below:
Wget also allows users to recursively download their files which is basically downloading all the files from the website under a single directory. This can easily be done by the following command:
For more information regarding Wget, users can input the following command into the terminal to get access to all the Wget commands that appear to be available:
Downloading Files using Curl
Curl is another command line tool that can be used to download files from the internet. Unlike Wget, which is command line only, features of Curl are powered by libcurl which is a cross-platform URL transfer library. Curl not only allows downloading of files but can also be used for uploading and exchanging of requests with servers. Curl also has a much larger support range for protocols including the important ones such as HTTP, HTTPS, FTP, SFTP etc. However, Curl does not support recursive downloads which Wget offers.
How to Install Curl?
Similarly, like Wget, Curl comes pre-installed with most of the Linux Distributions. This can simply be checked by running the following command:
However, if a user is in possession of a system without Curl being installed, then the user needs to open the command line through either Ubuntu Dash or Ctrl+Alt+T shortcut and enter the following command:
It is to be noted that the command given above is for only Debian based Linux systems such as Ubuntu. If a user has a Red Hat Linux system such as Fedora, then the user needs to enter the following command into the command line:
Features of Curl
Just like Wget, Curl has multiple features incorporated inside of it. The most basic is its ability to allow users to download files from a single URL from the internet. This can be done by inputting the following command into the terminal:
For better understanding, we will be downloading a simple image in the png format from the internet just like in the case of Wget.
Curl also allows users to change the filename and the type of the file. This can be done by the following command:
In the image above, we took a png file originally named pancake1.png and converted it to a zip file with the new name p.zip.
Just like in the case of Wget, Curl allows users to download multiple files using a number of URLs from the internet. This can easily be done by the following command:
For our example, we will use curl to download a jpg file and a png file from the internet. Results are shown in the image below:
A pretty amazing feature that Curl provides to its users is its ability to monitor the progress of the download of the file. This can be done by the following command:
For more information regarding Curl, users can input the following command into the terminal to get access to all the Curl commands that appear to be available:
Best Command Line Method to Download Files
Wget and Curl are among the wide range of command line tools that Linux offers for the downloading of files. Both offer a huge set of features that cater to different needs of the users. If users simply want to download files recursively, then Wget would be a good choice. If users are looking to interact with the server or download a file built under a protocol that Wget doesn’t support, then Curl would be a better alternative.
About the author
Zeeman Memon
Hi there! I’m a Software Engineer by degree, Blogger by skills who loves to write about tech, develop websites & do SEO. You can reach out to me on LinkedIn.
Источник
Скачать дистрибутивы Linux
На данной странице можно легко и удобно скачать различные дистрибутивы последних версий.
Все ссылки на скачивание ведут на официальные сайты дистрибутивов, а также на зеркало для скачивания дистрибутивов с серверов Яндекса.
Скачать Ubuntu 18.04.4 LTS
Ubuntu 18.04 LTS – это версия Ubuntu с долгим циклом поддержки, выпущенная 21 апреля 2018 года и обновлённая до версии Ubuntu 18.04.4 12 февраля 2020.
Обновления этой версии доступны в течение 5 лет. В течение первых 2 лет поддержки LTS-версии также обновляются установочные образы дисков. Эта версия рекомендуется для использования на офисных компьютерах и серверах.
| По прямой ссылке | Через Торрент | |
---|---|---|---|
64-бит | 64-бит | ||
Мир | Desktop | amd64 | amd64 |
Server | amd64 | amd64 | |
Россия | Desktop | amd64 | amd64 |
Server | amd64 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
Server – диск для установки серверной системы в текстовом режиме. Этот вариант подходит только для установки на сервер и не включает графического интерфейса пользователя.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Ubuntu 20.04 LTS
Ubuntu 20.04 LTS – это версия Ubuntu с долгим циклом поддержки, выпущенная 23 апреля 2020 года, обновления для которых формируются в течение 5 лет до апреля 2025 года
Обновлено до Ubuntu 20.04.2
| По прямой ссылке | Через Торрент | |
---|---|---|---|
64-бит | 64-бит | ||
Мир | Desktop | amd64 | amd64 |
Server | amd64 | amd64 | |
Россия | Desktop | amd64 | amd64 |
Server | amd64 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
Server – диск для установки серверной системы в текстовом режиме. Этот вариант подходит только для установки на сервер и не включает графического интерфейса пользователя.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Kubuntu 18.04.4 LTS
Kubuntu (произносится «кубу́нту») – производный от Ubuntu дистрибутив Linux. Kubuntu использует графическое окружение KDE вместо стандартного для Ubuntu Unity. Слоган проекта Kubuntu – «Дружественный компьютер».
Kubuntu 18.04 | По прямой ссылке | Через Торрент | |||
---|---|---|---|---|---|
32-бит | 64-бит | 32-бит | 64-бит | ||
Мир | Desktop | i386 | amd64 | i386 | amd64 |
Россия | Desktop | i386 | amd64 | i386 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
i386 – 32-разрядные процессоры: старые Intel и очень старые AMD.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Kubuntu 20.04 LTS
Обновлено до Kubuntu 20.04.2
Kubuntu 20.04 | По прямой ссылке | Через Торрент | |
---|---|---|---|
64-бит | 64-бит | ||
Мир | Desktop | amd64 | amd64 |
Россия | Desktop | amd64 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Xubuntu 18.04.4 LTS
Xubuntu – дистрибутив Linux, основанный на проекте Ubuntu. Использует графическую среду Xfce и приложения на GTK+2. Цель проекта – возможность использования легковесной альтернативы рабочим средам GNOME и KDE. Xubuntu имеет минималистичный интерфейс пользователя, экономно использующий память и другие аппаратные ресурсы компьютера, что позволяет комфортно работать на старых машинах. Но вместе c тем, данный дистрибутив является современной системой, имеющей огромный набор пакетов.
| По прямой ссылке | Через Торрент | |||
---|---|---|---|---|---|
32-бит | 64-бит | 32-бит | 64-бит | ||
Мир | Desktop | i386 | amd64 | i386 | amd64 |
Россия | Desktop | i386 | amd64 | i386 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
i386 – 32-разрядные процессоры: старые Intel и очень старые AMD.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Xubuntu 20.04 LTS
Обновлено до Xubuntu 20.04.2
| По прямой ссылке | Через Торрент | |
---|---|---|---|
64-бит | 64-бит | ||
Мир | Desktop | amd64 | amd64 |
Россия | Desktop | amd64 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Lubuntu 18.04.4 LTS
Lubuntu ([лубу́нту], от англ. lightweight «легковесный» и Ubuntu) — легковесный и энергоэффективный производный от Ubuntu дистрибутив Linux с малым потреблением ресурсов. В качестве менеджера рабочего стола используется LXDE.
Lubuntu 18.04 | По прямой ссылке | Через Торрент | |||
---|---|---|---|---|---|
32-бит | 64-бит | 32-бит | 64-бит | ||
Мир | Desktop | i386 | amd64 | i386 | amd64 |
Alternate | i386 | amd64 | i386 | amd64 | |
Россия | Desktop | i386 | amd64 | i386 | amd64 |
Alternate | i386 | amd64 | i386 | amd64 |
Примечание: образы Alternate только начальной версии: 18.04
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
Alternate – диск, с которого можно устанавливать Ubuntu только в текстовом режиме (необходим для сетевой установки, или если у вас на компьютере оперативной памяти менее 384 Мб).
i386 – 32-разрядные процессоры: старые Intel и очень старые AMD.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Lubuntu 20.04 LTS
Обновлено до Lubuntu 20.04.2
Lubuntu 20.04 | По прямой ссылке | Через Торрент | |
---|---|---|---|
64-бит | 64-бит | ||
Мир | Desktop | amd64 | amd64 |
Россия | Desktop | amd64 | amd64 |
Обозначения:
Desktop – загрузочный диск LiveCD, с которого можно и запускать Ubuntu без установки, и устанавливать в графическом режиме.
amd64 – 64-разрядные процессоры: все современные AMD, Intel Core, Intel Core 2, Intel i3, i5, i7, Celeron и другие.
Скачать Linux Mint 18.3
Linux Mint – дистрибутив операционной системы Linux. Изначально Linux Mint основывался на Ubuntu, впоследствии число его вариаций стало расти и появилась ветка дистрибутивов на основе Debian c репозиториями ветки testing по умолчанию. В каждой из сборок используется одна из популярных графических сред — Mate, Cinnamon, KDE, Xfce.
Linux Mint 18.3 | По прямой ссылке | Через Торрент | |||
---|---|---|---|---|---|
32-бит | 64-бит | 32-бит | 64-бит | ||
Мир | Cinnamon | i386 | amd64 | i386 | amd64 |
MATE | i386 | amd64 | i386 | amd64 | |
KDE | i386 | amd64 | i386 | amd64 | |
Xfce | i386 | amd64 | i386 | amd64 | |
Россия | Cinnamon | i386 | amd64 | — | — |
MATE | i386 | amd64 | — | — | |
KDE | i386 | amd64 | — | — | |
Xfce | i386 | amd64 | — | — |
Скачать Linux Mint 19.3 Tara
Linux Mint 19.3 | По прямой ссылке | Через Торрент | |||
---|---|---|---|---|---|
32-бит | 64-бит | 32-бит | 64-бит | ||
Мир | Cinnamon | i386 | amd64 | i386 | amd64 |
MATE | i386 | amd64 | i386 | amd64 | |
Xfce | i386 | amd64 | i386 | amd64 | |
Россия | Cinnamon | i386 | amd64 | — | — |
MATE | i386 | amd64 | — | — | |
Xfce | i386 | amd64 | — | — |
Скачать Linux Mint 20 Ulyana
Linux Mint 20 перёшёл на пакетную базу Ubuntu 20.04 LTS. Дистрибутив полностью совместим с Ubuntu, но существенно отличается подходом к организации интерфейса пользователя и подбором используемых по умолчанию программ. Разработчики Linux Mint предоставляют классическое графическое окружение, которое является более привычным для пользователей, не принимающих новый интерфейс GNOME 3.
Для загрузки доступны сборки на базе оболочек MATE 1.24, Cinnamon 4.6 и Xfce 4.14.
Linux Mint 20 является дистрибутивом с длительным сроком поддержи (LTS), обновления для которого будут формироваться до 2025 года.
Прекращено формирование сборок для 32-разрядных систем x86, теперь дистрибутив доступен только для 64-разрядных систем.
Источник