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.
|
 |
01-22-2010, 04:58 AM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 3
Rep:
|
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
|
|
|
01-22-2010, 05:32 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
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.
|
|
|
01-22-2010, 04:23 PM
|
#3
|
LQ Newbie
Registered: Jan 2010
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
01-22-2010, 06:01 PM
|
#4
|
Member
Registered: Jan 2010
Distribution: Arch, Gentoo, FreeBSD
Posts: 64
Rep:
|
you can often find a lot of ubuntu packages if you search the ppas here. This might be the one you're looking for.
|
|
|
01-22-2010, 06:07 PM
|
#5
|
LQ Newbie
Registered: Jan 2010
Posts: 3
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:45 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
|
|