PDA

View Full Version : [ubuntu] install error Chrome on ubuntu 18.04 on windows10



leepyun
September 9th, 2020, 12:21 PM
I'm struggling with this problem for a few days now ;(
I want to install Chrome and Chromedriver to use selenium on ubuntu,
so I conneced to Ubuntu 18.04 with Putty (windows 10 user) and write some codes that are needed for chrome installation, but the error is occured as below.
Could anyone please tell me what to do?
ubuntu@ip-172-31-35-176:~$ wget -q -O - https://dl-ssl.google.com/linux/linux_s igning_key.pub | sudo apt-key add -
OK
ubuntu@ip-172-31-35-176:~$ sudo sh -c 'echo "deb [arch=amd64] http://dl.google.c (http://dl.google.c/) om/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
ubuntu@ip-172-31-35-176:~$ sudo apt-get update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/google.list (Component )
E: The list of sources could not be read.

CelticWarrior
September 9th, 2020, 04:21 PM
Welcome.

If you typed exactly as above then surely there's an error, a space in "...c om...".