LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-01-2006, 09:09 AM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
how do i run a file


hello, i've just recently installed FC4. the first thing i did was go to my terminal and type: yum update

are there any more updates i should do? i'm thinking my next step will be to go to the manufacturer's of my hardware components websites and downloading the latest drivers for linux and installing them... but herein the problem arises.

i'm about to ask a very stupid question but how do i run files? i'm not familiar with the linux file extentions and don't know the .exe equivilent. I looked all over for the answer to this question but it seems since it is so basic it has been overlooked.

for instance if i wanted to instal azureus. here is what i downloaded:

Azureus_2.3.0.6_linux.tar.bz2

now how would i go about installing it from the command line?

and could someone tell me the most common file extentions that are executable and how to execute them from the command line, please.

regards,
 
Old 01-01-2006, 09:16 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
For Azureus, you just need to extract it. So, from the command line:

1. Change to the directory where you saved the file (cd /path/to/file). Obviously if you saved it in your home directory then you can skip this, as you'll start in there from a terminal.

2. Extract it with "tar xvjf Azureus_2.3.0.6_linux.tar.bz2" (without quotes). This will create a directory named "azureus", that you can cd into and run the executable by typing "azureus" (again without quotes).

Last edited by Nylex; 01-01-2006 at 09:18 AM.
 
Old 01-01-2006, 09:33 AM   #3
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
thanks, what does the xvjf do? and could i receive input regarding what i should do next to my freshly installed FC4, and also a little rundown of common file extentions and how to run them from command line.

EDIT: I CD'd to azureus folder and typed azureus but it didn't recognize the command. so i did a "dir" and here's the output.
Code:
azureus              libswt-atk-gtk-3139.so      libswt-pi-gtk-3139.so
Azureus2.jar         libswt-awt-gtk-3139.so      License.txt
Azureus.png          libswt-cairo-gtk-3139.so    plugins
Azureus.torrent.png  libswt-gnome-gtk-3139.so    README.txt
ChangeLog.txt        libswt-gtk-3139.so          swt-about.html
libcairo.so.1        libswt-mozilla-gtk-3139.so  swt.jar
the one entitled azureus is in fact the installer. why won't it let me run it?

ALSO: hate to be a terrible pain in the arse but anyone know where i can find documentation for configuring firewall in FC4? I need to know how to open ports. (or just tell me how to get to the configuration of the firewall)

Last edited by Geminias; 01-01-2006 at 09:46 AM.
 
Old 01-01-2006, 10:04 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
To "run a file", you simply type the filename. Here is the subtlety: When you attempt to execute a file rather than read it, the OS looks in the PATH system variable to see where it should look for executable files. The file could be right under your nose, but it won't run unless it is in the PATH.
To run a file NOT in the PATH, type "./filename"** This tells the OS to run this file here and not look in PATH.

Also, the file needs to be flagged as executable. Look at "man chmod" for details on how to make a file executable.

This actually says run filename in the _current directory_. You can also do: "/someplace/anotherplace/filename"---any legal way of specifying the path to the file will work.
 
Old 01-01-2006, 10:07 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Damn it, I knew I forgot something. Information about those options can be found in the tar manpage ("man tar"), but quickly:

x is to extract stuff from the archive
j is to "filter the archive through bzip2.", the file is .tar.bz2. If it was tar.gz, you'd put a z instead of j.
v is for verbose, i.e. it tells you what it's doing (you see the extraction happening, so to speak)
f is to use that filename, I think.

Perhaps the current directory isn't in your $PATH. Try "./azureus" (without quotes) and see if that works.
 
Old 01-01-2006, 02:53 PM   #6
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Also, just as a sidenote, "ls" is the Linux/Unix equivalent of Windows "dir". You can use flags to change the output:

"ls -l" lists all the files along with details such as file size and permissions
"ls -a" lists _all_ files, including hidden ones (those starting with a dot like .bashrc)
"ls -la" lists all files, hidden and not, with details
etc.
 
Old 01-01-2006, 03:01 PM   #7
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
ls looks nicer aswell, it colours the differnt file tipes.

Azureus, not known to be very stable on linux AFAIK, then again ktorrent isn't for me either.
 
Old 01-01-2006, 09:17 PM   #8
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
thanks guys it helped a lot.
 
Old 01-01-2006, 11:40 PM   #9
Chris Albertson
LQ Newbie
 
Registered: Mar 2003
Location: Los Angeles
Distribution: RH
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by Geminias
thanks, what does the xvjf do? and could i receive input regarding what i should do next to my freshly installed FC4, and also a little rundown of common file extentions and how to run them from command line.....configuration of the firewall)
(1) I hate to simply say "Read the manual." but just in case you don't
know how to look up "what does the xvjf do?".... type "man tar"
(no quotes) the man program will print out the manual page for tar.

(2) Unix/Linux does NOT enforce any pollicy about file extensions.
the dot (".") is just another character like the underbar "_". So
a valid file name might be "abcdef.qwerty.get.the.idea" and of
course .idea in NOT an extension it is simply a tag you use so
you can remember what kind of file it is. Linx does not look at
and "extensions" Sometimes I will use multiple "extensions" so
I can remember what is inside the file. like "foobar.txt.gz" might
be a compressed text file, compressed with gzip.

That said, there are common conventions

(3) read "man file".
The file command will tell you what kind of a file you have by looking
_inside_ the file

(4) in FC4 use the GIU firewall tool unless you understand quite a bit
about Internet Protocol. or better yet pick up a Dlink router
 
Old 01-02-2006, 04:28 AM   #10
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 30
i happen to own a dLink router. my knowledge of internet protocol isn't what one would call savvy but i at least get the gist of the different types of protocals.

I remember when i first installed FC4 it asked me about a firewall and i remember i enabled it. But i no nothing about it or even where to find it in the GUI. Any help on how to configure the bastard would be great.

p.s what is the significance of a dLink router?
 
Old 01-02-2006, 04:58 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by jollyjoice
Azureus, not known to be very stable on linux AFAIK, then again ktorrent isn't for me either.
Seriously? I've never had a problem with Azureus crashing or anything.
 
Old 01-02-2006, 07:01 AM   #12
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
Quote:
Originally Posted by Nylex
Seriously? I've never had a problem with Azureus crashing or anything.
Hmm, it does for me, bung it on another desktop then go back to it and it's vanished. or it just freezes. I am on 64bit tho, so could be a java problem, but demonoid.com list it as unstable on linux as well so its not just me...

Sorry, off topic.
 
  


Reply



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
run a file tyranus Debian 4 09-07-2005 03:36 AM
How do I run a ¨.run¨ file? Jube Linux - Newbie 4 07-03-2005 10:12 PM
how do I run a file? kotoisin Fedora 3 12-08-2004 10:15 AM
how to run file *.run pixelV Linux - Newbie 1 03-10-2003 08:01 AM
I can see the file, but I can't run it .... nutecinc Linux - General 7 01-01-2003 09:37 AM

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

All times are GMT -5. The time now is 08:57 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