Is it possible to run any graphical browser (not lynx) from the console on CentOS 1708 without any installed GUI on it? I need to access the web interface of the device, but won't install a GUI on it.
Your question is like "How to fetch HTML web page content from bash and display on screen using shell utilities?"
Fedora / RHEL / CentOS Linux install curl, wget, lynx, and w3m
Open a terminal and and then type:
$ sudo yum install curl wget lynx w3m wget -O - https://unix.stackexchange.com/questions/401068/web-browser-from-console-centos
To read the full article Bash: Display Web Page Content In Terminal
You can use
Google Search, Google Site Search, Google News from the terminal
git clone https://github.com/jarun/googler.git cd googler sudo make install
googler you need python3 , just install it and launch
googler from python3 environment without changing the default python.
sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm sudo yum -y install python36u
ddgris a cmdline utility to search DuckDuckGo from the terminal.
git clone https://github.com/jarun/ddgr.git cd ddgr/ sudo make install
ddgr -h for help.
You said in a comment:
And also my boss says, there is a possibility to run normal browser (like chrome or firefox) without GUI and i says no, there is no way to do so without GUI.
That isn’t true. Both Chrome and Firefox support headless modes. Similar to PhantomJS, their use is more geared towards tooling and testing, but that may fit your use case. See: