Google chrome linux через терминал

How to open Google Chrome from the Terminal in Ubuntu?

Although most versions of Ubuntu come with Mozilla Firefox installed as the default browser, having Google Chrome installed has its fair advantages. Google Chrome has been the superior choice when it comes to browsing on a desktop, having support for most plugins and a variety of add-ons, the likes of which cannot be found on any other browser.

This makes Google Chrome an ideal browser and a must-have no matter which operating system you are running. This guide will help you install Google Chrome on Ubuntu and instructions to use it with the help of the Terminal.

Although this guide is meant for versions of Ubuntu, it should work the same way for any Linux Distribution.

Installing Google Chrome on Ubuntu

There are two methods to install Google Chrome on Ubuntu. One is using the Graphical User Interface (GUI) and the other by using the Linux Terminal. We will first explain the graphical method and briefly examine how to do it from the Command Line Interface (CLI), i.e., the Terminal.

Open Mozilla Firefox and type “Google Chrome” in the search bar or click here.

You should see a chrome window with a “Download Chrome” button, as shown in the image below. Click on the button to download the browser.

You will be given the option to download .deb or .rpm, which has to do with what Linux Distro you are using. Since this article is concerned with Ubuntu, click on the .deb package and press “Accept and Install.”

A download window should appear. Click on Save File and press OK.

Having done that, double-clicking the file, you downloaded should do. A new window will appear that will prompt you to install Google Chrome on your device. Click on “Install”.

Ubuntu will ask you to authorize the installation by entering your account password.

Alternatively, you can also install Chrome through the Terminal. To do this, we must first use a wget command.

This will download the offline installer for the browser.

Next, we install the package with the following dpkg command.

If you get any errors about missing dependencies, run the following command to forcibly install them.

Having successfully installed the Debian package, you are now ready to use Google Chrome.

Opening Google Chrome using the Terminal

Google Chrome, like any other program, can be accessed through its graphical icon. However, those that are fond of using the command-line Terminal to do things are also in luck. We will now show you a way to operate the Chrome browser through the Terminal.

Читайте также:  Linux tab in echo

Working on the Terminal allows you to access the browser using a single command. To open Google Chrome with the help of the command line, follow the steps given below:

Go to Desktop > Applications.

Type Terminal in the search bar and click on the first result.

Or you can skip the lengthy process and open a new Terminal session by pressing Ctrl + Alt + T on your keyboard.

To open Google Chrome, type the following in the Terminal:

This will load up Google Chrome with the default homepage.

Google Chrome does not require you to specify any sort of directories as it is mounted in the binary path.

Let’s look at some more ways to use the Google Chrome browser through the Terminal. Let’s say, for instance, that you wish to visit a specific website. You can do this by entering the URL of the website of your choice, as shown in the command below:

Similar to other Terminal commands, you can enter flags and command parameters with the Google Chrome run command to achieve specific tasks. The general syntax of performing this is given below.

Below is a list of flag options that you can use to achieve daily life tasks through the Terminal.

—incognito Opens the browser in incognito mode
—new-window Opens the path or URL specified in a new window
—version Displays the Version Information
—app=URL Used to run URL in app mode, meaning without toolbars.

If you wish to explore your options even further, run the help command given below:

Additional comments

Keep in mind that to run Google Chrome on your Linux system, the computer architecture must be 64-bit.

Once you install Google Chrome the way we showed you in this guide, you also add Google’s repository, which is responsible for keeping the program up-to-date. So, you do not need to worry about updating the browser yourself.

You can find the path where Google Chrome is located by typing the following command:

You should see the path specified as shown in the image below:

You can also close the browser with the help of the Terminal by typing the following command:

Conclusion

With all the steps followed correctly, you are now ready to use Google Chrome on your laptop or desktop computer. Enjoy one of the fastest and most versatile browsers available to you in the present day and age.

Читайте также:  Python os startfile linux

We hope this guide helped you understand how to access Google Chrome with the help of Terminal commands. Apart from that, we also included additional information on how to maneuver through the options and URL shortcuts that come with them.

About the author

Zeeman Memon

Hi there! I’m a Software Engineer who loves to write about tech. You can reach out to me on LinkedIn.

Источник

Как установить Google Chrome в Ubuntu

Как установить Google Chrome в Ubuntu

Google Chrome — самый популярный в мире веб-браузер. Он быстрый, безопасный и полный функций, чтобы дать вам лучшие впечатления от просмотра веб-страниц.

Firefox значительно улучшился в последнее время и является лучшим выбором особенно с точки зрения конфиденциальности. Тем не менее, если вы являетесь ярым поклонником Google Chrome, я не буду заставлять вас бросить Chrome и перейти на Firefox.

Google Chrome не является программным обеспечением с открытым исходным кодом, и если вы попытаетесь установить Google Chrome через Ubuntu Software Center, вы не найдете его там. Скорее всего, он предложит установить Chromium (проект с открытым исходным кодом Chrome, который является производным). Chromium похож на Chrome, но это все равно не настоящий Google Chrome.

