Summary of what you are going to install:
- Lazarus IDE
- anchordocking design package for a dockable GUI
Although you may use Windows or MAC OS as an operating system for your development computer, as a beginner it is recommended that you use a Linux-based distribution.
If you haven’t installed the OS read this article.
Here are the steps:
1) Set a root password that is easy to type and remember
Ok, some people may claim this is risky but remember that we are setting up a development computer for novices and for assisted coding. If you have important/sensitive data to the same computer (which you shouldn’t) you could skip this step.
Here is a sample code that will change the root password (you will be prompt for the new one):
sudo passwd root
You will be asked for your password. Type it two times.
2) Install Lazarus IDE
At first try to download it from the standard repositories:
sudo apt-get update sudo apt-get install lazarus-ide
If that does not work, try the following:
gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F; gpg -a --export 6A11800F | sudo apt-key add - echo "deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe" | sudo tee /etc/apt/sources.list.d/lazarus-stable.list sudo apt-get update; sudo apt-get install lazarus For more read How to Install Lazarus on Ubuntu article.
3) Install the dockable plugin
Perform the following steps:
- Packages → Install/Uninstall packages
- select anchordockingdsgn package from the “Available for installation” packages list
- click Install selection
- click Save and rebuild IDE
- wait for the IDE to compile
4) Prepare your taskbar / desktop
Pin the following to your taskbar (or desktop):
- a web browser of your choice
- the IDE you have installed
- optionally a file manager
Unpin any items you don’t need. You will work more efficiently if you keep the desktop clean and tidy.
5) Prepare your workspace for the project (optional)
If you have a specific project or assignment you want to complete then:
- create a folder on your desktop
- copy to that folder the assignment PDF, any slides and additional resources you were given.
6) Install optional software
Once you have setup the IDE, you could install additional software: