Recent

Author Topic: How to completely uninstall on Ubuntu 12.04?  (Read 14670 times)

starsam

  • Newbie
  • Posts: 2
How to completely uninstall on Ubuntu 12.04?
« on: June 18, 2012, 07:50:20 pm »
Hi,
i've tried to reinstall lazarus, but it didn't work. I've installed lazarus through the ubuntu software center and i've tried uninstall it by the same way. When i've installed it again i had same lazarus as the first one, opened same project etc. Sorry for my english, im czech  :P Please help me, i need lazarus work well for my studies

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How to completely uninstall on Ubuntu 12.04?
« Reply #1 on: June 19, 2012, 08:29:42 am »
Delete ~/.lazarus

starsam

  • Newbie
  • Posts: 2
Re: How to completely uninstall on Ubuntu 12.04?
« Reply #2 on: June 19, 2012, 05:13:16 pm »
I've done this. Now i don't have the old project opened on the start. But i can't do anything, because of this message. It shows when i launch Lazarus.
http://imgshack.cz/?di=1413401187566

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11382
  • FPC developer.
Re: How to completely uninstall on Ubuntu 12.04?
« Reply #3 on: June 19, 2012, 07:51:46 pm »
The removal of the ~/.lazarus removes the complete lazarus config.

The trouble is that most package systems leave the configuration behind on deinstall, so for a full refresh do:

1. remove the lazarus pacakge in software center
2. remove the ~/.lazarus dir
3. install the lazarus package again. This will probably make some Ubuntu default ~/.lazarus

The lazy would simply manually configure lazarus though. There are only 2 or 3 settings to do.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: How to completely uninstall on Ubuntu 12.04?
« Reply #4 on: June 19, 2012, 09:53:40 pm »
Hello.
Quote
1. remove the lazarus package in software center

And do not forget to remove fpc as well ( do a fp search in synaptic ) ...

Synaptic done, you could also remove the folder /usr/lib/lazarus ...

And see in /etc if there is no fpc.cfg or some /lazarus folders and remove it ...
« Last Edit: June 19, 2012, 10:03:24 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018