LinuxQuestions.org
Visit Jeremy's Blog.
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-28-2012, 11:28 PM   #1
j0k0
LQ Newbie
 
Registered: Aug 2012
Location: Batu, East Java, Indonesia
Posts: 2

Rep: Reputation: Disabled
Question install a new application or program


I wanna install a new appllication in linux with tar ball, what should I do ?? and how to set the path of this new application..
 
Old 09-29-2012, 01:29 AM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by j0k0 View Post
I wanna install a new appllication in linux with tar ball, what should I do ?? and how to set the path of this new application..
what is the application? if it is a source tarball, it is often as direct as:

Code:
tar zxf foo-1.23.tar.gz
cd foo-1.23
./configure --prefix=$INSTALL_PREFIX
make
sudo make install
you are probably not going to be that lucky, of course.

if it does come with a Makefile (used by make to compile w/gcc, etc.), then you can usually define in it where the files get installed. You can also make symlinks to them in a dir that is already in your path, too.

another way to tell the system where your new binaries are located is the "alternatives" command. RH/Fedora use this to keep track of the java program, for example.
 
2 members found this post helpful.
Old 09-29-2012, 02:01 AM   #3
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Rep: Reputation: Disabled
I usually untar it like the above example and then read the README and INSTALL files. They can be quite helpful.

- Raj
 
1 members found this post helpful.
Old 09-29-2012, 03:42 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Compiling and installing software from source in Linux - http://www.tuxfiles.org/linuxhelp/softinstall.html

How To Compile and Install from Source on Ubuntu - How-To Geek - http://www.howtogeek.com/105413/how-...rce-on-ubuntu/

First check that the app in question is not in your distros repos.
 
1 members found this post helpful.
Old 10-08-2012, 05:02 AM   #5
j0k0
LQ Newbie
 
Registered: Aug 2012
Location: Batu, East Java, Indonesia
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by nugat View Post
what is the application? if it is a source tarball, it is often as direct as:

Code:
tar zxf foo-1.23.tar.gz
cd foo-1.23
./configure --prefix=$INSTALL_PREFIX
make
sudo make install
you are probably not going to be that lucky, of course.

if it does come with a Makefile (used by make to compile w/gcc, etc.), then you can usually define in it where the files get installed. You can also make symlinks to them in a dir that is already in your path, too.

another way to tell the system where your new binaries are located is the "alternatives" command. RH/Fedora use this to keep track of the java program, for example.
thanks a lot...
 
  


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
Looking for a AI program or application for linux.... honeybadger Linux - Software 3 06-10-2012 11:47 AM
I need application scheduling program ameyjah Linux - Software 4 05-04-2008 02:37 AM
Program starting other application Mart777 Linux - General 3 04-04-2008 03:02 PM
help with usb application program nickster Programming 2 01-27-2005 03:42 AM
Call Other Application by one Program kiennd Programming 4 08-02-2003 02:52 AM


All times are GMT -5. The time now is 11:42 PM.

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