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
Related
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 followed following steps
make clean
./configure
sudo make install
shows -->
PostgreSQL installation complete.
but if typed psql
says -->
Command 'psql' not found, but can be installed with:
apt install postgresql-client-common
Please ask your administrator.
I dont want to install from apt-get install want to install everything from source code only
By default, PostgreSQL is installed in /usr/local/pgsql, so you would type /usr/local/pgsql/bin/psql for the command line client (but remember that you have to create and start a database cluster with initdb first`).
If you don't like that location, use the prefix option of configure:
./configure prefix=/dir/where/you/want/postgres
Usually, ./configure without options will install the product in /usr/local/ and this might not be in your PATH. Can you check psql is present in /usr/local/bin/? If so, you can type the full path to that or add /usr/local/bin/ to your PATH.
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...
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 9 years ago.
Improve this question
When I attempt to start mysqld, it gives me the following error:
./mysqld: line 3: /etc/default/rcS: No such file or directory
I want to run a mysql server on angstrom linux.
Anyone know how to do this?
I got it to work by commenting out the following line from my /etc/init.d/mysqld file:
. /etc/default/rcS
This is a quick fix I'm guessing, I am not sure what that file does so I don't know the implications of this action, but the mysql server is now working ok!
Your system is missing the file. Apparently it's part of the 'initscripts' package. You can attempt installing it with "sudo apt-get install initscripts". If it's been a while since updates: "sudo apt-get update && sudo apt-get upgrade", but maybe just the update will work. If none of that works, find one online that's suitable for your system and create it manually.
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 9 years ago.
Improve this question
I want to update the core packages of R on ubuntu 12.04. But every time R says that it has no permissions to write to the library. Other packages with do not come with the r-core installation through the terminal. sudo apt-get install r-base are installed in my personal library. I gave myself the owner permissions of every library folder and this does not work.
So am i able to make this library writtable and if so, how can i do it? Or is there a way to Run R as administrator/root.
I already tried a lot of options from the internet but could not find what i was looking for.
Many thanks in advance!
Yes, by default R packages get installed under /usr/lib, and you need superuser privileges to install more.
So you can either run R using sudo and run commands like install.packages() from there:
sudo R
or edit your ~/.Renviron as described in this post, e.g.
$ mkdir ~/R_libs
And add this line to ~/.Renviron:
R_LIBS="/home/your_username/R_libs"
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 wish to update the local package index with the latest changes made in repositories and am using following command :
sudo apt-get update
On executing this command I get several error messages such as one below :
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages 407 Proxy Authentication Required
What i did to in order to try resolving this issue is the following :
Open terminal and the file
/etc/bash.bashrsc
sudo gedit /etc/bash.bashrc
and add at the bottom of the file these 2 lines :
export http_proxy=http://user:password#host:port/
export ftp_proxy=http://user:pass#host:port/
However it is still not working for me and am getting the same error.
Thanks in advance.
For apt-get to work
sudo gedit /etc/apt/apt.conf
And then add
Acquire::http::Proxy "http://username:password#proxyhost:port/";
The syntax should be strictly followed
This may fail if our password or possibly username (i don't know) has '#' in it.
We can add proxy for other protocols like ftp etc. also there..