Forum > General

Installing FPC 3.2.0 and Lazarus 2.0.8 step by step on Ubuntu

(1/2) > >>

Since there is no more .deb files, I have some problem to install both, FPC and Lazarus:

1. Step one is to remove old FPC and Lazarus

2. Further create a temp directory and make it active in konzole

3. Download FPC by this script:

--- Code: ---mkdir dl
cd dl

wget -c
wget -c

--- End code ---

4. Extract it in by this script:

--- Code: ---cd dl
tar -xvf fpc-3.2.0-x86_64-linux.tar
tar -xvf fpc-3.2.0.source.tar.gz -C $HOME

--- End code ---

5. Install it by this script  keeping all path by default:

--- Code: ---cd dl/fpc-3.2.0-x86_64-linux

--- End code ---

Now it should be updated $PATH by $PATH=$PATH:$HOME/fpc-3.2.0/bin, however calling fpc have no effect.

I have also tryed symbolic linking:
cd /usr/bin
sudo ln -s $HOME/fpc-3.2.0/bin fpc_bin

But calling fpc as well have no effect.

6. Lazarus 2.0.8 is download and should be installed by this script:

--- Code: ---mkdir -p $HOME/Lazarus
cd $HOME/Lazarus
svn checkout
cd lazarus_2_0_8
make clean
make bigide

--- End code ---

But since fpc cannot be found this step cannot make Lazarus at all.

I'm not quite skilled in Linux and I would need a bit of help how to make this to work.

BTW, I can confirm that following command works fine:


All files seems to be where they should be, but simply calling plain fpc doesn't work.

1) Why are you posting in "General", and not in "Linux"?
2) Use fpcupdeluxe and be done with it......

That's normal for any home dir installs. With most *nix package systems you also need to create symlinks or add dirs to your PATH to get it to work.


--- Quote from: Zvoni on June 23, 2020, 12:18:15 pm ---2) Use fpcupdeluxe and be done with it......

--- End quote ---
Works only if you've a desktop environment ;)

To update your path for the current session:

--- Code: ---export PATH="$HOME/fpc-3.2.0/bin:$PATH"
--- End code ---
Or permanently:

--- Code: ---nano ~/.bashrc
--- End code ---
and append

--- Code: ---export PATH="$HOME/fpc-3.2.0/bin:$PATH"
--- End code ---


[0] Message Index

[#] Next page

Go to full version