LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 06:52 PM   #1
cynicalpsycho
Member
 
Registered: Mar 2009
Location: America
Distribution: Ubuntu
Posts: 120

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, 07:16 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,412

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
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-24-2009, 11:55 PM   #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, 12:16 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
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 05:11 PM
Tarballs Carlip Linux - Distributions 3 08-21-2003 01:47 PM
apt-get, tarballs and installation dakensta Debian 5 07-04-2003 05:04 PM
tarballs moger Linux - General 4 09-04-2002 03:17 AM
tarballs MasterC Linux - General 5 05-15-2002 01:44 PM


All times are GMT -5. The time now is 09:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration