Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to uninstall a tar.gz package?

665 views
Skip to first unread message

Rodolfo Medina

unread,
Nov 14, 2008, 10:40:12 AM11/14/08
to
I have auctex 11.84 installed via tar.gz package, and want now to have the cvs
version.

Can anybody please suggest all the steps so to completely remove the old one?
Or maybe simply installing the cvs version will override the old installation?

Thanks for any reply
Rodolfo


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

François Cerbelle

unread,
Nov 14, 2008, 11:10:12 AM11/14/08
to

Le Ven 14 novembre 2008 16:51, tĆ´ba a écrit :
> If it has the "make unistall" capability, I think it will be easy to
> remove.
> Otherwise, I think you have to read the original Makefile file and
> remove installed files one by one.


Hi,

You can also install the checkinstall package and use it to "reinstall"
your soft. It will create a debian package and you will be able to remove
it.

link about checkinstall :
http://www.debian-administration.org/articles/147

Fanfan
--
http://www.cerbelle.net - http://www.afdm-idf.org

tôba

unread,
Nov 14, 2008, 11:10:23 AM11/14/08
to
On Fri, 14 Nov 2008 16:31:13 +0000
Rodolfo Medina <rodolfo...@gmail.com> wrote:

> I have auctex 11.84 installed via tar.gz package, and want now to
> have the cvs version.
>
> Can anybody please suggest all the steps so to completely remove the
> old one?

If it has the "make unistall" capability, I think it will be easy to


remove.
Otherwise, I think you have to read the original Makefile file and
remove installed files one by one.

> Or maybe simply installing the cvs version will override the
> old installation?


It's not always true. And if can generate big conflicts.

I suggest you to make a deb package before installing.
So if you remove the package, it is more easy and safe.
This link helped me to do postfix .deb files
http://www.debian.org/doc/maint-guide/

--
Tôba

Paul Cartwright

unread,
Nov 14, 2008, 11:30:25 AM11/14/08
to
On Fri November 14 2008, Daniel Burrows wrote:
>   When you install a package from a .tar.gz file, you're installing
> software by hand and there isn't a general procedure -- you do it by
> unpacking the archive and following the instructions it contains.  For
> that reason, there is no general procedure for uninstalling it -- you
> have to reverse whatever you did in the installation steps, and I don't
> know what you did.
>
>   Of course, none of this would be an issue if you had just installed
> the Debian package. ;-)

you can also install & run checkinstall.
then you run:
make
checkinstall

and it installs it as a debian package, so apt/aptitude is aware of it..

--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459

Daniel Burrows

unread,
Nov 14, 2008, 11:30:34 AM11/14/08
to
On Fri, Nov 14, 2008 at 04:31:13PM +0000, Rodolfo Medina <rodolfo...@gmail.com> was heard to say:

> I have auctex 11.84 installed via tar.gz package, and want now to have the cvs
> version.
>
> Can anybody please suggest all the steps so to completely remove the old one?
> Or maybe simply installing the cvs version will override the old installation?

Read the instructions in the package, probably in README or INSTALL.

When you install a package from a .tar.gz file, you're installing
software by hand and there isn't a general procedure -- you do it by
unpacking the archive and following the instructions it contains. For
that reason, there is no general procedure for uninstalling it -- you
have to reverse whatever you did in the installation steps, and I don't
know what you did.

Of course, none of this would be an issue if you had just installed
the Debian package. ;-)

Daniel

Anthony Campbell

unread,
Nov 14, 2008, 11:40:24 AM11/14/08
to
On 14 Nov 2008, Rodolfo Medina wrote:
> I have auctex 11.84 installed via tar.gz package, and want now to have the cvs
> version.
>
> Can anybody please suggest all the steps so to completely remove the old one?
> Or maybe simply installing the cvs version will override the old installation?
>
> Thanks for any reply
> Rodolfo
>
>
I don't know the 'right' way to do this, but I usually just find all the
relevant files with locate (usually in /usr/local) and delete them
manually. Sometimes it's a bit time-consuming but it seems to work.

Anthony

--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)

tyler

unread,
Nov 14, 2008, 12:20:06 PM11/14/08
to
Rodolfo Medina <rodolfo...@gmail.com> writes:

> I have auctex 11.84 installed via tar.gz package, and want now to have the cvs
> version.
>
> Can anybody please suggest all the steps so to completely remove the old one?
> Or maybe simply installing the cvs version will override the old installation?
>

If you build from source, I'm pretty sure both 11.84 and the cvs version
will install themselves to the same place under /usr/local/share, with
most of the key files ending up in:

/usr/local/share/emacs/site-lisp/auctex/

That being the case, if you just go ahead and install the cvs version it
will overwrite all the old files with the new versions. At least, that's
what I did, and everything seems to be working fine.

Tyler

--
Friends don't let friends send Word documents

http://www.nothingisreal.com/dfki/no-word

Rodolfo Medina

unread,
Nov 14, 2008, 10:20:08 PM11/14/08
to
Rodolfo Medina <rodolfo...@gmail.com> writes:

>> I have auctex 11.84 installed via tar.gz package, and want now to have the
>> cvs version.
>>
>> Can anybody please suggest all the steps so to completely remove the old
>> one? Or maybe simply installing the cvs version will override the old
>> installation?

tyler <tyler...@mail.mcgill.ca> writes:

