How to convert Perl data into PDF? [closed] - linux

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I need to covert Perl data into PDF. For that I have installed CPAN into my UNIX system, Now I need to install PDF::API2. So please give the UNIX command to install PDF::API2.

I think you need this command,
sudo apt-get install libpdf-api2-perl
or,
sudo perl -MCPAN -e "install PDF::API2"
For more reference check this page.

Related

ftp site for linux 'look' utility [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
I'm trying to find the source code for the Linux look utility:
$ man look
...
look — display lines beginning with a given string
...
For obvious google-search reasons (no good: look source code ...) I can not find the source code.
I've tried https://ftp.gnu.org/gnu/look/ but that didn't work as well. How can I find it?
To get the source code of a program you have in a Linux distribution, you can ask the package manager.
Here is how to do it on apt based distributions such as Debian and Ubuntu:
First, find out which package provides the program you are looking for:
~$ dpkg -S $(which look)
bsdmainutils: /usr/bin/look
Then, download the source package:
~$ apt-get source bsdmainutils
This will download the the sources in a tar file in to your current working directory.
If you are looking for the projects official repository, it will likely be in a README file inside that tar.
Try this pathname in github: look.c

How can I pre-provide sudo access to pacaur in a shell script? [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
I've got a shell script which is supposed to install some packages from the Arch User Repository. The shell script is as follows:
#!/bin/sh
pacaur -S google-chrome --noconfirm # install google-chrome
The problem is, if I run this script using sudo sh script.sh, it'll just return: "you cannot perform this operation as root". If I run it without sudo, it'll ask for sudo later on when installing.
My question is, how can I avoid it asking me. I'd like this script to take care of installing all my packages just as is, without requiring me to actually give access manually. Would there be a way?
If you run sudo -v before calling the pacaur, this will ask you for your credentials and cache them for the next 15 minutes. You don't need to call sudo with pacaur anymore. As long as pacaur finishes running within the next 15 minutes, it will not have to ask for credentials again.

Not able to use dos2unix on UNIX machine [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
I try to use dos2unix command on unix machine but it gives me error like --
data_load]$ dos2unix a.csv a.csv
-bash: dos2unix: command not found
Then i use ---
data_load]$ yum search dos2unix
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
=================================================== N/S Matched: dos2unix ===================================================
dos2unix.x86_64 : Text file format converter
Is there any way that i can use it and i can not log in as ROOT
You could ask your sysadmin to install dos2unix. Apparently he didn't install it yet.
You might compile it from its source code. If it has a configure script (from autoconf) you might pass a --prefix=$HOME/soft argument to that script and later add $HOME/soft/bin/ to your $PATH.
Perhaps using tr(1) might be enough...

Can I Run docker on linux mint 13? [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
I've tried to install docker on my machine, following the instructions for Precise 12.04 found here.
When I try:
curl -sSL https://get.docker.com/ | sh
I get the result:
Either your platform is not easily detectable, is not supported by this
installer script (yet - PRs welcome! [hack/install.sh]), or does not yet have
a package for Docker. Please visit the following URL for more detailed
installation instructions:
https://docs.docker.com/en/latest/installation/
My kernel:
$ uname -r
3.13.0-61-generic
You can download the short installer script to take a look at why it is giving you this message:
curl -sSL https://get.docker.com/ >install-docker.sh
$EDITOR install-docker.sh
Doing that, I see several checks for lsb_release. Is your system missing that command? If so, see this to install it. Or maybe it’s not returning “ubuntu”. If you fix this, the docker installer script may work fine.
If that doesn’t work, you can hard-code a case for your OS (Mint?) in the ubuntu|debian case (line 243), like:
ubuntu|debian|linuxmint) # or maybe you’ll need here: *)
When done editing (or installing lsb_release), run the script to see if it will complete:
sudo ./install-docker.sh

Yum search software name [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
I forgot a command with SSH which could search software name.
For explain: If I want install mysql-server, but I want choose a version before yum install. This command can make a search (return all the software contains mysql), then a list return like:
mysql-5.0.77-4.tar.gz
mysql-server-5.0.77-4.el5_6.6.i386.rpm
...
As has been pointed out, this is not related to SSH, but a function of your package manager, yum.
You can use yum search or yum list.
list List a package or groups of packages
search Search package details for the given string
(From the yum help).
You are not searching with "ssh". You are searching with yum. http://www.centos.org/docs/5/html/yum/sn-searching-packages.html
I think your question is wrong:
SSH is a network-protocol, which provides a shell to a remote system.
I think you are looking for something like:
man -q mysql
rpm-howto

Resources