How to Set Up Chrome on Ubuntu Linux

Google Chrome is a versatile web browser that can be easily set up on Ubuntu Linux. Whether you’re looking to install Chrome on Ubuntu for the first time or need guidance on optimizing it with Linux-specific tweaks, this guide provides a comprehensive walkthrough. Follow these steps to get Chrome running smoothly on your Ubuntu system.

Quick Fixes to Try First

  • Ensure your Ubuntu system is up-to-date by running sudo apt update && sudo apt upgrade in the terminal.
  • Check your internet connection before attempting to download Chrome.
  • Verify that you have administrative privileges to install software.

Download and Install the .deb Package

  1. Open your default web browser and navigate to the Google Chrome download page.
  2. Click on the Download Chrome button.
  3. Select the .deb package option for Ubuntu/Debian Linux and click Accept and Install.
  4. Once the download is complete, open your terminal and navigate to the directory where the .deb file is saved.
  5. Run the following command to install the package:
    sudo dpkg -i google-chrome-stable_current_amd64.deb
  6. If you encounter dependency errors, execute:
    sudo apt -f install

APT Repository Setup for Updates

To ensure Chrome stays updated with the latest features and security patches, add Google’s repository to your APT sources:

  1. Open the terminal and enter the following command to add Google’s public key:
    wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
  2. Then, set up the repository with:
    echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
  3. Update your package list with:
    sudo apt update

Setting Chrome as the Default Browser

  1. Open Settings from your system menu.
  2. Navigate to Details > Default Applications.
  3. Select Google Chrome from the list of available web browsers.

Linux-Specific Flags and Tweaks

Enhance your Chrome experience on Linux by exploring these flags and settings:

  1. Type chrome://flags in the address bar to access experimental features.
  2. Consider enabling GPU Rasterization for better graphics rendering.
  3. Use the --no-sandbox flag cautiously to troubleshoot specific issues (not recommended for regular browsing).

Troubleshooting Common Linux Issues

  • Chrome Crashes: Check for conflicting software using chrome://conflicts.
  • High CPU Usage: Disable unnecessary extensions or use the Task Manager in Chrome (Shift + Esc).
  • Video Playback Issues: Ensure the latest video codecs are installed. Run sudo apt install ubuntu-restricted-extras if needed.

Conclusion

By following this guide, you should now have a fully functional Chrome browser set up on your Ubuntu Linux system. Remember to keep your browser updated and explore various flags for a more customized experience. For additional support, refer to the official Google Chrome Help Center.