> If you build from source, I'm pretty sure both 11.84 and the cvs version
> will install themselves to the same place under /usr/local/share, with
> most of the key files ending up in:
>
> /usr/local/share/emacs/site-lisp/auctex/
>
> That being the case, if you just go ahead and install the cvs version it
> will overwrite all the old files with the new versions. At least, that's
> what I did, and everything seems to be working fine.


Do you mean that you did what I want to do, i.e. installed the cvs version
*after* the source package, and in your experience all went well? If you
experienced that directly, I can be quite confident and try it myself. Please
let me know.

Thanks
Rodolfo

Tzafrir Cohen

unread,
Nov 15, 2008, 5:50:05 AM11/15/08
to
On Fri, Nov 14, 2008 at 04:31:13PM +0000, Rodolfo Medina wrote:
> I have auctex 11.84 installed via tar.gz package, and want now to have the cvs
> version.
>
> Can anybody please suggest all the steps so to completely remove the old one?
> Or maybe simply installing the cvs version will override the old installation?

What's wrong with the package auctex?

--
Tzafrir Cohen | tza...@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tza...@cohens.org.il | | best
ICQ# 16849754 | | friend

Rodolfo Medina

unread,
Nov 15, 2008, 7:40:05 AM11/15/08
to
On Fri, Nov 14, 2008 at 04:31:13PM +0000, Rodolfo Medina wrote:

>> I have auctex 11.84 installed via tar.gz package, and want now to have the
>> cvs version.
>>
>> Can anybody please suggest all the steps so to completely remove the old
>> one? Or maybe simply installing the cvs version will override the old
>> installation?

Tzafrir Cohen <tza...@cohens.org.il> writes:

> What's wrong with the package auctex?


You mean the auctex Debian package? Well, in the cvs version a particular bug
has been fixed which is still present in the older auctex versions.

Bye
Rodolfo

tyler

unread,
Nov 15, 2008, 8:50:09 AM11/15/08
to
Rodolfo Medina <rodolfo...@gmail.com> writes:

> Rodolfo Medina <rodolfo...@gmail.com> writes:
>
>>> I have auctex 11.84 installed via tar.gz package, and want now to have the
>>> cvs version.
>>>
>>> Can anybody please suggest all the steps so to completely remove the old
>>> one? Or maybe simply installing the cvs version will override the old
>>> installation?
>
>
>
> tyler <tyler...@mail.mcgill.ca> writes:
>
>> If you build from source, I'm pretty sure both 11.84 and the cvs version
>> will install themselves to the same place under /usr/local/share, with
>> most of the key files ending up in:
>>
>> /usr/local/share/emacs/site-lisp/auctex/
>>
>> That being the case, if you just go ahead and install the cvs version it
>> will overwrite all the old files with the new versions. At least, that's
>> what I did, and everything seems to be working fine.
>
>
> Do you mean that you did what I want to do, i.e. installed the cvs version
> *after* the source package, and in your experience all went well? If you
> experienced that directly, I can be quite confident and try it myself. Please
> let me know.
>

It's been a while since I changed anything. I seem to recall I had 11.84
installed from source, which I then replaced with 11.85, installed from
source. I couldn't find any uninstall info, so I just installed right
over top. No problems.

To answer Tzafrir's question, I needed a version of Auctex that wasn't
yet in the repositories, as it had a few bug fixes. I've since switched
to using Emacs compiled from source as well. I'm fussy when it comes to
my emacs, so I prefer to work with the latest release and control all
the bits and pieces myself.

Cheers,

Tyler

--
There is something fascinating about science. One gets such wholesale
returns of conjecture out of such a trifling investment of fact.
--Mark Twain

tyler

unread,
Nov 15, 2008, 9:10:08 AM11/15/08
to
tyler <tyler...@mail.mcgill.ca> writes:

> Rodolfo Medina <rodolfo...@gmail.com> writes:


>
>> Rodolfo Medina <rodolfo...@gmail.com> writes:
>>
>> Do you mean that you did what I want to do, i.e. installed the cvs version
>> *after* the source package, and in your experience all went well? If you
>> experienced that directly, I can be quite confident and try it myself. Please
>> let me know.
>>
>
> It's been a while since I changed anything. I seem to recall I had 11.84
> installed from source, which I then replaced with 11.85, installed from
> source. I couldn't find any uninstall info, so I just installed right
> over top. No problems.
>

I just found this:

http://article.gmane.org/gmane.emacs.auctex.general/2477/match=uninstall

which suggests that you should delete the directory

/usr/local/share/emacs/site-lisp/auctex/

before installing the next version of auctex. I don't know if I did that
or not. As long as the file names are the same between versions it
shouldn't really matter. Also, you might have to tweak the dir file to
get your info files listed properly.

Cheers,

Tyler
--

Chris Burkhardt

unread,
Nov 15, 2008, 6:00:19 PM11/15/08
to
tôba wrote:
> On Fri, 14 Nov 2008 16:31:13 +0000
> Rodolfo Medina <rodolfo...@gmail.com> wrote:
>
>> I have auctex 11.84 installed via tar.gz package, and want now to
>> have the cvs version.
>>
>> Can anybody please suggest all the steps so to completely remove the
>> old one?
>
> If it has the "make unistall" capability, I think it will be easy to
> remove.
> Otherwise, I think you have to read the original Makefile file and
> remove installed files one by one.

If it doesn't have an uninstall script or target, try 'make -n install >
install_log.txt' to get a list of all the files it installs and remove them.

In the future use checkinstall or stow or something to manager your source
installs :)

- Chris

0 new messages