Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2018-01

FPC 3.0.4 on Ubuntu Trusty

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszyk

As I don't have Trusty installed I thought I would ask here instead. What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty? Is it as simple as downloading and installing the deb/rpm package from the website or is there a ppa somewhere for me to use? Does FPC 3.0.4 work on Trusty? The default on Trusty seems to be 2.6.4.

Rgds, Darius

Reply by email

Victor Campillo
to Darius Blaszyk
Darius Blaszyk wrote 5 lines
As I don't have Trusty installed I thought I would ask here instead. What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty? Is it as simple as downloading and installing the deb/rpm package from the website or is there a ppa somewhere for me to use? Does FPC 3.0.4 work on Trusty? The default on Trusty seems to be 2.6.4.

Hi,

My system is Ubuntu trusty (Xubuntu actually) and I have installed FPC 2.6.2, 2.6.4, 3.0.0, 3.0.2, 3.0.4 and trunk, all of then work without problems.

About the best way to install it, I highly recommend to compile it from sources, it is the best way without any doubt.

Best Regards.

Victor Campillo

Reply by email

Darius Blaszyk
to Victor Campillo
About the best way to install it, I highly recommend to compile it from sources, it is the best way without any doubt.

Thanks Victor! However, compiling from sources is not very practical for me. I need to install the latest FPC for a Travis-CI build. So therefore I need a binary distribution preferably. I did find this PPA btw: https://launchpad.net/~ok2cqr/+archive/ubuntu/lazarus, which provides FPC 3.0.0 for now. Is there an "official" PPA anywhere?

Rgds, Darius

Reply by email

Michael Van Canneyt
to Darius Blaszyk
Darius Blaszyk wrote 7 lines
> About the best way to install it, I highly recommend to compile it from sources, it is the best way without any doubt. Thanks Victor! However, compiling from sources is not very practical for me. I need to install the latest FPC for a Travis-CI build. So therefore I need a binary distribution preferably. I did find this PPA btw: https://launchpad.net/~ok2cqr/+archive/ubuntu/lazarus, which provides FPC 3.0.0 for now. Is there an "official" PPA anywhere?

No.

We sometimes have .deb downloads on the website, but not always.

You're better off taking the .tar.gz. It should work on any linux system.

Michael.

Reply by email

Graeme Geldenhuys
to Darius Blaszyk: As I don't have Trusty installed I thought I would ask here instead. What is the most…
Darius Blaszyk wrote
What is the most convenient way to install FPC 3.0.4 on Ubuntu Trusty?

In the years that I still used Linux (Ubuntu) as my primary OS, I ALWAYS used the official Free Pascal console installer (never the bundled packages for FPC or Lazarus). Then simply used the apt-get package manager to install the dependencies:

sudo apt-get install libX11-dev
sudo apt-get install libXft-dev

That pulled in everything I needed to get a working development environment on Ubuntu. That way I could also install multiple version of FPC for testing.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Darius Blaszyk
to Michael Van Canneyt: No. We sometimes have .deb downloads on the website, but not always. You're better off…
We sometimes have .deb downloads on the website, but not always. You're better off taking the .tar.gz. It should work on any linux system.

Thanks Michael! However, as I understand installing from a .tar cannot be fully automatically done. Some interaction is still needed. This makes it impossible for me to use on Travis, that requires a non-interactive script running on Trusty.

What would be the best option in this case? Is creating a .deb file for FPC 3.0.4 difficult?

Rgds, Darius

Reply by email

Michael Van Canneyt
to Darius Blaszyk
Darius Blaszyk wrote 11 lines
> We sometimes have .deb downloads on the website, but not always. > > You're better off taking the .tar.gz. It should work on any linux system. Thanks Michael! However, as I understand installing from a .tar cannot be fully automatically done. Some interaction is still needed. This makes it impossible for me to use on Travis, that requires a non-interactive script running on Trusty. What would be the best option in this case? Is creating a .deb file for FPC 3.0.4 difficult?

Yes.

I've not once succeeded in making a .deb.

Michael.

Reply by email