LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-22-2010, 03:58 AM   #1
becker
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Updating from source


Hi

There is plenty of info around the net on how to install software from source. Last night I when I wanted to update Transmission from version 1.75 to 1.80 I had no option but to compile from source as even the ppa wasn't giving the latest version.

As I had never done this before and didn't know how it worked I used synaptic to remove transmission first then did the compile and I now have transmission working, no problems at all.

My question now is, If a new version comes out how do I update it?

Do I just download the latest source tar ball and compile that and install it or would I need to uninstall the version 1.80 before compiling the next one? Is there a different procedure for compiling a source ball if you are updating rather than doing a first time install??

Many thanks for your help

Becker
 
Old 01-22-2010, 04:32 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
There are several options.
The simplest way is to wait for the packagers to catch up and provide the program in synaptic. Then you just uninstall the software from source (make uninstall) and install the package from synaptic again. This is what most people do.
The 2nd simplest way is to download the newer tarball, uninstall and reinstall. This is what some people do.
The 3rd way is to use git or svn to sync with the source from the developer's repo, and use make to recompile only what have changed. This is supposedly faster than reinstalling from scratch, supposing you do it often. Very few people do it.
 
Old 01-22-2010, 03:23 PM   #3
becker
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply you answer my question totally.

I saw the option for using SVN when I built it but as I'd never heard of that before and it also mentioned building from source I took that option.

I guess now I have the feature I needed waiting for the package team to catch up and going that route would be easiest. Still it's good to have the other methods explained in case I want a program the repos don't carry at some point.
 
Old 01-22-2010, 05:01 PM   #4
slightlystoopid
Member
 
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64

Rep: Reputation: 16
you can often find a lot of ubuntu packages if you search the ppas here. This might be the one you're looking for.
 
Old 01-22-2010, 05:07 PM   #5
becker
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Unbelievable! I added the ppa before I decided to compile the program and the version it offered was 1.76 which was an improvement on what I had but still short of the 1.80 I needed. This ppa you've linked to has the correct v1.80 ready and waiting to be installed.

Oh well at least I learnt something in the process. :-)

Regards

Becker
 
  


Reply

Tags
linux, source, update


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
updating the source.list lukman Debian 2 06-19-2006 06:07 PM
Updating glibc - from source, cont'd sundialsvcs Linux - Software 1 09-04-2005 03:46 PM
Updating glibc - from source sundialsvcs Linux - Software 3 08-29-2005 11:41 PM
updating kernel source thrice Slackware 3 08-17-2003 05:44 PM
installing / updating from source billybucknall Linux - Software 9 02-09-2002 06:58 PM


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