LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to manually install Free Pascal (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-manually-install-free-pascal-687892/)

Bob512 12-02-2008 10:02 PM

How to manually install Free Pascal
 
Greetings,

I am a newbie and completely clueless about manually installing an application. I am running PCLinuxOS KDE 2007. As Free Pascal is not in it's applications list, I will have to load it manually.

I have downloaded the executables and can uncompress them into a directory structure. But I have no idea where to put this structure or how to begin execution of the application once it is installed.

Could you give me the basics I need to be able to do this? I will greatly appreciate it.

Thanks.

{BBI}Nexus{BBI} 12-03-2008 04:01 AM

It appears you have downloaded the 30mb .tar install. Once you have extracted the .tar you need to go into that folder and run
Code:

sh install.sh
as root.

Adjust these instructions according to where you have extracted the .tar:-

If you extracted the .tar into your /home/username folder you should have a folder named fpc-2.2.2, enter that folder and press f4 to bring up a terminal.

Type su and press enter, input your root password and press enter.

Now type: sh install.sh and the compile/install process will begin. When the install has finished type: exit press enter and close the terminal.

You would be better off downloading and installing fpc-2.2.2-0.i386.rpm rather than trying to compile and install fpc-2.2.2.i386-linux.tar.

The procedure to install the .rpm is similar except you don't extract the files.

Download the fpc-2.2.2-0.i386.rpm to your /home/username folder. Go into your /home/username folder and press f4 to bring up a terminal.

Type: su and press enter, then input your root password then press enter.

Now type: rpm -ivh fpc-2.2.2-0.i386.rpm and press enter.

When the install is finished type: exit press enter and close the terminal.

Bob512 12-03-2008 10:26 PM

Installation successful
 
Many thanks for the tips. I downloaded the .rpm file and it installed perfectly.

Now I need to figure out how to configure and run it, but that is another problem. I'll be perusing the Free Pascal documentation.

Thanks again.

{BBI}Nexus{BBI} 12-03-2008 11:25 PM

Here you go: http://www.linuxfocus.org/English/No...ticle356.shtml just skip past the installation part. Also ignore the fact they are running as root in the example.

Bob512 12-04-2008 06:23 PM

Free Pascal up and running
 
I found in the Free Pascal documentation the fp command. This activates the Free Pascal Environment. All configuration, development, and compiling can be done here. This is my preferred environment, so I am up and running.

Thanks for the help.


All times are GMT -5. The time now is 06:32 PM.