LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-10-2009, 10:25 AM   #1
lunardragon
Member
 
Registered: Mar 2006
Posts: 57

Rep: Reputation: 16
Installation of software UBUBTU 8.1


OK Still a little green using UBUNTU 8.1
Installing debian files is ok but can I install .tar or compile from source?
If so what do I need?
 
Old 03-10-2009, 10:39 AM   #2
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

Rep: Reputation: 98
Look at "How to install ANYTHING in Ubuntu!" on http://amitech.50webs.com/installing/index.php.html and "Installing Software in Ubuntu" on http://www.psychocats.net/ubuntu/installingsoftware

Your FIRST action should always be to download from the repositories. Your VERY LAST action should be to compile...
 
Old 03-10-2009, 11:05 AM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
It depends what you've downloaded, or, more specifically, how it is compressed etc. with regards to 'tar'

'tar' is just a way of archiving, on top of that you usually compress it, whether it ends in
.tar.gz || .tgz
.tar.bz2 || .tbz2

or even just .tar- you need to 'unpack' it as it were, see
Code:
man tar
for your options, but basically for a gzip'd tar archive;
Code:
tar xvvzf archive_path.tar.gz
where x means extract, v is for verbosity, z is for gzip and f is for preserve file structure

Similarly a j instead of the z will do for bzip and neither will do for pure file.tar

When compiling from source your best way is to do a quick ls to see whether or not there is a README or INSTALL file. The convention is the three part
Code:
 ./configure
make
sudo make install
(Though be aware that this means you have to manually grab the dependencies, this wont do it for you)

Some apps, especially certain apache ones (or last time I spent any time with them) use their own methods of installation, as do such things as wicd- so looking in the directory structure is your best bet.

That help?
 
Old 03-10-2009, 11:09 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Also if you plan to compile you need to setup your compile environment,..

sudo apt-get install module-assistant build-essential
sudo m-a update && sudo m-a prepare


Now you will actually be able to do something with those source applications/drivers you've downloaded.
 
  


Reply



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
Problems installing Ububtu 8.04 LTS rohan_1 Linux - Newbie 1 10-01-2008 09:21 AM
Lexmark X125 almost installs in Ububtu popman Linux - Newbie 4 12-29-2007 09:59 PM
Installing Wine on a Ububtu system. gwynn Linux - Software 2 06-17-2007 03:05 PM
Change root password Ububtu 6.10 slackass Ubuntu 7 12-15-2006 11:28 PM
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 05:26 PM

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

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