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 am using Ubuntu 13.04 and trying to install NERD tree plugin for Vim. As specified on all of the guides on installing vim plugins by placing the NERD tree files inside .vim/ directory, I could not find such directory.
cd ~/.vim/
bash: cd: /home/tushar/.vim/: No such file or directory
If there is any better way to install the plugin then please post the steps.
$ cd
$ mkdir .vim
$ cd .vim
$ (do your thing)
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 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
I want to automate a process of downloading a binary file from a server (HTTP) and then install it on either Solaris or Linux servers.
I use wget command followed by executing the binary file as root user.
Can we combine these two steps?
put both commands into a single script that gets executed by root
You can do
wget url | command-to-install
However, if this is a tar folder and you know how to install, you can write a shell script to do it. e.g
wget url
tar xvzf archive
./configure
make
make install
and run it as root e.g sudo ./installscript.sh
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 have vim 7.0 on my server machine and I don't have root permissions. So, I have extracted Vim73 to my home directory and installed using the following command without having any errors.
./configure --prefix=$HOME && make && make install
But still if I open vim it is showing the older version.
How can my .vimrc file read the latest version installed from local user (home)?
You need to add your home to your path:
export PATH=$HOME/bin:$PATH
If vim installs shared libraries, you'll also need to add your local libs path to your LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$HOME/lib:$HOME/lib64:$LD_LIBRARY_PATH
Choose lib or lib64 depending on what's present on your system.
Alternatively, call the binary with its absolute path:
$HOME/bin/vim
Create an alias in your .bashrc or .zshrc, ...
alias vim="/path/to/your/vim"
Configure the PATH variable to include the path to the locally installed vim. Or create an alias alias vim = /path/to/local/vim.
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"