Recent

Author Topic: Problems with installing to Ubuntu 14-LTS  (Read 5655 times)

Delphi5_but

  • Newbie
  • Posts: 5
Problems with installing to Ubuntu 14-LTS
« on: November 04, 2016, 11:58:17 pm »
I am moving everything to Ubuntu and started with 16-LTS but could not get Veracrypt to work with it so have had to go back to 14-LTS. All good though it's EOL is 2019.

I tried installing Lazarus using
sudo apt-get install lazarus

But, it installed version 1.0 of Lazarus.

I did some more searching and found this link

http://www.lazarus-ide.org/index.php?page=downloads
Which leads to the three files to download. I saved them to my Downloads folder.
fpc_3.0.0-151205_amd64.deb
fpc-src_3.0.0-151205_amd64.deb
lazarus_1.6-0_amd64.deb

But now I am lost as to what to do next. I saw a comment here that showed to install those three files in that order with.

sudo apt-get install ./(filename).deb

But do not understand the "./" before the filename. Do I need to create a Lazarus Folder first and copy the files to that or just issue the above install command from the Downloads Folder?

I am a real newbie to Linux but am finally sick enough of windows to make this work. :) Could someone please give me a step-by-step or a link to something like that to get the latest Lazarus and FPC installed.

I would be very grateful.

Thanks
Retired old fart and I program as a hobby

bylaardt

  • Sr. Member
  • ****
  • Posts: 310
Re: Problems with installing to Ubuntu 14-LTS
« Reply #1 on: November 05, 2016, 04:48:20 am »
./ means the file is in the same folder you are.
linux search files only on $PATH. you must inform the path if your file is in another place than $PATH

to see $PATH content:
Code: Bash  [Select][+][-]
  1. $ echo $PATH

You can also install .deb files with dpkg -i:
Code: Bash  [Select][+][-]
  1. $ sudo dpkg -i ./fpc_3.0.0-151205_amd64.deb

or doube-click over the file on nautilus.

HatForCat

  • Sr. Member
  • ****
  • Posts: 293
Re: Problems with installing to Ubuntu 14-LTS
« Reply #2 on: November 06, 2016, 06:34:15 pm »
You can also install .deb files with dpkg -i:
Code: Bash  [Select][+][-]
  1. $ sudo dpkg -i ./fpc_3.0.0-151205_amd64.deb

Hi, I too am at the pointy end of Ubuntu after abandoning windows since version 1.0  :o Actually I still have a laser engraver that uses win3.11, but not by MY choice.

So, are you saying that I/we should move the three files to a Lazarus specific Folder? If so on what Folder-base? I see
usr
etc
lib

All of those are being used by various installs of other programs, so is there a preferred place to install stuff like this?

Thank you in advance.
Acer-i5, 2.6GHz, 6GB, 500GB-SSD, Mint-19.3, Cinnamon Desktop, Lazarus 2.0.6, SQLite3

HatForCat

  • Sr. Member
  • ****
  • Posts: 293
Re: Problems with installing to Ubuntu 14-LTS
« Reply #3 on: November 06, 2016, 07:01:54 pm »
You can also install .deb files with dpkg -i:
Code: Bash  [Select][+][-]
  1. $ sudo dpkg -i ./fpc_3.0.0-151205_amd64.deb

or doube-click over the file on nautilus.

The dpkg option fails with " fpc:i386 pre-depends on binutils" I checked for binutils and there seems like 50-options. hate to ask, but which and how do I install them first?
https://launchpad.net/ubuntu/%2Bsource/binutils

Double click on Nautilus launches the software downloader and wants to install fpc with "non-free" options. I did NOT click that!

I am using Ubuntu 16LTS. Should I roll back to 14LTS?

This ain't easy and I really want to work with Ubuntu, or some other Linux, but... :)
Acer-i5, 2.6GHz, 6GB, 500GB-SSD, Mint-19.3, Cinnamon Desktop, Lazarus 2.0.6, SQLite3

bylaardt

  • Sr. Member
  • ****
  • Posts: 310
Re: Problems with installing to Ubuntu 14-LTS
« Reply #4 on: November 07, 2016, 12:02:49 am »
So, are you saying that I/we should move the three files to a Lazarus specific Folder? If so on what Folder-base? I see
usr
etc
lib
no, i was trying e xplain what the "./" before the filename means. Just make sure you are executing the commands in the same folder.
The dpkg option fails with " fpc:i386 pre-depends on binutils" I checked for binutils and there seems like 50-options. hate to ask, but which and how do I install them first?

Double click on Nautilus launches the software downloader and wants to install fpc with "non-free" options. I did NOT click that!
so, if you haven't installed all dependencies, you can install with double-click on package or apt-get:
Code: Pascal  [Select][+][-]
  1. $ sudo apt-get install [any_package_you_need]
  2.  

but you must confirm the download when needed.

I am using Ubuntu 16LTS. Should I roll back to 14LTS?
Should we? i think is a bad idea! But is free software, you are free to choose.

Handoko

  • Hero Member
  • *****
  • Posts: 5524
  • My goal: build my own game engine using Lazarus
Re: Problems with installing to Ubuntu 14-LTS
« Reply #5 on: November 07, 2016, 03:38:16 am »
I am a real newbie to Linux[/b] but am finally sick enough of windows to make this work. :) Could someone please give me a step-by-step or a link to something like that to get the latest Lazarus and FPC installed.

Hello Delphi5_but. Have you installed it correctly?

If you don't understand how to use Linux command, then try these easy steps:
Quote
01. Goto www.lazarus-ide.org/index.php?page=downloads
02. Download these files: fpc_3.0.0-151205_amd64.deb, fpc-src_3.0.0-151205_amd64.deb, lazarus_1.6-0_amd64.deb
03. If you're not using Ubuntu 64-bit, then go back to step 2 and download the 32-bit version of the files
04. Open your file manager (nautilus, caja, etc)
05. Browse the location of the downloaded files
06. Double click to install fpc_3.0.0-151205_amd64.deb
07. Double click to install fpc-src_3.0.0-151205_amd64.deb
08. Double click to install lazarus_1.6-0_amd64.deb
09. Have fun, they should be installed correctly now

@HatForCat

That's strange. I never get such issue when installing Lazarus/FPC.  Try this:
Quote
sudo apt-get install binutils

 

TinyPortal © 2005-2018