Mail Archives: geda-user/2021/07/05/03:56:50
Hi Claudio,
Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com] wrote:
> I might have to compile it manually, which I only want to do
> extremely carefully on that platform
If you decide to give manual compilation a try you can build the
package in a way that it stays separate from anything installed
by the system package manager:
As a normal user (important; do not use root for any step) create
some new directory where you'll end up installing the package:
mkdir $HOME/inst
Then, when configuring the source build, make sure to run at a minimum:
./configure --prefix=$HOME/inst
.. followed by make && make install (again, without using sudo)
This will build where the source was unpacked and then install under
$HOME/inst, where files can not interfere with system packages.
Add $HOME/inst/bin to (the beginning of) your PATH variable, then you
can start the programs without typing the full directory name.
You may also need to set LD_LIBRARY_PATH to $HOME/inst/lib and adjust
a config file or two within the package for the nonstandard directory
to be searched, but that's not too bad.
There are two side benefits with this method; 1. because you never use
root you can be confident that no system files were altered, and 2. a
simple rm -rf $HOME/inst erases the installation completely, making
it very easy to start over if neccessary.
Kind regards
//Peter
- Raw text -