Basic window tools for installations

Naomi Fridman
3 min readJan 24, 2019

--

How to add and edit environment variable and use a command prompt.

Windows utilities needed for Spark installation

Windows utilities needed for Spark installation

Many windows users, are used to install staff only with windows executable. So, only next,next … is needed. But when you need to install things like python, anaconda or spark, you need some basic windows abilities. This is a short simple guide for the basic operation needed in Spark installation and many other installations as well.

The article: install-pyspark-to-run-on-jupyter-notebook-on-windows

Manage Environment variables

Environment variables, are variables that are kept in the operating system, and different software’s can use their value. They hold the value of all kind of needed defaults, and location of different software packages.

To add or edit system variable, type env in search.

type env in search.

Choose `Environment variables` from `Advanced` tab:

Choose `Environment variables` from `Advanced` tab

Add new system variable,or edit the existing ones. If you have the (bad:) habit to work as system administrator, you may need to edit the System’s environment variable, not only the User’s System Variables.

Manage Path variable

Path variable holds collection of locations, path’s, to binary (executable) softwares. Path variable has its own special edit dialog, allowing you to add new locations, or edit the old ones.

Manage Path variable

Edit or add each location needed to Path.

Command prompt — cmd

Command prompt is command line window of windows. You can basically do here everything you do with window gui (graphical user interface),like file explorer, start menu and soon. You can move, create and delete files, run programs, etc. To open a command prompt, type cmd in search menu. You can also open it as administrator, and sometime it's required to have administrator permissions.

Command prompt — cmd

Few useful command line commands

  • cd C:\spark — change directory, .. is to go up one dir.
  • mv — move file from place to place, basically cut and paste.
  • cp — Copy paste file
  • pwd — type your current directory
  • set — output environment variables and their values.

--

--

Naomi Fridman
Naomi Fridman

Written by Naomi Fridman

MSc. Mathematics. Data Scientist. Love Deep learning ,Machine learning , Mathematics and Surfing. https://github.com/naomifridman

No responses yet