Recent

Author Topic: How to install in Linux?  (Read 16229 times)

Giuseppe Ridinò

  • Full Member
  • ***
  • Posts: 130
How to install in Linux?
« on: July 03, 2004, 09:00:41 pm »
Hi there,
I am new with Linux (RH 9), and I can't get Lazarus to be installed.
I saw this document
http://lazarus-ccr.sourceforge.net/index.php?wiki=InstallingLazarus#Installing_Lazarus_under_Linux:
but it referes to CVS way to install.
But I tryied to use the rpm, so I downloaded these files:
1) fpc-1.9.3-040529.i386.rpm
2) fpcsrc-1.9.3-040529.src.rpm
3) lazarus-0.9.1.4-fpc_1.9.3_040529.i386.rpm
4) lazarus-0.9.1.4-fpc_1.9.3_040529.src.rpm

File 1 has been installed correctly and I can find the fpc folders and files.
File 2 seems to do nothing (what should I expect from it?)
File 3 start to do something but it finally says that it couldn't find package fpcsrc>=1.0.10
File 4 same as 2

 :( ... what is wrong?
Thanks in advance for any suggestion!

Lightning

  • Sr. Member
  • ****
  • Posts: 422
How to install in Linux?
« Reply #1 on: July 05, 2004, 02:19:37 pm »
They work for me on RH9.
Open a console, change your dir and type something like this: rpm -ivh fpc-1.9.3-040529.i386.rpm
For uninstallation type: rpm -e fpc-1.9.3-040529
or use mc (MidnightCommander) it's like nc for DOS, browse for files press ENTER and you're inside the .rpm Package, now you can chose INSTALL or UPGRADE as well as see the Package contents.
I think your second package is BAD.
DO NOT INSTALL FROM KDE, GNOME OR OTHER DESKTOP MANAGER DIRECTLY, USE A CONSOLE !!!
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Giuseppe Ridinò

  • Full Member
  • ***
  • Posts: 130
How to install in Linux?
« Reply #2 on: July 05, 2004, 02:30:36 pm »
Quote from: "Lightning"
I think your second package is BAD.

I had this feeling... I will download them back again.
Quote from: "Lightning"
DO NOT INSTALL FROM KDE, GNOME OR OTHER DESKTOP MANAGER DIRECTLY, USE A CONSOLE !!!

These are things that a new about Linux like me misses :lol:
Thanks a lot... I will try again ASAP and let you know what happens :P

Giuseppe Ridinò

  • Full Member
  • ***
  • Posts: 130
Documentation
« Reply #3 on: July 07, 2004, 06:15:11 pm »
Where can I find the documentation about which files to download?
...and how to install them?

BTW, I finally got Lazarus to be installed.
For those having the same doubts like me:

1. download the following files:
Code: [Select]
fpc-1.9.3-040529.i386.rpm
fpcsrc-1.9.3-040529.i386.rpm
lazarus-1.9.3-040529.i386.rpm

2. from a terminal execute the following:
Code: [Select]
rpm -ivh fpc-1.9.3-040529.i386.rpm
rpm -ivh fpcsrc-1.9.3-040529.i386.rpm
rpm -ivh lazarus-1.9.3-040529.i386.rpm

3. type lazarus to launch lazarus

NOTE: -040529 means 29th May 2004. So be sure to download files with the same date specification.

Everything may look obvious, but I was confused with the .i386. and .src. difference of the files.
Only after some attempts I realized that the .i386. where the one to be used.

Should this info be added to the documentation if not already available?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
How to install in Linux?
« Reply #4 on: July 08, 2004, 11:31:12 am »
Quote

Everything may look obvious, but I was confused with the .i386. and .src. difference of the files.
Only after some attempts I realized that the .i386. where the one to be used.

Should this info be added to the documentation if not already available?

.i386 in a rpm name generally means the package is meant for i386 processors.
.src in a rpm name means it is a source package. With the appropiate build tools (compiler, linker etc) you can build to architecture specific rpm.

So you can download and use the .src, but you have to build it yourself to become a i386.rpm.

Anonymous

  • Guest
How to install in Linux?
« Reply #5 on: September 05, 2004, 03:36:42 am »
i got the same problem...

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
How to install in Linux?
« Reply #6 on: September 05, 2004, 10:21:37 am »
And did you solve it the same way?

Anonymous

  • Guest
How to install in Linux?
« Reply #7 on: November 02, 2004, 01:29:10 pm »
Execuse-me.

I think Lazarus is a wonderfull idea, but i like only make games, i'm newbie in linux and don't understand nothing of root commands.

What you think about any holly peaple makes a script to instalation for the site?

It's not a good idea?

tks. =P

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
How to install in Linux?
« Reply #8 on: November 03, 2004, 09:46:22 am »
Quote from: "Anonymous"
Execuse-me.

I think Lazarus is a wonderfull idea, but i like only make games, i'm newbie in linux and don't understand nothing of root commands.

What you think about any holly peaple makes a script to instalation for the site?

It's not a good idea?

tks. =P

I think that is a bit overdone.

Downloading 3 rpm's and installing is not too much to be asked of a would-be programmer, don't you think?

Giuseppe Ridinò

  • Full Member
  • ***
  • Posts: 130
How to install in Linux?
« Reply #9 on: November 03, 2004, 10:33:26 am »
Info in reply #4 in this topic isn't enought?  :shock:
I think it is. :wink:

Anonymous

  • Guest
How to install in Linux?
« Reply #10 on: November 03, 2004, 11:47:32 am »
Quote from: "Vincent"
Quote from: "Anonymous"
Execuse-me.

I think Lazarus is a wonderfull idea, but i like only make games, i'm newbie in linux and don't understand nothing of root commands.

What you think about any holly peaple makes a script to instalation for the site?

It's not a good idea?

tks. =P

I think that is a bit overdone.

Downloading 3 rpm's and installing is not too much to be asked of a would-be programmer, don't you think?


Why rpm command don't to do nothing in my machine?

Lightning

  • Sr. Member
  • ****
  • Posts: 422
How to install in Linux?
« Reply #11 on: November 03, 2004, 03:01:40 pm »
As pepecito said in it's #4 post

Open a console terminal, go to the folder where you downloaded the packages
and type "rpm -ivh yourpackage.rpm" for each package and install:
-  FPC (FreePascal) binary package
-  FPC sources
-  Lazarus binary package wich also contains it's sources

Code: [Select]

  rpm -ivh fpc-1.9.3-040529.i386.rpm
  rpm -ivh fpcsrc-1.9.3-040529.i386.rpm
  rpm -ivh lazarus-1.9.3-040529.i386.rpm


Be careful to replace the package names with the ones. you downloaded.
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

Anonymous

  • Guest
How to install in Linux?
« Reply #12 on: November 03, 2004, 11:32:00 pm »
Quote from: "Anonymous"
Quote from: "Vincent"
Quote from: "Anonymous"
Execuse-me.

I think Lazarus is a wonderfull idea, but i like only make games, i'm newbie in linux and don't understand nothing of root commands.

What you think about any holly peaple makes a script to instalation for the site?

It's not a good idea?

tks. =P

I think that is a bit overdone.

Downloading 3 rpm's and installing is not too much to be asked of a would-be programmer, don't you think?


Why rpm command don't to do nothing in my machine?


Problem is: I use Debian! :roll:

Tks for help.

eric

  • Sr. Member
  • ****
  • Posts: 267
How to install in Linux?
« Reply #13 on: November 04, 2004, 08:48:51 am »
You can install the RPMs easily enough by using Alien. I've just done that on my Libranet system. The only problem with doing it this way is that it doesn't seem to install /etc/fpc.cfg, so you have to find a copy of the template for this and hand edit it.

Eric

Anonymous

  • Guest
How to install in Linux?
« Reply #14 on: November 09, 2004, 07:34:04 pm »
I use FreeBSD4.10, And so far, haven't managed to get ANYWHERE.
I've been trying to build it from source, which didn't work with gmake as it killed my kernel.

Rebuilt gmake, and I get a new error:
inking ./lazarus
/usr/libexec/elf/ld: cannot find -lgdk_pixbuf
lazarus.pp(388) Error: Error while linking
Closing script ./ppas.sh
gmake[1]: *** [lazarus] Error 1
gmake[1]: Leaving directory `/usr/home/drarok/Desktop/Downloads/lazarus'
gmake: *** [ide] Error 2

 

TinyPortal © 2005-2018