LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2008, 09:27 AM   #1
acrampton81
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
New to forum, and pretty new to Linux. Question of .zip files


Getting my feet wet again on linux, and slowly picking it up. One question of many is I was trying to install the latest alien arena package. It is a .zip file. Never installed a zip in Linux. the readme says extract to /usr/local/games, tried and it says I don't have permissions. sounds like I should do it in command line, but not sure how, and suggestions.

Ubuntu 8.10 64-bit
AMD FX-60
2 Gb Ram
Geforce 8600 GTS
 
Old 11-25-2008, 10:40 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
To unzip a zip file, open a terminal and type in "unzip <filename>.zip" You will need to be root to move it to /usr/games

I have moved this thread to Linux-Newbie as this more than an intro.

Welcome to LQ
 
Old 11-25-2008, 10:41 AM   #3
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Welcome to Linux!

Yup, the commands you were told to run were probably to be done from the command line (as it allows people to provide a concrete set of instructions that don't fall victim to things like the various file managers, and other graphical nuances).

Normally, a user on a Linux/UNIX/*BSD system does not have permission to write to any directory other than their own home directory (/home/YOUR_USER_NAME). When you open up a terminal emulator (Konsole, Gnome-Terminal, Xterm, ..., etc.) type in the following commands, and please note that I am assuming you have the ZIP file in your home directory:
Code:
$ unzip alien_arena.zip
$ sudo mv alien_arena/ /usr/local/games/

Now, to make sure that /usr/local/games is in your $PATH variable; the $PATH
variable lets the shell know where to look for executable files.

$ echo $PATH | grep -i /usr/local/games

 If that command does not return anything, then issue the following commands.

$ echo "export PATH=/usr/local/games:$PATH" >> ~/.bashrc
$ source ~/.bashrc
 
Old 11-25-2008, 03:28 PM   #4
acrampton81
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks both for the valuable tips. One problem down, several hundred to go
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I extract password pretected .zip files in linux i_s Linux - General 2 03-25-2005 04:47 AM
Unzipping .zip files in linux dr_zayus69 Linux - Software 5 09-27-2004 06:47 PM
Forum Choice: Zip VS iso tweek Linux - Software 5 02-12-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration