I On WSL(Windows Subsystem for Linux)
ROOT Setup Instructions There are couple of ways to set up ROOT on windows 10, two will be listed here. I have only tried the first method and it worked on both my laptop and desktop. Much credit to Mr. Tanmay Mudholkar. I On WSL(Windows Subsystem for Linux): Step1: Install a third-party X server (e.g., Xming) a) Download and install Xming from
b) Install Xming, no special installing configuration needed (maybe creating desktop icons for easier launch). Also, you can add it to the system startup so that an X server keeps running in the background, allowing ROOT to run graphical application. Step 2: Install and update WSL Microsoft's instruction: a) Run Windows PowerShell as administrator.
b) To enable the "Windows Subsystem for Linux" optional feature, run: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart when prompted c) Open Microsoft Store and download the latest version of Ubuntu (recommended), or other Linux distributions shown in the Microsoft's instruction link above.
d) create a new Linux user account (): First launch Ubuntu, and you might be asked to create a username, use only lowercase letters to avoid complications.
e) After To update and upgrade WSL, run: sudo apt update && sudo apt upgrade
Type "Y" to continue when prompted.
Step 3: Install ROOT Run the following commands:
cd $HOME sudo apt install git gcc g++ mkdir root_install && cd root_install && wget (note: or the address of the newest release, which can be found at: ) tar xvzf root_v6.18.04.Linux-ubuntu18-x86_64-gcc7.4.tar.gz cd $HOME cat .bashrc export DISPLAY=:0 source root_install/root/bin/thisroot.sh ENDMARKER Explanation: The last four lines above append two lines to your ".bashrc", which is run each time you launch the shell, and are needed to tell ROOT where to find the X server (the DISPLAY variable) and the root installation (by sourcing "thisroot.sh"). Everything before that is a one-time installation -- wget downloads the root tarball and tar unzips it.
One nice thing about this solution is that your Windows folders are mounted by default at /mnt, so you can download ROOT files wherever you want on your system and painlessly access them from a ROOT interpreter running on your Linux shell. for example, my Windows Downloads folder is accessible from the bash shell in this location: /mnt/c/Users/tkmud/Downloads/.
Otherwise, you can try installing cygwin which seems to be quite popular with windows users. I think it ships with its own X server, so you just need to get a shell. But I haven't tried it.
To ensure the graphics, install libtiff package, run: sudo apt install libtiff5 libtiff5-dev pngtools
Simply type root and press enter, if installed successfully, this will pop:
To test simple graphics, run the following in root: TH1F *testHist = new TH1F("test","test",10,-3.0,3.0); testHist->FillRandom("gaus",1000); testHist->Draw();
Output:
II:
Install Virtualbox, and get a working Ubuntu installation that way. There are tons of tutorials on the Internet. It's a little less straightforward than (1), but it allows you to get a fully working Linux distribution without having to dual-boot, and you can use it to get used to the Linux shell. (The disadvantage is that there is typically a performance hit when running Ubuntu as a virtual instance -- but you should really not rely on your laptop for anything computationally heavy anyway.) Then just go to the ROOT downloads page I linked and download the appropriate tarball; and, once you open a terminal, the rest of the instructions should be the same as in I. For this one you don't need to install a separate X server.
Another option is to dual-boot, but that might be a little painful and Microsoft does not seem interested in making it less painful. I would recommend first trying out Ubuntu as a virtual instance in Virtualbox.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- memory forensics and the windows subsystem for linux
- i on wsl windows subsystem for linux
- windows subsystem for linux wsl2 scottibyte
- introduction to windows subsystem for linux wsl ohio linuxfest
- windows subsystem for linux guide documentation read the docs
- noah hypervisor based darwin subsystem for linux
- running linux using windows 10 linux subsystem
- linux subsystem and twarc instructions mcmaster university
- windows subsystem for linux installation guide for windows 10
- linux vulnerabilities windows exploits recon
Related searches
- i forgot my windows 10 password
- why can t i install minecraft windows 10
- how do i find my windows password
- do i have latest windows 10 update
- commands for linux terminal
- windows subsystem for linux 2
- windows subsystem for linux is not enabled
- windows subsystem for linux command line
- how to install windows subsystem linux
- subsystem for linux windows 10
- update windows subsystem for linux
- windows subsystem for linux update setup