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

how do i install a program in linux

Reply to Message Icon

Original Message
Name: Spencer
Date: June 4, 2005 at 22:18:46 Pacific
Subject: how do i install a program in linux
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!?


Report Offensive Message For Removal


Response Number 1
Name: haroldw
Date: June 5, 2005 at 11:53:27 Pacific
Subject: how do i install a program in linux
Reply: (edit)

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.


Report Offensive Follow Up For Removal

Response Number 2
Name: jboker
Date: June 5, 2005 at 20:57:46 Pacific
Subject: how do i install a program in linux
Reply: (edit)

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


Report Offensive Follow Up For Removal

Response Number 3
Name: 3Dave
Date: June 6, 2005 at 01:31:33 Pacific
Subject: how do i install a program in linux
Reply: (edit)

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


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: how do i install a program in linux

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge