LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Installing games and programs (https://www.linuxquestions.org/questions/linux-general-1/installing-games-and-programs-53605/)

FuLL-On-Newbie 04-05-2003 07:28 PM

Installing games and programs
 
well i have a dvd disk that has lots and lost of programs and i want to install a game called flight Gear, i typed this in the shell
"tar -xvf gaim-tar:/root/desktop/flightgear/fgfs-base-0.0.1a.tar.gz"
thats the location and all it said was is a error can someone tell me the right code for this please?

rising_sun 04-05-2003 08:11 PM

Try

"tar -zxvf appname.tar.gz"

FuLL-On-Newbie 04-05-2003 09:43 PM

The file is inside the cd how do i locate it and where do i write it?

Crashed_Again 04-05-2003 09:45 PM

First you must mount your cd:

mount /mnt/cdrom

then go into the cdrom directory:

cd /mnt/cdrom

see what files are there:

ls -a

and then install the package:

tar xzvf package-you-want-to-install.tar.gz

FuLL-On-Newbie 04-05-2003 09:51 PM

Quote:

Originally posted by Crashed_Again

mount /mnt/cdrom

Does the word mount have to have a space before the /?

Quote:

Originally posted by Crashed_Again

cd /mnt/cdrom

Does cd have to have a space before the /?

Quote:

Originally posted by Crashed_Again

tar xzvf package-you-want-to-install.tar.gz

does this count package-?

Crashed_Again 04-05-2003 09:52 PM

Yes they all have to have a space. What do you mean does this count package? Did you try the commands?

FuLL-On-Newbie 04-05-2003 09:54 PM

i mean do you have to type the "-" next to the word "package"
do you have to write the right location like dev/game/BLAH BLAH BLAH?
or do you just write the files name.
(if you want to we can speak through msn messenger my email is erks90@hotmail.com)

Crashed_Again 04-05-2003 09:56 PM

If you want to unpack a file called:

something.tar.gz

then you would do:

tar xzvf something.tar.gz

FuLL-On-Newbie 04-05-2003 10:13 PM

I done the first intructions "mount /mnt/cdrom" and this is what it said "line 12 in /etc/fstab is bad. line 13 in /etc/fstab/is bad
according to mtab, /dev/cdrom is already mounted on /mnt/cdrom"

Crashed_Again 04-05-2003 11:02 PM

So your cdrom is already mounted. Now you just have to go into that directory and unpack it.

FuLL-On-Newbie 04-06-2003 01:58 AM

Once we found our file what do we type let me guess this "tar
-xzvf package-you-want-to-install.tar.gz"

FuLL-On-Newbie 04-06-2003 04:57 AM

well i did everthing but theres all way a error :( i writ down tar and stuff and it was compiling until it said "i think its not a tar" well it is "filename.gz.tar" thats what the filename is, do i ment to put another code instead of tar?

poloktim 04-06-2003 08:52 AM

Don't you have to specify a directory if its on the cdrom (as things can't be written there)?

FuLL-On-Newbie 04-07-2003 03:37 AM

You specify a directory but where do you write it in the sentence, i writ that doesnt work?


All times are GMT -5. The time now is 06:33 PM.