Браузер в консоли linux

9 Command Line Tools for Browsing Websites and Downloading Files in Linux

In the last article, we have covered few useful tools like ‘rTorrent‘, ‘wget‘, ‘cURL‘, ‘w3m‘, and ‘Elinks‘. We got lots of responses to cover few other tools of the same genre, if you’ve missed the first part you can go through it.

This article aims to make you aware of several other Linux command Line browsing and downloading applications, which will help you browse and download files within the Linux shell.

Links is an open-source web browser written in C programming Language. It is available for all major platforms viz., Linux, Windows, OS X, and OS/2.

This browser is text-based as well as graphical. The text-based links web browser is shipped by most of the standard Linux distributions by default. If links not installed in your system by default you may install it from the repo. Elinks is a fork of links.

Сила консоли браузера. JavaScript

After installing links, you can browse any websites within the terminal as shown below in the screencast.

Use UP and DOWN arrow keys to navigate. The right arrow Key on a link will redirect you to that link and the Left arrow key will bring you back to the last page. To QUIT press q.

Here is how it seems to access Tecmint using the links tool.

If you are interested in installing the GUI of links, you may need to download the latest source tarball (i.e. version 2.22) from http://links.twibright.com/download/.

Alternatively, you may use the following wget command to download and install as suggested below.

Note: You need to install packages (libpng, libjpeg, TIFF library, SVGAlib, XFree86, C Compiler and make), if not already installed to successfully compile the package.

2. links2

Links2 is a graphical web browser version of Twibright Labs Links web browser. This browser has support for mouse and clicks. Designed especially for speed without any CSS support, fairly good HTML and JavaScript support with limitations.

Как очистить кэш в опере виндовс 7

To install links2 on Linux.

To start links2 in command-line or graphical mode, you need to use the -g an option that displays the images.

links2 in commandline mode links2 in graphical mode

3. lynx

A text-based web browser released under GNU GPLv2 license and written in ISO C. lynx is a highly configurable web browser and Savior for many sysadmins. It has the reputation of being the oldest web browser that is being used and still actively developed.

Как пользоваться консольным браузером ELINKS. Используем браузер на удаленных серверах

To install lynx on Linux.

After installing lynx, type the following command to browse the website as shown below in the screencast.

If you are interested in knowing a bit more about links and lynx web browser, you may like to visit the below link:

4. youtube-dl

youtube-dl is a platform-independent application that can be used to download videos from youtube and a few other sites. Written primarily in python and released under GNU GPL License, the application works out of the box. (Since youtube doesn’t allow you to download videos, it may be illegal to use it. Check the laws before you start using this.)

To install youtube-dl in Linux.

After installing, try to download files from the Youtube site, as shown in the below screencast.

If you are interested in knowing more about youtube-dl you may like to visit the below link:

5. fetch

fetch is a command-line utility for a Unix-like operating system that is used for URL retrieval. It supports a lot of options like fetching ipv4 only address, ipv6 only address, no redirect, exit after successful file retrieval request, retry, etc.

Fetch can be Downloaded and installed from the link below

But before you compile and run it, you should install HTTP Fetcher. Download HTTP Fetcher from the link below.

6. Axel

Axel is a command-line-based download accelerator for Linux. Axel makes it possible to download a file at a much faster speed through a single connection request for multiple copies of files in small chunks through multiple http and FTP connections.

To install Axel in Linux.

After axel installed, you may use the following command to download any given file, as shown in the screencast.

7. aria2

aria2 is a command-line-based download utility that is lightweight and supports multi-protocol (HTTP, HTTPS, FTP, BitTorrent, and Metalink). It can use meta link files to simultaneously download ISO files from more than one server. It can serve as a Bit torrent client as well.

To install aria2 in Linux.

Once aria2 installed, you can fire up the following command to download any given file…

If you’re interested to know more about aria2 and its switches, read the following article.

8. w3m

w3m is another open-source text-based web browser very similar to lynx, which runs on a terminal. It uses emacs-w3m an Emacs interface for w3m to browse websites within the emacs interface.

Как перенести браузер Яндекс на другой компьютер не теряя данных

To install w3m in Linux.

After installing w3m, fire up the following command to browse the website as shown below.

9. Browsh

Browsh is a modern text-based browser that shows anything like a modern browser does such as HTML5, CSS3, JS, video, and even WebGL. Its major role is to be run on a remote server via SSH or Mosh and browse the web pages as text from the terminal by significantly reducing bandwidth and increase browsing speed.

It means the server downloads the web pages and utilizes the minimum bandwidth of an SSH connection to show the web page results. However, standard text-based browsers lack JS and all other HTML5 support.

Browsh Web Browsing

To install Browsh on Linux, you need to download a binary package and install it using the package manager.

That’s all for now. I’ll be here again with another interesting topic you people will love to read. Till then stay tuned and connected to Tecmint. Don’t forget to provide us with your valuable feedback in the comments below. Like and share us and help us get spread.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Axel - Linux Commandline Download Accelerator

Command Line Internet Tools

Download Managers for Linux

Aria2- Commandline Download Tool for Linux

Xtreme Download Manager for Linux

Install uGet Download Manager in Linux

9 thoughts on “9 Command Line Tools for Browsing Websites and Downloading Files in Linux”

Browsh is one more terminal browser that is able to display images and videos (poor ASCII quality). Also, wget and curl for downloading files.

I have added the Browsh text browser to the list as suggested by you. About wget and curl, we already covered in part 2 of this article here – https://www.tecmint.com/linux-command-line-tools-for-downloading-files/

links2 is wonderful for simpler webpages in GUI mode. RAM usage is practically zilch and it handles some JS to boot. Was playing around with it for about 1/2 an hour just now. You can get some decent color (text, link, background) combos too and it does local file navigation very nicely (input url: “file://”)

between, was looking for a simple terminal-based markdown viewer and came across ‘Terminal Markdown Viewer’ (mdv at github). It’s one of the few that’s python-based (pip install) and does a really nice job rendering MD locally. I suppose this makes it a subClass of the more able full-fledged browsers.

Lynx works well too because it at least colorizes certain tags – so the output looks nice:

Сколько максимум вкладок в Яндекс

Also… finding that w3m does MD locally pretty well via pandoc, though the output is blander but the html support is actually stronger than I expected:

Anyway, thought I’d share a specific use-case.

I love the way that the different tools are showcased in the text itself. Thank you for making such a well designed site

Lynx is a good cli web browser. In fact I am using lynx right now.

Great article. Can any of these tools be used over ssh? I am looking for a tool that can resume downloads over ssh if interrupted other than rsync (not supported on the system)

Unfortunately, there isn’t any tool that can able to resume interrupted downloads over ssh…

Could you use screen? Might work for some aspects, of this scenario…..

Thanks a lot, very useful tutorial,

I am using “youtube-dl” for downloading playlist and videos Very nice tool, following will give you max quality with HD [22]

Источник

Лучшие консольные браузеры для Linux

Все мы слышали, и с большой долей вероятности пользуемся браузерами с графическим интерфейсом, такие как Firefox, Chrome и т.д. В этой статье вы узнаете про консольные браузеры Linux. Текстовый (консольный) браузер обычно используется системными администраторами для просмотра веб-сайтов, так как на серверные компьютеры X-сервер обычно не ставят.

Как вам известно, GUI браузеры обрабатывают и выводят текст наряду с графикой, что на вид красиво и удобно для пользователя. Консольные браузеры, в отличие от них, выводят только текст, без графики.

Популярные текстовые браузеры Linux:

Links — консольный браузер ubuntu, работающий как в псевдографическом, так и в текстовом режимах. Он рендерит «тяжелые» страницы, поддерживает эмуляторы терминала как с возможностью цветного вывода, так и монохромного, и позволяет прокручивать страницы по горизонтали. Links можно установить на различных Linux дистрибутивах, таких как Debian, RHEL, Ubuntu, Linux Mint, CentOS, Fedora, openSUSE, suse, ArchLinux, Manjaro, Antergos Mageia, и других. Данный консольный браузер Linux один из наиболее популярных среди пользователей, наряду с Lynx.

Источник

4 инструмента для просмотра Интернета с терминала Linux

Favorite

Добавить в избранное

Главное меню » Операционная система Linux » 4 инструмента для просмотра Интернета с терминала Linux

4 инструмента для просмотра Интернета с терминала Linux

1) инструмент w3m

W3m — текстовый браузер, который можно использовать для просмотра в Интернете на терминале Linux. Мы посмотрим, как его можно использовать для просмотра веб-страниц.
Для начала нам нужно установить пакет w3m

Образец вывода

Чтобы подтвердить, что он установлен

Образец вывода

Перейти на веб-сайт. w3m url . Например

Вывод

4 инструмента для просмотра Интернета с терминала Linux

При использовании Xterm вы даже можете просматривать изображения!

В приведенном ниже примере я искал Королевскую свадьбу

4 инструмента для просмотра Интернета с терминала Linux

Чтобы открыть новые вкладки

4 инструмента для просмотра Интернета с терминала Linux

Чтобы вернуться на одну страницу

Чтобы ввести новый URL-адрес,

затем введите URL-адрес и нажмите Enter.

2) Инструмент Lynx

Это другой текстовый браузер, разработанный под лицензией GNU GPLv2. Чтобы установить Lynx, запустите

Образец вывода

По завершении установки нам нужно подтвердить, что установка прошла правильно. бег

Вывод

Как разводить девушек на фото на сайте знакомств

Чтобы запустить Lynx, запустите

Вывод

4 инструмента для просмотра Интернета с терминала Linux

Чтобы перейти к URL-адресу, запустите. lynx url

Введите Y для продолжения

4 инструмента для просмотра Интернета с терминала Linux

3) Инструмент Links2

Это графический веб-браузер, который поддерживает мышь и щелчок. Чтобы установить инструмент links2

Образец вывода

По завершении установки нам нужно подтвердить, что установка прошла правильно.

