In addition to command-line browsers, you may also like to try some command line games for Linux, if you want to play around in the terminal.īrowsing web in the Linux terminal or using the Linux terminal in a web browser, you can do it all. While tools like curl and wget allow you to download files from the Linux command line, these terminal-based web browsers provide additional features. Some projects like Browsh have tried to present a modern Linux command-line browser but it did not work in my case. It’s no surprise that there aren’t a lot of text-based web browsers to run on the terminal. But, you can refer to the official installation instructions if you do not find it in the repository. You just have to type in the following in the terminal: sudo apt install elinksįor other Linux distributions, you should find it available on the standard repositories. So, this may not be a pretty experience as a text-based browser without a “dark” mode if you needed that. It does not blend in with your system terminal theme. You will still find it in the default repositories of various distributions, hence, I kept it in this list. Links2ĮLinks is similar to Links2 - but it is no longer maintained. If you want to explore the packages for other Linux distros, you can check out their official website resources. Here, you just need to replace the example website with the resource you want to visit. To get started, you just have to follow the command below: lynx But, on Linux, it is available on the most of the default repositories.įor Ubuntu, you just need to type in: sudo apt install lynx Unlike w3m, you do get some Win32 installers if you’re interested to try. Note that it does not match the system terminal theme, so it will look different no matter how your terminal looks like. ![]() In either case, it works great and you get all the instructions for the keyboard shortcuts right when you launch it in the terminal. I haven’t looked for any solutions to that, so if you’re trying this out, you might want to do that. On the other hand, the window does not re-size well while using it from the terminal. You can set it to always accept or deny as well. In addition to that, I also noticed that it lets you accept/deny cookies when visiting various web resources. I was able to load up DuckDuckGo and make it work. Fortunately, more websites tend to work when using Lynx, so I’d say it is definitely better in that aspect. Lynx is yet another open source command line browser which you can try. You can explore more about it by heading to its man page as well. Additional shortcuts include SHIFT + T to open a new tab and SHIFT + U to open a new URL. To quit, you can press SHIFT+Q, and to go back to the previous page - SHIFT+B. Finally, you should know that you can use the keyboard arrow keys to navigate and press enter when you want to take an action. Of course, you need to replace xyz.com to any website that you want to browse/test. Next, to get started, you have to simply follow the command below: w3m xyz.com Here, we are installing the w3m package along with image extension for in-line image support. ![]() If you have an Arch-based distro, you might want to check AUR if it’s not available directly.įor Ubuntu, you can install it by typing in: sudo apt install w3m w3m-img W3M is available on most of the default repositories for any Debian-based Linux distribution. If you’re curious, you can also check out the repository at GitHub. ![]() ![]() You can simply type w3m in the terminal to get help after installation. As per my quick test, it didn’t seem to load up DuckDuckGo but I could use Google in terminal just fine. Of course, depending on what resource you are trying to access, things might look different on your end. W3m is quite simple, supports SSL connections, colors, and in-line images as well. Even though the original project is no longer active, an active version of it is being maintained by a different developer Tatsuya Kinoshita. W3m is a popular open-source text-based web browser for the terminal.
0 Comments
Leave a Reply. |