LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-24-2009, 07:52 PM   #1
cynicalpsycho
Member
 
Registered: Mar 2009
Location: America
Distribution: Debian/Arch
Posts: 134

Rep: Reputation: 16
Installation with tarballs


ok, package managers are great, but what if i need to use a tarbal?

ok, so i've uncompessed, /.configed made made install and...blah

the files just sit in my download folder... I can now access the program... but only if i do a ./program.

my questions is... where should I move these files to (just put the actually executable in the /usr/bin folder? what about the other files that are just sitting in the dl folder?) and how do i make them execute from the command line by just typing their name?
 
Old 12-24-2009, 08:16 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,322

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by cynicalpsycho View Post
ok, package managers are great, but what if i need to use a tarbal?

ok, so i've uncompessed, /.configed made made install and...blah

the files just sit in my download folder... I can now access the program... but only if i do a ./program.

my questions is... where should I move these files to (just put the actually executable in the /usr/bin folder? what about the other files that are just sitting in the dl folder?) and how do i make them execute from the command line by just typing their name?
Well, most packages can be installed with a simple "make install" (as root), and they will put the packages out into various directories. Most of the programs also have README or other doc files that come with them, telling you how to install it...that's the best place for info, since each program will have different needs, paths, etc.

If not, copy the program file somewhere into your path. Type in "echo $PATH", and it'll display a list of directories. Pick one, and copy the file into it.
 
Old 12-25-2009, 12:55 AM   #3
lorinx8
LQ Newbie
 
Registered: Dec 2009
Location: China
Distribution: RHEL5.1
Posts: 6

Rep: Reputation: 0
usually, I copy the source files to /usr/local/src, and then ./configure, make ,make install.
 
Old 12-25-2009, 01:16 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,047

Rep: Reputation: 65
Quote:
Originally Posted by cynicalpsycho View Post
ok, package managers are great, but what if i need to use a tarbal?

ok, so i've uncompessed, /.configed made made install and...blah

the files just sit in my download folder... I can now access the program... but only if i do a ./program.

my questions is... where should I move these files to (just put the actually executable in the /usr/bin folder? what about the other files that are just sitting in the dl folder?) and how do i make them execute from the command line by just typing their name?
Which package did you install?
Type
Code:
which <package>
This will tell the path for that package.
 
1 members found this post helpful.
  


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
Record installation of tarballs, as for .tgz? JohnKFT Slackware 6 01-30-2004 06:11 PM
Tarballs Carlip Linux - Distributions 3 08-21-2003 02:47 PM
apt-get, tarballs and installation dakensta Debian 5 07-04-2003 06:04 PM
tarballs moger Linux - General 4 09-04-2002 04:17 AM
tarballs MasterC Linux - General 5 05-15-2002 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 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
Open Source Consulting | Domain Registration