LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2002, 07:59 PM   #1
Kows
LQ Newbie
 
Registered: Jul 2002
Location: Oregon, Wisconsin
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Unzipping and running programs


I am incredibly new to linux. I am currently just surfing around in the gui.. I downloaded a few programs, one with a .bin extension, one with a .tgz extension, and one with a .sh extension. What commands do I use in bash to compile, untar, and run these programs?
Any help is appreciated,
Adam
(p.s. the .sh is a java program)
 
Old 07-28-2002, 08:14 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
For .sh and .bin
chmod 755 filename.bin(sh)
./filename.bin(sh)
for tgz (tar.gz)
tar xvfz file.tar.gz(tgz)
cd newlycreateddirectory
read any README/INSTALL files,
usually run
./configure
make
su
make install
 
Old 07-28-2002, 09:08 PM   #3
Kows
LQ Newbie
 
Registered: Jul 2002
Location: Oregon, Wisconsin
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you
I have been reading a lot about unix, etc. I just didn't know the commands
 
Old 07-28-2002, 10:08 PM   #4
Kows
LQ Newbie
 
Registered: Jul 2002
Location: Oregon, Wisconsin
Distribution: Mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
I have another question:
How can I view/kill current processes?
 
Old 07-29-2002, 05:54 AM   #5
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
First run ps to figure out the PID of the process you want to kill and then run kill <PID>
 
Old 07-29-2002, 06:40 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
However, if you're running a Konsole, then ps will only show the processes for that terminal. If you want to see all the processes running, then you can run top. Also, if you're using KDE, then you should look at kpm.

Hope this helps.
 
Old 07-29-2002, 07:58 PM   #7
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Try looking at some of the options for ps, e.g.

Code:
ps aux
 
  


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
running programs jdarvwill Linux - Software 3 10-05-2005 11:15 PM
Running Programs Slayer097 Linux - Newbie 3 02-23-2005 05:43 PM
HElP Running Programs pbrian17 Linux - Newbie 2 10-09-2004 04:03 AM
Running programs OtisLinux Linux - Software 13 01-22-2004 05:07 PM
Help on Running Programs mooreted Linux - Software 3 05-16-2003 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration