I just acquired a desktop box with linux mint os. I want to upgrade lazarus to the latest release. Anyone have any step-by-step directions? -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150723/a5999550/attachment.html>
Mailing lists / lazarus / 2015-07
linux mint install
15 messages · 6 people · –
- Bbrian 5
- LLarry Dalton 5
- GGraeme Geldenhuys 2
- MMattias Gaertner 1
- OOndrej Kelle 1
- TTony Whyman 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
In case it's interesting here are the steps to upgrade to latest trunk (both fpc and lazarus) which worked for me on both 17.1 (Rebecca) and 17.2 (Rafaela):
http://tondrej.blogspot.de/2015/05/fpc-and-lazarus-development-environment.html
I think you could simply adapt the check out step to get a specific release revision to suit your needs.
Ondrej
Larry Dalton wrote 11 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150724/6062e56b/attachment.html>
I have downloaded fpc_2.6.2_i386.deb. When I try to install it from the command line it says it can't find it. When I try to add it through Synaptic pkg mgr, it is grayed-out and I can't click on it. What am I doing wrong?
Sent from my iPhone
Larry,
Your best bet is to find the deb file using the GUI File Manager. Double click on it and when the package installer opens, click on the install button. This should install it and any dependencies.
If you must install from the command line, its typically two steps:
sudo dpkg -i <path to deb file>
sudo apt-get -f install
The second command is needed to fix any missing dependencies.
Larry Dalton wrote 8 lines
I have downloaded fpc_2.6.2_i386.deb. When I try to install it from the command line it…
Larry Dalton wroteWhat am I doing wrong?
No idea, but may I suggest you rather download the *.tar file instead. It is a console based installer created by the FPC team. I've used it for years on Linux and FreeBSD, and never had any problems. I can also install it to any directory (I normally choose $HOME/devel/fpc/), instead if /usr/bin/ or /usr/local/bin/.
Regards,
- Graeme -
I have tried to remove the default lazarus install with the following commands: sudo apt-get purge fpc lazarus
sudo rm -Rf /usr/lib/fpc sudo rm -Rf /usr/lib/lazarus sudo rm -Rf /usr/share/fpcsr sudo rm -f ~/.fpcsudo rm -Rf ~/.lazarus, then downloaded lazarus_1.4.2-0amd64.deb. Then I get the following output: dpkg: regarding fpc_2.6.2-0_i386.deb containing fpc, pre-dependency problem: fpc pre-depends on binutils dpkg: error processing archive fpc_2.6.2-0_i386.deb (--install): pre-dependency problem - not installing fpc (Reading database ... 220087 files and directories currently installed.) Preparing to unpack google-chrome-stable_current_i386.deb ... Unpacking google-chrome-stable (43.0.2357.134-1) over (43.0.2357.134-1) ... Selecting previously unselected package lazarus. Preparing to unpack lazarus_1.4.2-0_amd64.deb ... Unpacking lazarus (1.4.2) ... Setting up google-chrome-stable (43.0.2357.134-1) ... dpkg: dependency problems prevent configuration of lazarus: lazarus depends on fpc (>= 2.6.4) | fp-compiler (>= 2.6.4); however: Package fpc is not installed. Version of fp-compiler on system is 2.6.2-8. lazarus depends on fpc-src (>= 2.6.4) | fpc-source (>= 2.6.4); however: Version of fpc-source on system is 2.6.2-8. lazarus depends on fpc (>= 2.6.4) | fp-ide (>= 2.6.4); however: Package fpc is not installed. Package fp-ide is not installed. lazarus depends on fpc (>= 2.6.4) | fp-units-base (>= 2.6.4); however: Package fpc is not installed. Package fp-units-base is not installed. lazarus depends on fpc (>= 2.6.4) | fp-units-db (>= 2.6.4); however: Package fpc is not installed. Package fp-units-db is not installed. lazarus depends on fpc (>= 2.6.4) | fp-units-fcl (>= 2.6.4); however: Package fpc is not installed. Package fp-units-fcl is not installed. lazarus depends on fpc (>= 2.6.4) | fp-units-fv (>= 2.6.4); however: Package fpc is not installed. Package fp-units-fv is not instal dpkg: error processing package lazarus (--install): dependency problems - leaving unconfigured Processing triggers for mime-support (3.54ubuntu1.1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for shared-mime-info (1.2-0ubuntu3) ... Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' Unknown media type in type 'uri/mms' Unknown media type in type 'uri/mmst' Unknown media type in type 'uri/mmsu' Unknown media type in type 'uri/pnm' Unknown media type in type 'uri/rtspt' Unknown media type in type 'uri/rtspu' Errors were encountered while processing: fpc_2.6.2-0_i386.deb lazarus
On Fri, Jul 24, 2015 at 1:23 PM, Graeme Geldenhuys <
Show quoted text 24 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150724/4a9223f0/attachment-0001.html>
On Fri, 24 Jul 2015 16:10:28 -0500, you wrote:
Larry,
Are you by any chance using the Debian version of Mint? It's a few versions ago, but I had all kinds of weird problems with Lazarus/FPC/LMDE, and after a few iterations with the LMDE users, I switched to plain old Debian, and things have worked just fine since then.
If you're using the Ubuntu-based Mint, then forget all the above, that used to work OK.
Brian.
Show quoted text 65 lines
I have tried to remove the default lazarus install with the following commands: sudo…
you wroteI have tried to remove the default lazarus install with the following commands:
As regards your error message, it seems to be complaining about binutils not being installed. Have you tried installing the package?
Brian.
Using linux mint 17.1 Rebecca
Sent from my iPhone
Show quoted text 88 lines
you wroteUsing linux mint 17.1 Rebecca
OK, scratch the comment about LMDE (I assume what you're using is the Ubuntu-based version?).
Brian.
Show quoted text 90 lines
Yes
Sent from my iPhone
Show quoted text 107 lines
you wroteYes
Give installing binutils a try, then, as that's what your previous attempt seemed to be complaining about. If that works, then go through the full cycle again = fpc -> fpc-src -> lazarus.
Brian.
Show quoted text 109 lines
I have tried to remove the default lazarus install with the following commands: sudo…
Larry Dalton wroteI have tried to remove the default lazarus install with the following commands:| ||sudo||apt-get purge fpc lazarus|
Try removing Lazarus first, then FPC. I don't don't know if apt-get is clever enough to figure which one to do first. Lazarus depends on FPC, no trying to uninstall FPC first would not be a good idea.
Regards,
- Graeme -
you wrote 8 lines
If you just try apt-get purge fpc it will remove lazarus first (I just tried it with a dry-run), so I don't think Larry's ordering will make any difference, apart from the fact that he might get an error from a subsequent attempt to purge lazarus.
Brian.
Show quoted text 6 lines
I have tried to remove the default lazarus install with the following commands: sudo…
I have tried to remove the default lazarus install with the following commands: sudo apt-get purge fpc lazarus
After 'apt-get remove|purge' do 'apt-get autoremove' to uninstall formerly required packages like fp-compiler.
Show quoted text 8 lines
You are missing some dependencies. Use 'apt-get -f install' to fix them.
[...]
Mattias
