How to install software library again and have both two? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have installed tesseract-ocr with apt-get
and now
i want to get svn code, make some changes in it and compile it on my own and install again.
I want first instance remain, and give a different name to newly installing instance. But installation, make procedures and linux logic requires put .h files into general folders like "/usr/include" without specific folders.
So what is the easiest path to install another instance of the same program. Thanks

You need to install it with a different prefix. When the program publisher had the foresight to use an autoconf-like configure script, you can simply use the --prefix option:
$ ./configure --prefix=`pwd`/install
to install the library in the install subdirectory. For CMake and other "improved" build systems, read their documentation, many do provide some switch for that.

Related

Is there apt-get install in Buildroot? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Is there apt-get install analog command in Buildroot? I want to install some applicatin but how?
From documentation of BuildRoot:
Buildroot is not meant to be a distribution
(or rather, a distribution generator.) It is the opinion of most
Buildroot developers that this is not a goal we should pursue.
We prefer to push Buildroot in a direction that makes it easy
(or even easier) to generate complete root filesystems. This is what
makes Buildroot stands out in the crowd (among other things, of
course!) We believe that for most embedded Linux systems, binary
packages are not necessary, and potentially harmful.
So, It seems No! you can not do that by using apt. you need to directly add your packages based on documentation
By default in LINUX/UBUNTU Operating system is having apt-get installed so you can directly start using sudo apt-get install [Package Name that you want to install]

how do I know which package manager in installed on my linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I've received a linux-yocto box. I now I'm trying to installing some software, on ubuntu I use apt-get but it seems not to work/installe. so I've tried yum same result.
so my question is, is there a way to find out which package manager is install on my linux system ?
thanks in advance !
Yocto is using either rpm, dpkg, or opkg as the package manager. If the tools are installed on the image, which isn't a requirement, then the binaries are either dnf (or yum if it is a really old release), apt-get, or opkg respectively.
There's a reasonable chance that you've been given an image without a package manager or a working feed though. The joy of Yocto is that it is so flexible, so you should ask whoever gave you the software.

How to copy a nix profile [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
Is it possible to copy a Nix user profile or a configuration to another users or hosts ?
I mean, let's say I installed some package using nix-env -i. How can I copy this environment and use it somewhere else ?
Same question for NixOs configuration. I can create a new configuration by modifying /etc/nixos/configurtion.nix. But what If I added some package using nix-env -i. Can I generate a configuration (or equivalent) corresponding to this new environment ?
In general you should use configuration.nix to have declarative configuration that you can carry around.
To get all installed packages for particular profile run nix-env -q.
There is also nix-copy-closure --help that you could use to copy ~/.nix-profile profile.
For nix-env, you can use a file to keep the name of all the packages, something like described here: https://nixos.org/wiki/FAQ#How_can_I_manage_software_with_nix-env_like_with_configuration.nix.3F
To have the same exact output, then you also want to do a checkout at a specific commit of nixpkgs.

Using rpm update firefox [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
What command do I run in order to update firefox using rpm?
I have been asked this question and am not aware how to do it. Any help will be appreciated.
You perhaps could do this using your distro's software updater, but suppose you've got FF's installer (rpm) file and also suppose that it's called firefox.rpm. You should then do:
rpm -Uvh firefox.rpm
If you don't have any previous FF version installed on your computer you might as well do:
rpm -ivh firefox.rpm
Alternatively, if you have yum configured on rpm based systems (RHEL or Fedora) you could simple run the below command, this would download and update the dependencies, instead of just updating only a single firefox rpm.
`yum update firefox`

How to change path of a package in Apache? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I installed a new version of Apache server, I used options like --with-PACKAGE to configure Apache to use a custom path for a package, but Apache is already installed. How can I change the path of a package?
The standard way of doing this with ./configure is like so:
./configure ... --with-PACKAGE=<folder>
For example:
./configure --with-ssl=/usr/local
If your package has just moved to another location (i.e. it's no longer in its old location), just restarting Apache will do that. If it doesn't, inspect the output of ldd:
ldd /path/to/httpd
Sometimes /usr/local/lib is not enabled by default for the linker; you can add this to /etc/ld.so.conf or /etc/ld.so.conf.d/ - depending on your preference. Afterwards you have to run lconfig to commit the changes.

Resources