LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help on Installing Programs (https://www.linuxquestions.org/questions/linux-newbie-8/help-on-installing-programs-96556/)

unwrittenlaw 09-24-2003 10:50 PM

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

GT_Onizuka 09-24-2003 10:55 PM

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 ^_^

unwrittenlaw 09-24-2003 11:02 PM

what if is a bin file

GT_Onizuka 09-24-2003 11:16 PM

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 ^_^

win32sux 09-24-2003 11:21 PM

"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...

win32sux 09-24-2003 11:26 PM

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

chris.hicks 09-25-2003 07:40 AM

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

win32sux 09-25-2003 08:31 AM

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/

chris.hicks 09-25-2003 10:13 AM

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!


All times are GMT -5. The time now is 09:10 AM.