Question: So I got a used Laptop a month ago an planned to set it up for my own use. I wanted to set up Windows 10 and Ubuntu on it but have not been able to do so. I would be mention below what I have tried so far. Please take a look and see if I am doing something wrong.

1. I turned off Secure Boot (So that I could boot from USB).
2. Set boot mode to UEFI and Legacy from the default UEFI OS. The Third option was CSM OS.(God knows what it is).
3. Booted my laptop into windows 10 setup on the usb, deleted all previous partitions, created a new partition for the windows leaving more than half unallocated for the ubuntu installation and finally got done with a clean windows installation.
4. Then I booted my laptop on the Ubuntu setup on usb and launched the installation. For some reason **the Ubuntu setup failed to detect existing operating system on the disk** and hence did not show me the "*install alongside*" option. This is where I am stuck. I have tried different ways to proceed from here by going into "*something else*" option but all my efforts have been wasteful.

In fact I lost windows 10 a couple of times so had to repeat step 3. Perhaps got my boot loader corrupt.

What I understand is the Ubuntu setup must be aware of the existing OS on the machine and something is not letting it to do so. In the "*something else*" option the only partition I see is my full hard disk as a whole in free space.

Kindly help me with it.

Answer: 
You don't need to install a `tar.gz`. It is a compressed file (like a .zip).

To extract the file from a terminal, download it (in this example, it will just be in your /home folder), and run

```
tar xvf Opera_Mobile_Emulator_12.1_Linux.tar.gz

```

Or you can right click it and choose `extract here`.

This will make a folder in /home called `Opera_Mobile_Emulator_12.1_Linux`, in this folder is an executable file (no install needed) called `opera-mobile-emulator-launcher`, double click this or run

```
cd ~/Opera_Mobile_Emulator_12.1_Linux
./opera-mobile-emulator-launcher

```

It should pop right up.

[Here is the manual for the `tar` command](http://manpages.ubuntu.com/manpages/utopic/man1/tar.1.html).
If the file is named `filename.tar.gz`, use the command `tar xvzf filename.tar.gz`. The `x` option means extract; the `v` option means to be verbose in reporting what the tar command is doing; the `z` option means the files were zipped; the `f` option means the filename will follow.

(If you're new to the terminal, here's a useful tip: start typing the filename and press `Tab`. The terminal will auto-complete the name of the file you are typing. If there are two or more possible completions, hitting `Tab` twice will show a list of possible completions.)

If the file is named `filename.tar`, omit the `z` in the command above:

```
tar xvf filename.tar.gz

```

If the file is named `filename.gz`, it is a zipped file that is NOT a `tar` archive. Unzip it using the command `gunzip filename.gz`.

You say you are "installing" it; the above will just extract the files that are bundled up together (in what is called a "tarball"). If the file(s) inside the tarball are a software package, you will have more work to do to install the software. Run the `file` command by typing `file filename` (where `filename` is the file that gets created from unpacking the tarball) to see what type of file `filename` is, and post the output in the comments below. If it is just a directory, you might already have what you need and have no further work to do.