WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: I am impatient re Lazarus and Pascal  (Read 1600 times)

Offline keithterrill

  • Newbie
  • *
  • Posts: 16
  • Old Timer with Old Boxes
I am impatient re Lazarus and Pascal
« on: June 11, 2014, 05:46:54 PM »
I have been learning Lazarus/Pascal on my Windows 7 as a replacement for my older applications. I once knew and programmed in Turbo Pascal so moving to Free Pascal is an easier path from me than to another language I have no familiarity with. Most of my older apps are in Visual Foxpro 9.0 and so the Lazarus IDE has a bit of cross over there to.

The problem. The Lazarus and Free Pascal TCE is a little out of date. Such that cross platform is not working well.

I thought I would attempt to download and install the deb files from Lazarus. Following some of the hints, etc found here and in the Wiki... I have once again shown that I do not know the Linux, or the TinyCore world well enough.

Are there any helps for me in doing this? The files downloaded from Lazarus are:

Quote
fpc-src_2.6.4-140420_i386.deb, lazarus_1.2.2-0_i386.deb, fpc_2.6.4-140420_i386.deb

I tried
Quote
ar vx lazarus_1.2.2-0_i386.deb
tar -xzvf data.tar.xz

that did not work, just gave me errors.

I tried tar against a the other files that ar created. That did not do anything. I tried reading through the help file for tar and guessing at some parameters... but still nothing.

So, any ideas how to help the little boy?
Keith L Terrill

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: I am impatient re Lazarus and Pascal
« Reply #1 on: June 11, 2014, 08:24:56 PM »
You'd probably be better off updating the existing lazarus extension from 1.0.8 to whatever the latest stable version is or otherwise using dcore, which is designed to use debian packages.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: I am impatient re Lazarus and Pascal
« Reply #2 on: June 12, 2014, 06:37:24 AM »
I tryed with  fpc-src_2.6.4-140420_i386.deb .
It contains a *.xz but you tryed to extract a *.gz .

tar -xzvf data.tar.gz
 versus
tar -xJvf data.tar.xz


This should work:
Code: [Select]
ar vx fpc-src_2.6.4-140420_i386.deb
tar -xJvf data.tar.xz


$ tar --help
Code: [Select]
BusyBox v1.22.1 (2014-04-04 15:16:09 UTC) multi-call binary.

Usage: tar -[cxtZzJjhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:
        c       Create
        x       Extract
        t       List
        f       Name of TARFILE ('-' for stdin/out)
        C       Change to DIR before operation
        v       Verbose
        Z       (De)compress using compress
        z       (De)compress using gzip
        J       (De)compress using xz
        j       (De)compress using bzip2
        O       Extract to stdout
        h       Follow symlinks
        m       Don't restore mtime
        exclude File to exclude
        X       File with names to exclude
        T       File with names to include
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: I am impatient re Lazarus and Pascal
« Reply #3 on: June 12, 2014, 06:58:13 AM »
Code: [Select]
$ ar vx mypackage.deb
$ tar -xf data.tar.xz

..should work and if it doesn't, load the tar and xz extensions and try again.