Could someone pls give me a detailed procedure to intsall libs3 on LINUX? Just the procedure will do.
Thanks in advance.
These are the instructions to install libs3 on centos on a 64 bit machine.
According to their README, you are supposed to build an rpm package out of their source code using 'rpmbuild -ta '
1.) So first, install rpmbuild if it isn't installed already. [My install location is the default one: ~/rpmbuild]
2.) Clone libs3.
git clone https://github.com/bji/libs3.git
3.) Rename folder as libs3-trunk [rpmbuild complained if its name wasn't that, so...], create a tar.gz, copy it to SOURCES folder inside rpmbuild directory.
mv libs3 libs3-trunk
tar -zcvf libs3-trunk.tar.gz libs3-trunk/
mv libs3-trunk.tar.gz ~/rpmbuild/SOURCES
cd ~/rpmbuild/SOURCES
4.) Build the rpm
rpmbuild -ta libs3-trunk.tar.gz
cd ../RPMS/x86_64
5.) Install dependency libs3-2-2.0-5.1.x86_64.rpm from
[http://rpm.pbone.net/index.php3/stat/4/idpl/21900926/dir/centos_6/com/libs3-2-2.0-5.1.x86_64.rpm.html] OR [ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/dalgaaf:/ceph:/extra/CentOS_CentOS-6/x86_64/libs3-2-2.0-5.1.x86_64.rpm]
6.) Install the rpm:
Execute following as sudo:
rpm -Uvh libs3-2-2.0-5.1.x86_64.rpm
rpm -Uvh --replacefiles libs3-trunk-1.x86_64.rpm
rpm -Uvh libs3-devel-trunk-1.x86_64.rpm
7.) Install libcurl-devel/libxml2-devel through yum if you get following error:
make: curl-config: Command not found
make: xml2-config: Command not found
sudo yum install libcurl-devel.x86_64
sudo yum install libxml2-devel.x86_64
For ubuntu versions >=14.04, libs3-dev is available as an Ubuntu package.
So you just need to run:
sudo apt-get install libs3-dev
Related
To install node js. I am referring this url https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-a-centos-7-server
but when I try extract source with this command tar xzvf node-v* && cd node-v*
I get error tar: node-v4.2.3-linux-x64/bin/npm: Cannot create symlink to../lib/node_modules/npm/bin/npm-cli.js': Protocol error`
INSTALLING NODE.JS FROM EPEL REPOSITORY
An alternative method of installing node.js is from the Epel Repository that is available for CentOS and other linux distro's. To get access to the repo you must first install the epel-release by.
sudo yum install epel-release
Press y for yes and let it install.
After that you can just install node.js from yum.
sudo yum install nodejs
To verify the installed version you can do.
node --version
Refer : https://www.vpsserver.com/community/tutorials/20/install-node-js-on-centos-7/
try this !
sudo tar --strip-components 1 -xzvf node-v* -C /usr/local
I have some linux boxes that do not allow me to use yum to install packages. Instead I need to download the zip or tar and then use a package manager to install the items on my linux boxes.
When you go to the git-scm page, the only way they provide to install git is to use yum, apt-get, etc from the command line.
Why is there not just a zip file?
Where can I find the package to install?
Has anyone else had this same issue?
I had the same issue before. I tried to install git from source and it works.
Intalling these packages first:
curl
autoconf
zlib-devel
openssl-devel
perl
cpio
expat-devel
gettext-devel
Getting the GIT scm source code:
git-latest.tar.gz
Compiling the GIT scm from source
tar xzvf git-latest.tar.gz
cd git-{date} // edit it
autoconf
./configure --with-curl=/usr/local
make
make install
I'm trying to install recordmydesktop-0.3.8.1 under rhel6.4 x86_64.
while running ./configure I get the following error message:
configure: error: Can't find libvorbis
But I have libvorbisfile.so.X files under my /usr/lib directory. The headers
codec.h, vorbisenc.h and vorbisfile.h also exists in my /usr/include/vorbis directory.
Could you help to resolve this issue please?
I had the same problem while installing recordMyDesktop. I found a simple solution. I installed libvorbis:
sudo apt-get install libvorbis-dev
If it also asks for other packages simply add the package name as following pattern:
sudo apt-get install lib[library-name]-dev
Uninstall existing libvorbis and try below steps to re-install.
cd /opt
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.gz
tar xzvf libvorbis-1.3.4.tar.gz
cd libvorbis-1.3.4
./configure --prefix="$HOME/ffmpeg_build" --with-ogg="$HOME/ffmpeg_build" --disable-shared
make
make install
I am trying to install editorconfig-core-c. So I followed the following tutorial:
Tutorial of editorconfig-core-c
So I needed to do:
sudo apt-get install cmake libpcre3-dev
and
make install
But in which folder is the Makefile? I didn't found anything in ~/
Does anyone have a suggestion for me?
Try running the below commands to make, install it and then remove the downloaded files. The key steps you need are
Install any prerequisites
Download the source
Run cmake . in the downloaded directory to create the makefile
Install with sudo make install
A complete set of the commands needed is provided below.
sudo apt-get install cmake libpcre3-dev git
cd
git clone https://github.com/editorconfig/editorconfig-core-c.git
cd editorconfig-core-c/
cmake .
sudo make install
cd ..
rm -rf editorconfig-core-c/
i installed subvertpy, and looks successfully.
Searching for subvertpy
Best match: subvertpy 0.9.1
Processing subvertpy-0.9.1-py2.6-linux-x86_64.egg
subvertpy 0.9.1 is already the active version in easy-install.pth
Installing subvertpy-fast-export script to /usr/local/bin
Using /usr/local/lib64/python2.6/site-packages/subvertpy-0.9.1-py2.6-linux-x86_64.egg
Processing dependencies for subvertpy
Finished processing dependencies for subvertpy
but when i tried to add a svn repository, it shows
The Python module "subvertpy" is not installed.You may need to restart the server after installing it.
is there anything i should configure in apache???
Install pysvn
apt-get install subversion python-svn
or
yum --enablerepo=epel install pysvn
also you can try
sudo yum install -y subversion-devel
wget http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.6.tar.gz
tar xf pysvn-1.7.6.tar.gz
(cd pysvn-1.7.6; cd Source;python setup.py backport;python setup.py configure;make;)
# copy
PythonLib="/usr/lib64/python2.6/site-packages/pysvn"
sudo mkdir -p ${PythonLib}
sudo cp pysvn-1.7.6/Source/pysvn/__init__.py ${PythonLib}
sudo cp pysvn-1.7.6/Source/pysvn/_pysvn*.so ${PythonLib}