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 09-19-2003, 01:56 AM   #1
godders48
LQ Newbie
 
Registered: Sep 2003
Location: Salisbury, UK
Distribution: Mandrake 9.1
Posts: 28

Rep: Reputation: 15
Unhappy installing downloaded applications


I have downloaded two applications to /home/.... what do I do with them now, one is a tar the other a rpm.
Please explain very simply how I instal. Very

itsjustme asked for the file names:-
file:/home/Godders/moneydance_linux_i386_jre141.tar
file:/home/Godders/compupic-5.1.1063-1.i386.rpm

Last edited by godders48; 09-19-2003 at 05:18 PM.
 
Old 09-19-2003, 02:28 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
tar xvf filename.tar
tar will expand the files in the tar file, usually into a new directory. cd into it and look for a README.

rpm -ivh filename.rpm
That installs an rpm file.

What are the filenames you downloaded?
 
Old 09-19-2003, 02:30 AM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
gui type instructions for rpm:

basically for the rpm, just click on it. follow the directions and try installing it. take note of any errors as they may most likely be dependancy errors. you'll need to download any dependancies and install those first.

for the tarball, untar it. if in gui, just right click on it and choose "Extract here". open up a shell terminal and cd into the extracted directory. read the file called "README" or "INSTALL". one of those files will have installation instructions. normally tarballs use this set of instructions (not always though):

[user@computer home] $ ./configure
[user@computer home] $ make
[user@computer home] $ su
[user@computer home] $ make install

for the ./configure you can specify the --prefix option that tells the installation to place all packaged files for installation to be placed in the same directory. so the first command may look like this if you choose:

[user@computer home] $ ./configure --prefix=/usr/local/some_app

you can name some_app anything you want.

sometimes you can build an rpm out of a tarball. open up a shell terminal and cd to the directory where the tarball is. then use these commands:

[user@computer home] $ su
[user@computer home] $ rpm -ta filename.tar.gz

if the tarball you want to try to build is the only tarball in the directory you can just glob the filename:

[user@computer home] $ rpm -ta *.gz

this doesn't always work as the tarball needs specific things for rpm to create rpms and srpms for a tarball. but if it does work, it will be somewhere in /usr depending on distro. on rh 7.3 it's in /usr/src/redhat/RPMS/i386 for rpms and /usr/src/redhat/SRPMS for srpms. there will also be stuff in the other directories like BUILD that can be cleaned out (deleted). anyway you can install these rpms just like described above.

Last edited by megaspaz; 09-19-2003 at 02:33 AM.
 
Old 09-19-2003, 01:42 PM   #4
godders48
LQ Newbie
 
Registered: Sep 2003
Location: Salisbury, UK
Distribution: Mandrake 9.1
Posts: 28

Original Poster
Rep: Reputation: 15
itsjustme asked for the file names:-
file:/home/Godders/moneydance_linux_i386_jre141.tar
file:/home/Godders/compupic-5.1.1063-1.i386.rpm
 
  


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
Total newbie - help with installing downloaded applications. ReuvenNY Linux - Newbie 9 09-03-2005 11:12 AM
Installing downloaded programs elite122 Linux - Newbie 3 07-29-2004 12:38 PM
Installing the Downloaded version of 8.1 Macca Slackware 2 07-31-2002 05:07 AM
Installing Downloaded Programs mtnflyer Linux - Newbie 2 01-02-2002 12:18 AM
Installing downloaded software.... -SinCity- Linux - General 1 01-23-2001 03:34 PM

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

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