LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2004, 01:02 PM   #1
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Rep: Reputation: 30
After software install


Hi, as of today I am running Mandrake 9.2. I have been running Fedora for a month or so but it was a bit buggy for me... I digress...

I don't want to make any mistakes as I begin to load my new OS with more programs so I had a question...

Assume that I download a program in a tarball format and am going to install it..
1) where should I extract to? I currently extract to /home/myname
2) after I run ./configure & Make & Make install, where can I go to find the program to launch usually? (example being realplayer)
3) Can I delete the folder that I extracted to or does it need to stay there now and forever amen?
4) If I make clean, do I need to leave the folder I installed from alone still or can I delete it?

Thanks in advance, this may seem like stupid questions but I just want everything to stay clean and uncluttered.


Thanks......
JB
 
Old 02-25-2004, 01:28 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
1) I use ~/build/ for unpacking tarballs and building stuff from source. It works for me and I keep my downloads in another directory to keep things clean. Whatever you're the most comfortable with.

2) Most programs that you build from source will install to /usr/local/bin - the /usr/local tree is where you're supposed to keep locally built stuff but you don't *have* to. Although, it helps since most distribution-supplied software installs to /usr, so if you install your locally built stuff to /usr/local you will not over-write any distribution files.

3) You can delete the directory but I recommend keeping at least the directory itself and the Makefiles in it and its subdirectories. This way you can easily backtrack what files that program installed and often the Makefile supports doing a "make uninstall" to remove the installed software from your system.

4) See nr 3.



Håkan
 
Old 02-26-2004, 12:12 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Before you run the ´make install' command, you need to su to root. You probably just left that out, but I didn´t want to someone reading that to miss the point.

You could use the find command to locate where new files are located.
find / -cmin -4
will locate all files created in the last 4 minutes.
Or you could look in the make install section of the makefile. There will be copy commands you could examine.
 
Old 02-26-2004, 12:20 AM   #4
hiteshmaisheri
Member
 
Registered: Nov 2003
Location: Kerala, India
Distribution: Red Hat, Knoppix, Mandrake, FreeBSD
Posts: 231

Rep: Reputation: 30
thanks for the information
 
Old 02-26-2004, 06:39 AM   #5
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
You might also want to look into checkinstall. When you compile a tarball, you use checkinstall instead of 'make install' and it will create an RPM (or Slackware or Debian package) for you and install it. That way you can easily remove / re-install it from the rpm. This is a great feature since 'make uninstall' doesn't always work as it should.

Enjoy!
--- Cerbere
 
Old 03-04-2004, 11:57 PM   #6
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Posts: 232

Original Poster
Rep: Reputation: 30
Thanks for the advice. I like the checkinstall program. Its like having custom RPM's for anything I want to install.
 
  


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
cannot install some software txotxo SUSE / openSUSE 2 10-01-2005 01:37 PM
Where do you install software? rcockrell Linux - Software 2 11-01-2004 11:29 PM
where should i install software? iemerick Linux - Newbie 4 07-23-2004 10:35 AM
Where to install software? jess1975 Linux - Newbie 1 07-13-2004 06:11 AM
How to Install software? Silverado2000 Linux - Newbie 6 01-30-2002 09:29 PM


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

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