Образец вывода

Посетите сайт, запустите links2 url

Вывод

4 инструмента для просмотра Интернета с терминала Linux

Не стесняйтесь искать что-либо в строке поиска. В этом случае я искал Bionic Beaver, который является последней версией Ubuntu на момент написания этого

4 инструмента для просмотра Интернета с терминала Linux

Наконец, у нас есть инструмент командной строки eLinks, который используется аналогично другим текстовым браузерам. Чтобы установить запуск

Образец вывода

Чтобы посетить тип сайта elinks url

4 инструмента для просмотра Интернета с терминала Linux

Нажмите «Ввод», чтобы продолжить.

4 инструмента для просмотра Интернета с терминала Linux

Теперь вы можете перейти к своей теме.

Мы рассмотрели несколько текстовых браузеров, которые geeky и опытные пользователи могут использовать для доступа в Интернет. Мы приветствуем вас попробовать один или два и дать нам свои мысли. Спасибо.

Если вы нашли ошибку, пожалуйста, выделите фрагмент текста и нажмите Ctrl+Enter.

Источник

Four Web Browsers for the Linux Command Line

Linux Command Line Browser

Remember the days when the web was as simple as searchable text. The terminals and low powered personal computers were enough to access the text-based web over snail-paced internet connections. Of course, people then used the command-line web browsers to visit the web; these included the famous Lynx browser as well. Times have changed now, the browser technology has shifted to the graphical and more powerful web-browsers such as Chrome, Firefox and, Safari. Still, there are people who are more Terminal savvy and prefer accessing to-the-point information from the web through Terminal based browsing.

Even Terminal based computers also exist and for them, command-line browsers are sometimes the only way to connect to the web. So how do we install and use these text-based browsers through our Linux command-line, the Terminal?

This article gives you four ways to use the web through the Linux Terminal by explaining ways to install and use the Terminal as a web-browser.

We have run the commands and procedures mentioned in this article on an Ubuntu 18.04 LTS system.

  • The w3m Tool
  • The Lynx Tool
  • The Links2 Tool
  • The Elinks Tool

The w3m Web Browser

Installation

Enter the following command in the Terminal in order to install the w3m utility:

Installing W3m

Enter Y when the system prompts you to continue installation. The command line browser w3m will be successfully installed to your system.

Verifying the installation

You can verify the installation by checking the version number of w3m as follows:

Check w3m version

Browsing the Internet

You can browse the Internet through the w3m utility by following this syntax:

When you enter this command in your Terminal, the output will give you the following display:

Google in command line browser on Linux

You can access a link or move to the search bar simply by double-clicking it. In this example, I have searched for Portugal weather; double-clicking the Google Search link has displayed the search results in the following manner:

Как сделать Яндекс Браузер темным полностью Андроид

Using Google search in w3m

Here are some basic operations you can perform on this utility:

Quit the program: Shift+Q

Open a new tab: Shift+T

Open a new URL: Shift+U

Go back one page: Shift+B

The Lynx Web Browser

Installation

Enter the following command as root in the Terminal in order to install the Lynx utility:

Installing Lynx Browser

Enter Y when the system prompts you to continue installation. The command line browser Lynx will be successfully installed on your system.

Verifying the installation

You can verify the installation by checking the version number of Lynx as follows:

Check Lynx version

Browsing the Internet with Lynx

You can browse the Internet through the Lynx utility by following this syntax:

When you enter this command in your Terminal, the output will give you the following display;

you can use the arrow keys to move to the various links on the page.

Using Google with Lynx on Command Line

In this example, I have tried searching for the weather of New York City. The search results are displayed when I hit return.

The Links2 Web Browser

Installation

Enter the following command in the Terminal as root in order to install the Links2 utility:

Installing link2 Browser

Enter Y when the system prompts you to continue installation. The command line browser Links2 will be successfully installed on your system.

Verifying the installation

You can verify the installation by checking the version number of Links2 as follows:

Check links2 version

Browsing the Internet

You can browse the Internet through the Links2 utility by following this syntax:

When you enter this command in your Terminal, the output will give you the following display:

Using the web with links2 browser

You can access a link or move to the search bar simply by double-clicking it. In this example, I have searched for USA news; double-clicking the Google Search link will display the corresponding search results.

Installation

Enter the following command in the Terminal as root in order to install the eLinks utility:

Installing elinks

Enter Y when the system prompts you to continue installation. The command line browser eLinks will be successfully installed on your system.

Verifying the installation

You can verify the installation by checking the version number of elinks as follows:

Check elinks

Browsing the Internet

You can browse the Internet through the eLinks utility by following this syntax:

When you enter this command in your Terminal, the output will give you the following display:

Using Google search with elink

You can then search for a keyword or string through this search engine.

Note: The terminal emulator Xterm also has the capability to display images in the search results.

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

About This Site

Vitux.com aims to become a Linux compendium with lots of unique and up to date tutorials.

Latest Tutorials

report this ad

Источник
Рейтинг
Загрузка ...