How to install XML::LibXML on Windows? [closed] - perl

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How do I install perl module XML::LibXML on windows?
thanks

If you are using ActiveState Perl , try this command on windows command prompt:
ppm install XML::LibXML

If you have installed Perl with strawberry, open a cmd, then :
cpan XML::LibXML

Related

How to launch vscode installed on Windows 10 with winget from powershell? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Trying out Windows 10 for first time. Installed winget onto my powershell, and then used winget to install vscode: winget install vscode. When I install vscode on a Mac/Linux, I get a command-line tool code that I like to use to launch vscode from my PWD: code -n .
But being new to Powershell and winget, I have no idea how to determine exactly what/where/how things got installed. In summary:
Is there a command-line tool like code installed by winget?
If not, how else might I launch vscode with a window on my PWD?
OK, after rebooting code -n . works as expected.

Postgres command line tools on Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I follow tutorial on Postgres 9.2 on postgres official site. They tell about postgres command, createdb command and so on. But I don't have them! I installed postgres with sudo apt-get install postgres on Ubuntu 12.04. Instead, I have brand new psql command.
When you're lacking a command on Ubuntu and don't know what package to install, you can go to http://packages.ubuntu.com/ and type the command name in the Search the contents of packages section.
In the case of createdb, it comes with the postgresql-client-common for the soft link installed in /usr/bin/createdb, and postgresql-client-9.1 for the actual binary that gets installed in /usr/lib/postgresql/9.1/bin/createdb
You need both packages.
However, if you already have a working psql, it normally means that you already have them installed, because it comes in the same packages.

how to find and replace with sed [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
have heard a lot about SED and downloaded and installed GNU SED for my Windows XP. 1) The install program installed it c:\program files. 2) I have a file in directory C:\lewisC\bm_pg0001.txt. The file has text, 1.pdf in it. 3) I want to change 1.pdf to bm_pg0001.pdf
4) after messing around to invoke SED with paths etc. I copied all the files in sed bin folder to C:\lewisC\ used command here for DOS prompt and finally able to invoke SED.
Now can somebody help with the sed command to change 1.pdf to bm_pg0001.pdf in the file bm_pg0001.txt. Thanks- I now realize why Windows was a success. Thanks
Like this:
sed "s/1\.pdf/bm_pg0001.pdf/g" < input_file > output_file
Enjoy!
Yes, it seems Windows is a better platform for those unwilling to do even the most basic research. Take a look at http://www.grymoire.com/Unix/Sed.html.

How to open a file in the Mac version of Eclipse? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Goal: Under OSX, From the command line, open a file in eclipse.
Environment:
OSX 10.7
Eclipse Indigo Java EE bundle (3.7.1)
Expectation:
cd to directory eclipse is installed from.
run:
./eclipse --launcher.openFile notice.html
Eclipse opens with the file 'notice.html' open/editable
What happens:
Eclipse opens but the file isn't loaded. :(
I explicitly want to do this from the command line, I'm NOT interested in opening the file via Finder->Open With->Choose Eclipse.app
Here is an article that seems to indicate that I should be able to do this:
http://aniefer.blogspot.com/2010/05/opening-files-in-eclipse-from-command.html
If there is another way to communicate with an already open eclipse to open a file that would be acceptable as well.
Eventually I'd like to use:
open //path-to-Eclipse.app --args --launcher.openFile //path-to-file
...to communicate my desire for the file to open in the current instance of the running eclipse.
But for now I'm just trying to see if there is ANY way to open a file
Anyone have any ideas?
Thanks in advance for any help/pointers :)
I agree with Bavarious. I always use open -a to open a specific file in a GUI app from the command line.

prohibit the launching of two emacs [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
When you double click on a file opens a new window emacs. Tell me how to do to open in the same
I beg your pardon, Linux OS
I installed emacs23
Then i run the command:
emacs --daemon &&
emacsclien -c &&
emacsclien -c
And i have opened 2 windows instead of one
You don't provide enough information, such as what OS/windowing system you're using, but the answer involves using emacsclient. The wiki page has all the details of using emacsclient, though not how to set up your OS/windowing system to associate the file types with emacsclient (instead of emacs).
You have a single Emacs instance with two windows. You have two windows because you explicitly asked for them by passing the -c option to emacsclient.