0% found this document useful (0 votes)
42 views16 pages

Installation of Virtual Machine

The document outlines the steps to install VMware Workstation Player 17 and Ubuntu on a PC. It provides 17 steps for installing VMware which includes downloading the installer from the VMware website, running the exe file, restarting the computer, and verifying the installation. It then lists 18 steps for installing Ubuntu within a VMware virtual machine which includes creating a new VM, selecting Linux as the guest OS, specifying disk size, selecting an ISO file, starting the installation, selecting installation options, and verifying Ubuntu is installed. It also provides 4 steps for installing g++ on Ubuntu through apt-get commands to ensure build-essential and updates are installed before verifying g++.

Uploaded by

Muhammad Nazir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views16 pages

Installation of Virtual Machine

The document outlines the steps to install VMware Workstation Player 17 and Ubuntu on a PC. It provides 17 steps for installing VMware which includes downloading the installer from the VMware website, running the exe file, restarting the computer, and verifying the installation. It then lists 18 steps for installing Ubuntu within a VMware virtual machine which includes creating a new VM, selecting Linux as the guest OS, specifying disk size, selecting an ISO file, starting the installation, selecting installation options, and verifying Ubuntu is installed. It also provides 4 steps for installing g++ on Ubuntu through apt-get commands to ensure build-essential and updates are installed before verifying g++.

Uploaded by

Muhammad Nazir
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Muhammad Nazir(2021-CS-8)

Task1
Procedure of Installation of VMware:
Steps:

Step1:
Open website of VMware as link is given:http://www.vmware.com/ and click on products.

Step2:
After that, click the download button.

Step3:
Then go to downloads.
Step4:
When downloading is completed, then run the exe file.

Step5:
Start clicking on next button.
Step6:
After that, click the install button.

Step7:
Now we need to restart out computer so I restarted my laptop.
 

Step8:
Then continue the use of "VMware workstation player 17 for non-commercial use".

Step9:
After that, VMware is installed on PC.

Procedure of Ubuntu Installation:


Steps:

step1:
First of all, I have opened VMware Workstation 17 player.
Step2:
After that I have created new virtual machine. Then, I selected the radio button of "I will install the operating
system later". then select next button.

Step3:
Now I have selected radio button " Linux" as a guest operation system. Then select next.
Step4:
Now I have write the name of Virtual machine name and selected its path.

Step5:
Then I have selected the specify disk capacity(25) and select "split virtual disk into multiple files". Select next
button.
Step6:
Then I have Clicked "Continue Hardware".

Step7:
Then I have selected the iso file.
Step8:
After that, we I clicked close button.

Step9:
Then we clicked finish button.
Step10:
After that, I played virtual machine.

Step11:
After that, loading is started.
Step12:
Loading is continued.

Step13:
After that, I have selected radio button "Normal installation" and "Download update while installing
Ubuntu".
Step14:
After that, I have selected installing type " Erase disk and install Ubuntu".

Step15:
Then I have selected my location.
Step16:
After that calculation of files for skipping copies is started.

Step17:
Then copying of files is started.
Step18:
At last, I have installed Ubuntu.

Task2
g++ Installation on Ubuntu:
Steps:
Steps:

Step1:
when g++ is not installed on ubuntu, then I have used a command due to which some basic essentials are
installed.

Used Command: sudo apt install build essential

Step2:
After using "sudo apt install build essential" command, g++ is not installed yet. Then I have used another
command that is used for getting updates.

Used Command: sudo apt install get-update


Step3:
After using the above two commands, it is possible that g++ will be installed on ubuntu. Now I will check
that either g++ is installed or not. For this purpose, I have write g++on ubuntu terminal.

Used Command: g++

Step4:
Now I am executing my c++ file for confirming that g++ is installed. The Factorial.cpp file is given below.
Now, I have shown you that factorial.cpp is converted to factorial_OS file and I run it and find factorial of 12.

You might also like