Тогда как установить Google Chrome на Ubuntu? Простой ответ заключается в том, что вы загружаете его с официального сайта.

Это можно сделать двумя способами:

Следует помнить, что Google Chrome недоступен для 32-битных операционных систем. Убедитесь, что используете 64-битную операционную систему.

Разумеется, вам необходимо иметь активное подключение к Интернету.

Там вы увидите ссылку на скачивание. Нажмите на кнопку загрузки.

Когда вы нажимаете на кнопку загрузки, она дает два варианта загрузки файлов. Вы должны скачать .deb файл, который подходит для Ubuntu.

На следующем этапе нужно выбрать сохранение файла на компьютер вместо того, чтобы открывать его в центре программного обеспечения для установки.

Если вы этого не сделаете и возникнут некоторые проблемы в центре программного обеспечения, вам придётся загрузить deb-файл ещё раз. Лучше скачать и сохранить сам файл.

Загруженный deb-файл, скорее всего, должен находиться в папке Загрузки. Установка deb-файлов очень проста. Перейдите в эту папку и дважды щелкните по deb-файлу. Вы можете воспринимать эти deb-файлы, как exe-файлы в Windows.

Затем откроется центр программного обеспечения Ubuntu, и вы должны увидеть возможность установки Google Chrome. Нажмите на кнопку установки.

Проблемы: В Ubuntu 20.04 вам нужно будет щелкнуть правой кнопкой мыши на deb-файл и выбрать вверху Открыть с помощью Центра приложений.

Он запросит ваш пароль перед началом установки. Вы должны ввести пароль вашей учетной записи. Завершение установки Google Chrome займет меньше минуты. Теперь вы должны увидеть кнопку удаления, которая указывает на то, что программа установлена.

После установки Chrome в Ubuntu, вы можете найти его в меню. Просто нажмите клавишу Windows и начните вводить Chrome.

Читайте также:  Установить оболочку пользователю linux

Нажмите на этот значок Chrome, чтобы начать пользоваться браузером Google Chrome.

Установка Google Chrome в терминале Ubuntu [Метод 2].

Процесс, который вы только что видели в методе 1, может быть выполнен и в терминале. Многие предпочитают графический интерфейс, но если вам нравится использовать командную строку, вы можете установить Google Chrome с помощью терминала.

Это не так просто, как с помощью apt-get установить chrome, но и не очень сложно.

Чтобы установить Google Chrome из терминала, получите DEB-файл с помощью команды wget:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Теперь вы можете использовать dpkg для установки Chrome из загруженного DEB файла:

sudo dpkg -i google-chrome-stable_current_amd64.deb

Вот так. Теперь вы можете найти Google Chrome в меню и запустить его оттуда.

Несколько советов по использованию Google Chrome на Ubuntu

Теперь, когда вы установили Google Chrome на Ubuntu 18.04 или другой версии, вы должны знать несколько советов.

1. Синхронизируйте Google Chrome с вашим аккаунтом Google

Ты, наверное, уже знаешь это. При входе в Chrome с помощью аккаунта Google (аккаунт gmail) можно синхронизировать закладки, историю, плагины браузера и расширения с других устройств, на которых вы используете Google Chrome с тем же аккаунтом Google.

2. Добавьте Google Chrome в избранное

Если вы часто используете Google Chrome, было бы неплохо добавить его в избранное в Ubuntu 18.04 версии GNOME по умолчанию, так что вы можете быстро получить доступ к нему с панели запуска слева.

3. Обновление браузера

Хорошо, что Google Chrome добавляет дополнительный репозиторий в ваш каталог sources.list.

Другими словами, Google Chrome будет обновляться вместе с системными обновлениями, предоставляемыми Ubuntu через Software Updater. Полагаю, вы знаете, как обновлять систему Ubuntu, не так ли?

4. Отключился Google Chrome (без паники)

Если вы видите ошибку, которая сообщает:

«Приложение Google Chrome неожиданно закрылось.»

Без паники. Система в безопасности. Ваш браузер Chrome безопасен и удобен в использовании.

Возможно, возникла временная проблема и по какой-то причине сломалась вкладка или расширение браузера. Но это не смертельно.

Если вы будете продолжать видеть всплывающее окно каждый раз, когда вы запускаете Google Chrome в Ubuntu, вы можете использовать «Игнорировать будущие проблемы этой версии программы».

Это зависит от тебя, если ты хочешь отправить отчет о крушении. Даже если вы его не отправите, это не будет проблемой.

Заключение

Установка Google Chrome на Ubuntu является простой задачей. Его нет в центре программного обеспечения, но вы можете скачать и установить его практически так же, как вы делаете это в Windows и MacOS.

Это все равно проще, чем установить Google Chrome на Arch Linux, я полагаю.

Я надеюсь, что эта статья помогла вам получить Google Chrome на Ubuntu и Linux Mint. Если у вас есть вопросы или предложения, пожалуйста, не стесняйтесь оставить комментарий ниже.

Источник

Оцените статью
Adblock
detector