How to change path of a package in Apache? [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 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.

Related

tar E command line switch [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 7 years ago.
Improve this question
We're migrating an application from a very old Solaris box over to a relatively newer Linux machine. I'm having trouble finding an equivalent for a command line option that was used on our old server when running tar on the newer one. I'm assuming that it is obsolete now, as I don't see anything via man or searching online to indicate why it was done away with... but if anyone has any information, it would be very much appreciated.
The version of tar on the old server was 1.12, and the version on the new server is 1.23.
The command we ran was:
tar cEf path-to-tar path-to-tar-up
Does anyone know whether this switch is even necessary anymore? Unfortunately the code using this switch predates my work on the project, so I am unaware of why this particular switch is being used currently.

How to completely uninstall webstorm on ubuntu [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 am trying to remove Webstorm editor completely from my Ubuntu 14.04, I have already tried by removing its installation folder but its settings still exists, is there any command exist to remove it completely or what any other way? please help me out?
According to the WebStorm documentation, the config is stored in ~/.WebStorm9
So assuming you did not change the default location: from the command line run
rm -rf ~/.WebStorm9
Update
For versions around the year 2020 you should go to the ~ and find .config and .cache folder and then delete your specific folder version inside JetBrains folder:
~/.config/JetBrains/<product><version>
~/.cache/JetBrains/<product><version>

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 install software library again and have both two? [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 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.

Resources