Ubuntu 13.04 installed Lazarus after the crash what to do

Source: Internet
Author: User

After installing Ubuntu 13.04, it is found that the Appmenu is working well and no longer needs to be removed. However, after the installation of Lazarus (from source), it has been crash, appmenu problems, of course, the official source of Lazarus is not entirely normal. So the solution, replace Lazarus with the latest version, and find a way to make it run without loading appmenu.

The specific procedures are as follows:

1. First uninstall Lazarus related documents, including FPC:

$ sudo apt-get purge Lazarus FPC Fpc-source

You may not be able to remove the clean, this time use the following command to judge again:

$ sudo dpkg-l | grep Lazarus (also can be sentenced to fpc/fp)

If found, use Dpkg-r or dpkg-p to remove all.

2. Delete the original Lazarus configuration file

Find the directory at the beginning of Lazarus in/usr/lib,/usr/share and delete it

Find the directory at the beginning of Lazarus in the/etc directory and delete it, find the file at the beginning of FPC delete it

Find the. Lazarus directory in the $HOME directory and delete it

3. To SourceForge search and download Lazarus 1.0.8, use the following command to install

$ sudo dpkg-i *.deb

4. After the installation is complete, execute the following command

$ Su-(current user)

$ lazarus-ide

This time can be found, Lazarus Boot, did not load Appmenu, the menu is shown in a regular manner, because there is no appmenu will not produce crash.

So far, Lazarus 1.0.8 is ready to run, and for the sake of insurance, the following changes can be made:

1. Delete Overlay-scrollbar

2. Recompile lazarus-ide

3. The Exec in the/usr/share/applications/lazarus.desktop is directed to $HOME/.lazarus/bin/lazarus

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.