I want to downgrade my chrome on Ubuntu
Because I have problems when selenium runs against Chrome 34.
I have installed chrome 33.
But then every once in a while the auto-updater update the chrome.
How can i disable the auto-upadter on Linux specifically?
I had a similar task recently. This is the script I ran to download previous Chrome version, disable auto update and check the installed version:
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_75.0.3770.142-1_amd64.deb && \
sudo dpkg -i google-chrome-stable_75.0.3770.142-1_amd64.deb && \
sudo apt-mark hold google-chrome-stable && \
google-chrome-stable --version \
you can google to find an archive website. I have mentioned 2 of them here, though there are hundreds of them around.
0- choose the version you want to install by going to an archive website like this:
http://www.ubuntuupdates.org/pm/google-chrome-stable
1- In the Download section download the 64-Bits or 32-Bits package suitable for your OS ( or you can directly Press APT_INSTALL button)
3- Install the package using Ubuntu software center. you may need to remove the existing version first.
4- for disabling auto updates you can go to SystemSettings/ Software & Updates from Ubuntu applications Menu
Doing the same things command line:
I assume your user name is "user" you replace it with your username.
1- Browse the website http://www.slimjet.com/chrome/google-chrome-old-version.php or any other archive website.
2- Download a proper version of google-chrome ( I brought 49.0.2623.75 Linux_64)
3- Save the downloaded file in /home/user/Downloads
4- Open a console and execute the following commands:
user#host:~/workspace $ cd ~/Downloads/
user#host:~/Downloads $
user#host:~/Downloads $ sudo dpkg -i ./chrome64_49.0.2623.75.deb
of course you would replace the file name with the one you downloaded.
You can search for software and updates in your dash bar
You can click on Softwares and updates app which is listed
Go to the other Software tab in the window which is opened
you can uncheck the http://dl.google.com/linux/chrome/deb/stable main
and then you can uninstall the new version of chrome and install the old one.
Hope this helps.
Related
I updated to Monterey last week and since then my Hysplit GUI is not displaying properly. it is not an issue with my laptop's display (I have changed and inverted the colours). I have attached screenshots of what it usually looks like and what it looks like now.
I think that this is an issue with Wish - which runs .tcl files. The Hysplit GUI is built on .tcl files. I have attached screenshots of what one of the examples from Wish are showing up as. I have tried to update/figure out what is wrong with Wish but I am limited in my understanding of how it works.
Thanks for the help.
Now:
Before:
Example Wish application:
It seems that the Tcl/Tk version (8.5) shipped with macOS Monterey is broken.
A possible fix:
use the version shipped with Homewrew
Assuming Homebrew is already setup, do:
$ brew upgrade
$ brew install tcl-tk
Then setup a link to the new version of wish:
$ cd /usr/local/bin
$ ln -s ../Cellar/tcl-tk/8.6.12/bin/wish wish
# Eventually replace 8.6.12 with the version exposed by:
$ brew info tcl-tk
Restart your terminal and all wish-based utilities should work well!
I would like to develop Flutter web app on Windows Subsystems for Linux (Debian 10). I followed this instruction. https://flutter.dev/docs/get-started/codelab-web
flutter channel beta
flutter upgrade
flutter config --enable-web
First, I input these commands in my terminal and all of them worked fine.
Second, I tried flutter doctor command and this is the result.
Downloading android-arm-release/linux-x64 tools... 2.1s
Downloading android-arm64-profile/linux-x64 tools... 1.8s
Downloading android-arm64-release/linux-x64 tools... 1.6s
Downloading android-x64-profile/linux-x64 tools... 1.6s
Downloading android-x64-release/linux-x64 tools... 1.5s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Linux, locale en_US.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] Connected device (1 available)
! Doctor found issues in 3 categories.
I develop web app, so I don't need Android toolchain and Android Studio, but I need Chrome.
I think there are two ways.
install Chrome on WSL => I searched the Internet, but I couldn't find the way to do so.
user Chrome on Windows 10(not WSL) => I searched the Internet (for example:flutter chrome "windows subsystems for linux"), but I couldn't find the way to do so.
Could you give me any advice?
Try setting the environment variable CHROME_EXECUTABLE to the path of the Chrome executable installed on Windows, so Flutter can locate it.
Turns out, you just need to tell flutter where chrome.exe is located on your host windows machine!
One way to do this is to use GUI Apps, which unfortunately requires WSL version 2 and Windows 11. Read More
Making WSL and GUI Apps ready
If you don't already have wsl, run Powershell in Admin mode and run
wsl --install -d Ubuntu
sudo apt update
change the distro as you like
If you have, run these to make sure it's ready
wsl --set-default-version 2
wsl --update
wsl --shutdown
sudo apt update
Installing Google Chrome on WSL
Change directories into the temp folder: cd /tmp
Use wget to download it: sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Get the current stable version: sudo dpkg -i google-chrome-stable_current_amd64.deb
Fix the package: sudo apt install --fix-broken -y
Configure the package: sudo dpkg -i google-chrome-stable_current_amd64.deb
To launch, enter: google-chrome
You should be good to go
Running flutter doctor should mark web development as ready, and projects should run with this command:
flutter run -d chrome --web-renderer canvaskit
My WSL2(Windows 10 build 18363) did not recognise the environment variable CHROME_EXECUTABLE.
So, I also added the environment variable WSLENV to 'CHROME_EXECUTABLE/p'.
(https://adamtheautomator.com/windows-subsystem-for-linux/#Sharing_Environment_Variables)
Then, it works!
I am in a network where Google is blocked. I needed to install Google Chrome. Hence I cannot go to Chrome download page, it is restricted. Neither can I use
apt-get install google-chrome-stable.
It returns error.
Since I don't have access to Google urls, I tried the below command and tried to install
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Doesn't work. Hence I need a URL or third party repository which has chrome.deb files. Or any other alternative to download chrome. No I do not have USB port to download and copy. It's on a virtual machine.
Since our network does not allow to access Google redirected the request through a proxy network. i.e. by adding proxy paths in /etc/environment and for apt installs add a file called 95proxies in the apt directory.
Then use apt-get install google-chrome-stable.
Cudnn: https://developer.nvidia.com/cudnn
I login and go jump through all the hoops that NVIDIA wants you to do; however, when it comes time to download the file I can't seem to figure out how to do it via wget and the command line.
I was hoping someone has done this. I've copy and pasted the link that they want to click and used this in wget copy-and-pasted-url. But I just get back an html file.
The following trick works with Firefox:
Download the file with your regular machine
Go to the downloads list in firefox, right click on the file and click "Copy original download URL"
Go to your pure-terminal machine, and type:
wget PASTE-YOUR-LINK-FROM-FIREFOX
As #deltheil mentionned, by doing this the link contains a temporary download token, letting you download the file from another machine then the one it was requested from
EDIT
The downloaded filename is libcudnn***.deb?<some download token>. You will need to rename it by stripping the ? and everything after it:
mv libcudnn***.deb?xxx libcudnn***.deb
CUDNN_TAR_FILE="cudnn-8.0-linux-x64-v6.0.tgz"
wget http://developer.download.nvidia.com/compute/redist/cudnn/v6.0/${CUDNN_TAR_FILE}
tar -xzvf ${CUDNN_TAR_FILE}
sudo cp -P cuda/include/cudnn.h /usr/local/cuda-8.0/include
sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda-8.0/lib64/
sudo chmod a+r /usr/local/cuda-8.0/lib64/libcudnn*
The download link that you get right after the accept terms section is authenticated (the GET request gives you a HTTP 302 Moved Temporarily).
If you really want to grab the link from the command line: open your browser, use the developers tools and look at the Location field after the redirection: you can use this link directly with wget as it contains a short-lived authorization token.
You may try the following:
curl -O http://developer.download.nvidia.com/compute/redist/cudnn/v2/cudnn-6.5-linux-x64-v2.tgz
This will download CUDNN 6.5
The location for the latest one is in the NVIDIA latest Docker file, currently at:
https://github.com/NVIDIA/nvidia-docker/tree/master/centos-7/cuda/7.5/runtime/cudnn5
I tried all of these answers and none worked unfortunately.
Though a simple workaround is: apt-get update && apt-get install -y --no-install-recommends <cuDNN Package>
For example, in my case it is:
apt-get update && apt-get install -y --no-install-recommends libcudnn8
And it works!
I saw this two videos
http://www.youtube.com/watch?v=kVSo4buDAEE
http://www.youtube.com/watch?v=x6qe_kVaBpg
and I wanted to try google workspaces on my linux desktop
I followed these instructions: https://plus.google.com/+GoogleChromeDevelopers/posts/644qQuBKZeL
And this detailed tutorial: http://devcoma.blogspot.it/2013/01/how-to-enable-workspace-experiment-on.html
But the "File system folders in Sources Panel" won't show up
I tried with "Chromium Version 25.0.1364.160 Ubuntu 13.04 (25.0.1364.160-0ubuntu3)"
and also with "Chrome Version 29.0.1530.2 dev"
(I installed this dev version from http://www.chromium.org/getting-involved/dev-channel)
Anybody had any luck whith this?
I found the way to test it.
These are the steps I had to follow
Install a ppa with a more recent chromium version, from here:
http://www.webupd8.org/2012/09/new-chromium-stable-and-development.html
sudo add-apt-repository ppa:a-v-shkop/chromium-dev
sudo apt-get update
sudo apt-get install chromium-browser
as of today it install Version 27.0.1453.6 Ubuntu 13.04 (191032)
Open the browser and in the url bar enter chrome://flags/
enabled "Enable Developer Tools experiments."
restart the browser
open the web page you want to debug using workspaces
press F12 to open the dev tool
press F1 to open the settings panel
go to Experiments and check "File system folders in Sources Panel"
restart browser
in your file system, add a file named .allow-devtools-edit
cd
touch .allow-devtools-edit
once again, press F12, F1, and select Workspace, add folder, and add the root of your project
to map your web site to your file system, right click on any js file and select 'Map to network resource', then choose the corresponding file
and that's it, in the Workspace section of your Settings, you will see that a mapping has been added, with something like
'http://localhost:9000' -> '/home/opensas/dev/apps/my_js_project'
The good news is that it seems that with the latest Google Chrome development version everything works out of the box, no need to mess around with development or experimental features.
This question is a duplicate for this one
In the Dev-channel version things were changed a bit.
So you don't need to enable devtools experiments
and don't need to manually create .allow-devtools-edit