LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-16-2005, 03:20 AM   #16
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59

that doesnt make sense to me what you said...
what is the filename that you downloaded? what is the link that you downloaded it from if you know it
 
Old 03-16-2005, 03:24 AM   #17
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
Ok, I am in the right directory, now if I want to install LimeWire or BitTorrent, what is the code? I don't know anything about this. I have hit

sh ./LimeWireLinux.bin

apt-get LimeWireLinux

apt-get LimeWireLinux.b

apt-get sh ./LimeWireLinux.bin

[EDIT] Ok, here is the link...
Here
I downloaded this rom file, and I extracted it. All I know now is that there is a file that says limewire, and the little icon has an SH symbol.

Last edited by Lyko; 03-16-2005 at 03:29 AM.
 
Old 03-16-2005, 03:27 AM   #18
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
apt-get searches the web for the install packages, not utilizing the ones you downloaded.

do man apt-get for more info.

a file with an extention of .sh or .run should be run:

bash filename

try that.
 
Old 03-16-2005, 03:27 AM   #19
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
what is the link to the .bin file you downlaoded or whatever file you downloaded? im not sure exactly what to type, tell me the link and ill see what i have to type and let you know
 
Old 03-16-2005, 03:30 AM   #20
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
The following is gibberish to me. Maybe you can desipher

bobby@cpe-24-174-165-252:~ $ cd "/home/bobby/My Downloads"
bobby@cpe-24-174-165-252:~/My Downloads $ apt-get sh ./LimeWireLinux.bin
E: Invalid operation sh
bobby@cpe-24-174-165-252:~/My Downloads $ apt-get LimeWireLinux.bin
E: Invalid operation LimeWireLinux.bin
bobby@cpe-24-174-165-252:~/My Downloads $ apt-get LimeWireLinux
E: Invalid operation LimeWireLinux
bobby@cpe-24-174-165-252:~/My Downloads $ bash LimeWireLinux.bin
LimeWireLinux.bin: LimeWireLinux.bin: No such file or directory
bobby@cpe-24-174-165-252:~/My Downloads $ bash LimeWireLinux
LimeWireLinux: LimeWireLinux: No such file or directory
bobby@cpe-24-174-165-252:~/My Downloads $ bash limewire
limewire: line 2: cd: /usr/lib/LimeWire: No such file or directory
runLime.sh: runLime.sh: No such file or directory
bobby@cpe-24-174-165-252:~/My Downloads $
 
Old 03-16-2005, 03:33 AM   #21
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
How did you guys learn this stuff? It has taken me a day to just figure out how to download something, just following directions, yet you guys can put it together and make meaning out of what might as well be chinese to me.
 
Old 03-16-2005, 03:36 AM   #22
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
That's because we've been using Linux a while.

It's a REAL Operating System. Not Wintendo.

type the following:

man apt-get
look at what that produces. the Q key quits.

then type
man sh
or
man bash

again, Q quits.

That will give you understanding of the syntax. Remember Linux is case dependent...
 
Old 03-16-2005, 03:45 AM   #23
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
What is the different between apt-get and synaptic?

I didn't understand the man sh.

I used MS because I didn't know of anything different. I am trying to learn
 
Old 03-16-2005, 03:46 AM   #24
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
i believe the difference is that synaptic is a front-end/graphical version of apt

Last edited by nadroj; 03-16-2005 at 03:48 AM.
 
Old 03-16-2005, 03:50 AM   #25
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
So if I have a program in My Download folder, what is the command line to run it? Right now, I have an extracted folder of Phex, which is filled with .jar files, a LimeWireLinux.rpm, a BitTorrent rpm. and a few others, none of which I know how to install.
 
Old 03-16-2005, 03:52 AM   #26
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
The "man" command pulls up the manual entry for the given command.

If you get no manual entry, it usually means you don't have that application installed.

If you type:

man sh

you get the manual entry for the sh shell. It'll giv eyou some history, examples of syntax and some other thing.

if you type:

man cd

you get the manual entry for the change directory command...

and so on...
 
Old 03-16-2005, 03:53 AM   #27
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
Nothing happened when I hit man cd
 
Old 03-16-2005, 03:54 AM   #28
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
does nothing happen? or does it display "No manual entry for cd"
 
Old 03-16-2005, 03:55 AM   #29
Lyko
Member
 
Registered: Mar 2005
Posts: 69

Original Poster
Rep: Reputation: 15
No manual entry for cd

Is there no one command that I would type to install any rpm file in my "My Downloads" file?
 
Old 03-16-2005, 03:57 AM   #30
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
rpms are installed with the rpm command (go figure).

type:

man rpm

for proper syntax.

If you get no manual entry for rpm, that means you have no rpm support. RPMs are Redhat Pakage Manager files. RPM based distros include Fedora Core, SuSE, Mandrake and a few others.

to run binaries, symply type:

bash binaryname
 
  


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
Help on basic C vivekr Programming 12 12-01-2005 08:20 AM
really basic os? gravy Linux - Newbie 7 02-26-2005 10:20 PM
basic Ryan450 Linux - General 5 08-21-2004 12:59 AM
Really Basic ?'s Susan Linux - Newbie 3 10-26-2001 02:51 PM
I'm a BASIC chap, looking for some info on BASIC programming CragStar Programming 2 01-21-2001 10:19 AM


All times are GMT -5. The time now is 05:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration