How to install in Linux? lazarus / 1-Linux ---------------------------------------------------------------------- Giuseppe Ridinò · 2004-07-03 19:00 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#In stalling_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 · 2004-07-05 12:19 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 !!! ---------------------------------------------------------------------- Giuseppe Ridinò · 2004-07-05 12:30 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 ---------------------------------------------------------------------- Giuseppe Ridinò · 2004-07-07 16:15 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 · 2004-07-08 09:31 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 · 2004-09-05 01:36 i got the same problem... ---------------------------------------------------------------------- Vincent Snijders · 2004-09-05 08:21 And did you solve it the same way? ---------------------------------------------------------------------- Anonymous · 2004-11-02 12:29 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 · 2004-11-03 08:46 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ò · 2004-11-03 09:33 Info in reply #4 in this topic isn't enought?  :shock: I think it is. :wink: ---------------------------------------------------------------------- Anonymous · 2004-11-03 10:47 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 · 2004-11-03 14:01 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. ---------------------------------------------------------------------- Anonymous · 2004-11-03 22:32 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 · 2004-11-04 07:48 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 · 2004-11-09 18:34 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 ---------------------------------------------------------------------- Lightning · 2004-11-09 22:07 You haven't read all the articles. -lgdk_pixbuf  means link gdk_pixbuf wich is an OS library you have to install, it's one of the few Lazarus dependencies. It seems you're on the right track it should work now, if this works please share your experience with other BSD users. Go to the Lazarus- CCR page and check the available documentation, if you don't find an article then you should write one