LinuxQuestions.org
Review your favorite Linux distribution.
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 09-24-2003, 10:50 PM   #1
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Rep: Reputation: 15
Question Help on Installing Programs


i need help installing programs,my friend showed me how too but i then i forgot.....how do i install them
 
Old 09-24-2003, 10:55 PM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
it depends on what kinda file you are talking about. The two that I use the most often are tar.gz files and .rpm packages.

To Install and RPM all you need to do in the command line is:

$ rpm -ihv name_of_file.rpm

and it will take care of the rest for you (note you will probably need to be root, to get to root do

$ su -

and then enter your password.

For the .tar.gz files first you need to uncompress it by doing this:

$ tar -xzvf name_of_file.tar.gz

this will uncompress it into a directory called name_of_file

$ cd name_of_file

and then you should read the included readme but most of them are installed by doing:

$ ./configure
$ make
$ su -
$ make install

hope that helps ^_^
 
Old 09-24-2003, 11:02 PM   #3
unwrittenlaw
Member
 
Registered: Sep 2003
Distribution: Slackware FreeBSD Gentoo Novell
Posts: 73

Original Poster
Rep: Reputation: 15
what if is a bin file
 
Old 09-24-2003, 11:16 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
if i recall you do:

$ sh name_of_file.bin

but i could be wrong, id give it a whirl...

its either that or you:

$ chmod u+x name_of_file.bin
$ ./name_of_file.bin

one or the other ^_^

Last edited by GT_Onizuka; 09-24-2003 at 11:19 PM.
 
Old 09-24-2003, 11:21 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
"i need help installing programs,my friend showed me how too but i then i forgot.....how do i install them"

this is a very broad question...

what do you want to install???

what distro are you using???

you can configure and compile the source code before you install programs... or you can install programs using pre-packaged binary files... i think you'd be using binaries...

here's guides for the three "main" package systems, rpm, deb, and tgz:

http://www.redhat.com/docs/books/max-rpm/

http://www.debian.org/doc/manuals/ap.../index.en.html

http://wwwacs.gantep.edu.tr/linux/sl...ook/c3984.html

perhaps one of those freshened your memory...

post your distro if you need a detailed explanation for installing your binary software packages...
 
Old 09-24-2003, 11:26 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
yeah, like GT_Onizuka says... bin files just need to be executed... before you execute them you need to make them exectutable (with the chmod command)...

http://www.die.net/doc/linux/man/man1/chmod.1.html



------------------------------------------------------------------------------------
http://beta.experts-exchange.com/Ope..._20696604.html
http://www.experts-exchange.com/Oper..._20647794.html
http://www.linuxquestions.org/questi...003/06/1/63973
 
Old 09-25-2003, 07:40 AM   #7
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
I am trying to use rpm to install a package on my Redhat 9 box and it just keeps hanging. I am wanting to install help2man so I got the package help2man-1.29-1cl.noarch.rpm from http://rpm.pbone.net/

I tried the command as suggested above, namely
rpm -ihv help2man-1.29-1cl.noarch.rpm

I also tried other options for testing etc., but no joy from any of them. The system monitor indicates that rpm is 'sleeping'.

When I try to install it rpm just seems to hang. I also tried to install the source help2man-1.29-1.src.rpm and that also hangs.

Any help would be gratefully received.

Thanks,
Chris
 
Old 09-25-2003, 08:31 AM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
does it happen only with the help2man rpm or with any rpm you try to install?

here's the official help2man page if you want the tarball or something...

http://www.gnu.org/software/help2man/
 
Old 09-25-2003, 10:13 AM   #9
chris.hicks
Member
 
Registered: Sep 2003
Location: Newcastle upon Tyne
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15
This is very odd. I rebooted my machine into Windows 2000 to do some other work. When I restarted RedHat the help2man appears to be there!
 
  


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
Installing Programs farid_145 Linux - Software 1 12-25-2004 04:23 PM
Installing new programs... rrfish72 Linux - Software 5 11-18-2004 12:59 AM
installing programs mannybabe Linux - Software 5 08-06-2003 11:16 AM
installing new programs scottsteibel Linux - Newbie 4 07-31-2003 05:36 PM
Installing programs jpc82 Linux - Newbie 6 10-17-2001 08:52 AM

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

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