This is a discussion on Upgrade from the source. within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi guys, I need to upgrade a software from the source-code to an earlyer version. How can I do ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi guys, I need to upgrade a software from the source-code to an earlyer version. How can I do it? I know how to install, the usual: ./configure make make install But, how can I upgrade? Remove and install again? I think this way I can miss my configurations. Is there a "make upgrade" command? Thanks in advance, Nuno Paquete |
| |||
| Hi, I think you should try to use a program called "checkinstall", with it you can install programs with: ../configure make checkinstall Checkinstall creates .tgz packages, so you can use upgradepkg and removepkg. Usually there is nothing like "make upgrade". Nuno Paquete wrote: > I need to upgrade a software from the source-code to an earlyer version. > How can I do it? > I know how to install, the usual: > ./configure > make > make install > > But, how can I upgrade? Remove and install again? > I think this way I can miss my configurations. > Is there a "make upgrade" command? |
| |||
| On Sat, 16 Oct 2004 18:50:05 +0100, Nuno Paquete wrote: > Hi guys, > > I need to upgrade a software from the source-code to an earlyer version. > How can I do it? > I know how to install, the usual: > ./configure > make > make install nope. first install checkinstall, i think its on cd 3 or 4, or just download it... cca 100kb afair. ../configure make checkinstall -S it makes a package and installs it. so you can uninstall it. clean way. |
| |||
| Nuno Paquete wrote: > Hi guys, > > I need to upgrade a software from the source-code to an earlyer version. > How can I do it? > I know how to install, the usual: > ./configure > make > make install > > But, how can I upgrade? Remove and install again? > I think this way I can miss my configurations. > Is there a "make upgrade" command? You might be lucky if linuxpackages.net has the older version. They sometimes keep them for older versions of slackware, they should work on the newer ones too tho. ~Mik -- ....for in the files of /mnt/doom, another string was made... |
| |||
| Nuno Paquete wrote: > I need to upgrade a software from the source-code to an earlyer version. that's called downgrading. ;-) > How can I do it? > I know how to install, the usual: > ./configure > make > make install > > But, how can I upgrade? Remove and install again? > I think this way I can miss my configurations. > Is there a "make upgrade" command? nope, there isn't. and in your case, using checkinstall may not be a good option either, because checkinstall runs make install, which may overwrite your config files. so, your best bet may be to do: ../configure --prefix=/usr make make install DESTDIR=/tmp/package before you do the 'make install', check what it actually does with: 'make -n install DESTDIR=/tmp/package' | less this should give you a fairly good idea whether the Makefile honours the DESTDIR variable. (not all of them do.) alternatively, i realise while writing this, you can use checkinstall, as long as you don't specify '--prefix=/usr' to ./configure. that way, the program will be installed to /usr/local, and checkinstall will make a package for it. it does mean that you have to secure your config files before uninstalling the existing package, and move them over to wherever the new version looks for its config files (probably /usr/local/etc, but almost certainly not in /etc.) -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |
| ||||
| Nuno Paquete wrote: > Hi guys, > > I need to upgrade a software from the source-code to an earlyer version. > How can I do it? > I know how to install, the usual: > ./configure > make > make install > > But, how can I upgrade? Remove and install again? > I think this way I can miss my configurations. > Is there a "make upgrade" command? > > Thanks in advance, > > Nuno Paquete Do you still have the directory from when you untarred the package? If so (as root), try: make uninstall Then untar/configure/make/install the earlier version. -- Greg Heilers Registered Linux User #328317 - SlackWare 10.0 ..... That rifle hanging on the wall of the working-class flat or labourer's cottage is the symbol of democracy. It is our job to see that it stays there. --- George Orwell |