Computing.Net > Forums > Linux > how do i install a program in linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how do i install a program in linux

Reply to Message Icon

Name: Spencer
Date: June 4, 2005 at 22:18:46 Pacific
OS: XANDROS 3.01 OCE
CPU/Ram: AMD / 512mb
Comment:

i need to know how to install a program in linux. i have absolutely NO idea how to do it. if anyone can give simple instructions on how to do it, please let me know!

how do i install from a .bin file?

how do i install from a .rpm file?

how do i install from a .tar.gz file?

what do i do!?



Sponsored Link
Ads by Google

Response Number 1
Name: haroldw
Date: June 5, 2005 at 11:53:27 Pacific
Reply:

For the .bin file make sure you have execute permission to the file and if you are logged in to the same directory as the .bin file just type .filename (make sure you add the leading dot.) If you are not in the same directory as the .bin file type the absolute path to the file, with the filename (no dot needed.)

For the rpm file use rpm -ivh filename.

For the .tar.gz I am not totally sure. Call up the man page on tar and try to figure it out.


0

Response Number 2
Name: jboker
Date: June 5, 2005 at 20:57:46 Pacific
Reply:

for the tar.gz you'll need to untar and uncompress it

tar zxvf filename.tar.gz

then you change the directory to the newly extracted one, usually filename/

cd filename/

then, usually just type

./configure

then type

make

then you'll usually want to change to the root account

su

if everything went well in the previous steps just type

make install

and it will install the program in the default directories. as with everything there are many more options but this is the easiest and installs everything in default locations


0

Response Number 3
Name: 3Dave
Date: June 6, 2005 at 01:31:33 Pacific
Reply:

TIP: After uncompressing a tar.gz and before running ./configure always read any INSTALL and README files that might be in there....


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: how do i install a program in linux

how do i install a program www.computing.net/answers/linux/how-do-i-install-a-program-/19052.html

how do i install a program? www.computing.net/answers/linux/how-do-i-install-a-program/27677.html

How do I install a intern modem in Linux www.computing.net/answers/linux/how-do-i-install-a-intern-modem-in-linux/8632.html