VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: fpc & c++  (Read 1358 times)

florinbrasov

  • Member
  • *
  • Posts: 15
fpc & c++
« on: October 05, 2008, 11:14:14 am »

How can I instal pascal and c++?I am using vl 5.9.1 SOHO.
Thank you!
Logged

kidd

  • Packager
  • Vectorian
  • ****
  • Posts: 682
Re: fpc & c++
« Reply #1 on: October 05, 2008, 12:01:49 pm »

g++ should be already there...

there is p2c in the repos, but if it's not what you want, you can try slackware repos, or get a package from linuxpackages.net

cya

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: fpc & c++
« Reply #2 on: October 05, 2008, 01:28:49 pm »

I moved your post away from the Howto's. It's not meant for asking questions, but for sharing information on how to get certain things done. Look at some of the posts in the Howto section to understand what I mean.

Quote
How can I instal pascal and c++?I am using vl 5.9.1 SOHO.
You don't install a programming language. For c++, gcc-g++ is the standard compiler in Linux. You can use pretty much any text editor you want to program in. Since you're using SOHO, I suggest Kate for simple "hello world"- type short programs. It's in Menu->Utilities->Editors->Kate. It has great highlighting for a lot of programming languages, including c++ and Pascal. If you need an integrated development environment, I suggest kdevelop. There's a package in the "extra" repository.

Good luck!
Logged
Most music on my soundcloud page was arranged in programs running on VL.

florinbrasov

  • Member
  • *
  • Posts: 15
Re: fpc & c++
« Reply #3 on: October 06, 2008, 01:18:13 am »

Which version must I download and instal?
http://www.kdevelop.org/index.html?filename=3.5/download.html
?
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: fpc & c++
« Reply #4 on: October 06, 2008, 08:59:44 am »

You can find a package in our repository. You can use gslapt to download it (it's in menu -> system -> Gslapt Package Manager ) , or use slapt-get instead
Code: [Select]
slapt-get --update && slapt-get --install --no-dep kdevelopUsually, if you find Slackware packages that match the version VL was built on (you can check with "cat /etc/slackware-version") they work just fine. For some reason though, the kdevelop site doesn't seem to offer a Slackware package.
Logged
Most music on my soundcloud page was arranged in programs running on VL.