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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-24-2009, 07:52 PM
|
#1
|
Member
Registered: Mar 2009
Location: America
Distribution: Debian/Arch
Posts: 134
Rep:
|
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?
|
|
|
12-24-2009, 08:16 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,322
|
Quote:
Originally Posted by cynicalpsycho
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.
|
|
|
12-25-2009, 12:55 AM
|
#3
|
LQ Newbie
Registered: Dec 2009
Location: China
Distribution: RHEL5.1
Posts: 6
Rep:
|
usually, I copy the source files to /usr/local/src, and then ./configure, make ,make install.
|
|
|
12-25-2009, 01:16 AM
|
#4
|
Senior Member
Registered: Sep 2007
Posts: 1,047
Rep:
|
Quote:
Originally Posted by cynicalpsycho
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
This will tell the path for that package.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|