How do I open a file in Ubuntu?
Hi,
I'm brand new to Linux (been a Windows user for years) and I'm trying to install TorGuard VPN in Ubuntu which is on a virtual machine. I've downloaded two files "TorGuard_unix_4_0_1" and "TorGuardPRO.zip". The first file is the VPN and the second file is the instructions. I will like to know how to open these files if anyone could be of any help? In Windows one simply hits "Open" but in Linux when I do this it gives me the run about. Any advice will be appreciated thanks |
The second file is easy just open a terminal and type
Code:
unzip TorGuardPRO.zip The TorGuard_unix_4_0_1 file doesn't have any extension so I suggest running the file command to see what it is Code:
file TorGuard_unix_4_0_1 |
You realise that
a. TorGuard is not free (as in beer; I'm not sure about "as in speech") b. There are free (in both senses) alternatives. If you do a search with Ubuntu's package manager for packages with "tor" at the beginning, you'll find a few. Just saying... what you do is your business. ;) jdk |
Quote:
sphinx@ubuntu:~$ unzip TorGuardPRO.zip unzip: cannot find or open TorGuardPRO.zip, TorGuardPRO.zip.zip or TorGuardPRO.zip.ZIP. sphinx@ubuntu:~$ sphinx@ubuntu:~$ file TorGuard_unix_4_0_1 TorGuard_unix_4_0_1: ERROR: cannot open `TorGuard_unix_4_0_1' (No such file or directory) sphinx@ubuntu:~$ ??? |
Quote:
|
Quote:
For example, if you downloaded them to a directory named Downloads in your home directory, then open a terminal and type: Code:
cd ~/Downloads For the other file type... Code:
./TorGuard_unix_4_0_1 You may also need to make it executable first, like this: Code:
chmod +x TorGuard_unix_4_0_1 |
Quote:
The files are all in downloads and applications as I was messing around with the files trying to get the files open. Here is what I got for download command.... sphinx@ubuntu:~$ cd ~/Downloads sphinx@ubuntu:~/Downloads$ unzip TorGuardPRO.zip Archive: TorGuardPRO.zip replace TorGuardPRO/ca10ca.crt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y inflating: TorGuardPRO/ca10ca.crt replace TorGuardPRO/ca11ca.crt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y inflating: TorGuardPRO/ca11ca.crt replace TorGuardPRO/ca12ca.crt? [y]es, [n]o, [A]ll, [N]one, [r]ename: and..... sphinx@ubuntu:~$ cd ~/Downloads sphinx@ubuntu:~/Downloads$ ./TorGuard_unix_4_0_1 bash: ./TorGuard_unix_4_0_1: No such file or directory sphinx@ubuntu:~/Downloads$ chmod +x TorGuard_unix_4_0_1 chmod: cannot access `TorGuard_unix_4_0_1': No such file or directory sphinx@ubuntu:~/Downloads$ |
Quote:
Apologies. Out of curiosity which ones did you try? jdk |
From your Downloads directory, run the following command: ls -l, then post the output.
|
Quote:
Just to make sure of the path of this file or directory type this from your terminal Code:
find ~/ -name TorGuard_unix_4_0_1 -exec file {} \; Post back any results |
Quote:
I don't use free VPN services only payed ones for reasons I won't go into but I am grateful for your help:) |
Quote:
sphinx@ubuntu:~$ cd ~/Downloads sphinx@ubuntu:~/Downloads$ ls -l total 2152 -rw-rw-r-- 1 sphinx sphinx 12224 May 20 00:09 config_all.zip drwxrwxr-x 2 sphinx sphinx 12288 Jul 7 00:23 TorGuardPRO -rw-rw-r-- 1 sphinx sphinx 150377 Jul 6 20:30 TorGuardPRO.zip -rw-rw-r-- 1 sphinx sphinx 2026873 Jul 6 20:23 TorGuard_unix_4_0_1.zip |
Quote:
sphinx@ubuntu:~$ find ~/ -name TorGuard_unix_4_0_1 -exec file {} \; sphinx@ubuntu:~$ cd ~/Downloads sphinx@ubuntu:~/Downloads$ find ~/ -name TorGuard_unix_4_0_1 -exec file {} \; sphinx@ubuntu:~/Downloads$ |
Hi,
OP, jdkaye has been trying to gently nudge you in the direction that most experienced linux users would take. That being to use their package manager to install software that was packaged for them by their distribution. Downloading zip files from third party web sites and installing them by hand can be error prone, makes it troublesome to keep your installed software up to date (a serious security issue), and so on. Additionally, most often the Free software that is packaged by your distribution and is ready to install is generally of higher quality (YMMV here) than similar third party commercial products. I think you would do well to do some background reading on your new OS before you start getting into bad habits and wasting your own time. For a general overview see for example http://linux.oneandoneis2.org/LNW.htm, next you should look into repositories and package management. Feel free to ask for pointers to documentation here. Evo2. |
Your output in post 12 from the ls -l command shows three files and one directory. Two of the files are the zip files you refer to in your initial post. I don't know if the first file "config_all.zip" was there before. What is in the directory "drwxrwxr-x 2 sphinx sphinx 12288 Jul 7 00:23 TorGuardPRO".
|
All times are GMT -5. The time now is 09:21 AM. |