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 02-27-2003, 06:41 PM   #1
conno
LQ Newbie
 
Registered: Feb 2003
Location: UK
Posts: 15

Rep: Reputation: 0
Question Installing + packages go where?


I have been reading up on installing source programs (tarbal), and from what i can gather it says to put the package into the source folder.

It then says if it is a system program then it goes in /usr/src, and if it is a user program it goes in usr/local/src. My question is how do you know which packages are which, and also do packages always go into these two directories?

thanks

conno
 
Old 02-27-2003, 07:08 PM   #2
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
Do you mean taped archives as in .tar? If so, when you extra it, it should create a dir with the install script.
 
Old 02-27-2003, 08:19 PM   #3
conno
LQ Newbie
 
Registered: Feb 2003
Location: UK
Posts: 15

Original Poster
Rep: Reputation: 0
A gzipped tar file. A dir with the install script? I dont follow...?

conno
 
Old 02-28-2003, 05:34 AM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Hmm, you can ignore that advice, it's years old. /usr/src and /usr/local/src have been deprecated for a while.

I just use ~/Source for my source packages, there is no "special" place to extract them, just put them anywhere you have write access to (ie your home dir)
 
Old 02-28-2003, 07:28 AM   #5
conno
LQ Newbie
 
Registered: Feb 2003
Location: UK
Posts: 15

Original Poster
Rep: Reputation: 0
I see. So it doesnt matter where you put the source package, cos when you install it, it will send all the packages to their correct places?

conno
 
Old 02-28-2003, 11:51 AM   #6
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Yep, basically. Just extract it somewhere convenient (ie in your home dir), and do the ./configure, make, make install sequence. If all goes according to plan, it'll be integrated with the system. Keep that directory around, you'll be able to do "make uninstall" in theory to get rid of it later.
 
Old 02-28-2003, 12:17 PM   #7
conno
LQ Newbie
 
Registered: Feb 2003
Location: UK
Posts: 15

Original Poster
Rep: Reputation: 0
Thats wicked, cheers mike. Thanks snocked too for your help.

conno
 
  


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
Packages aren't installing Qwirt Linux - Software 5 07-31-2004 02:25 AM
installing packages spadeyboy *BSD 2 07-21-2004 01:43 AM
Installing packages andy753421 Slackware 5 05-31-2004 11:03 PM
Installing packages ... how to Llamaman Linux - Newbie 2 01-27-2004 12:16 PM
installing packages JAGwar1803 Linux - Newbie 3 01-01-2004 10:12 PM


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