Is there anyway to install scala without sbt? - scala

I have a fedora system. I need to install scala. I have searched online and it says to install sbt. I don't want to install sbt. Is there anyway to install just scala. Like is there a command like sudo yum install scala that will solve my problem?

You should have Java installed:
sudo yum install java-1.8.0-openjdk.x86_64
Then download and install Scala:
wget http://www.scala-lang.org/files/archive/scala-2.11.7.tgz
tar xvf scala-2.11.7.tgz
sudo mv scala-2.11.7 /usr/lib
sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala
echo "export PATH=$PATH:/usr/lib/scala/bin" >> ~/.bashrc
rm scala-2.11.7.tgz

Related

IP Messenger for CentOS 7

I'm Using CentOS 7 and trying to install IP messenger in it but not able to install it. Can anyone help me in installing any IP messenger. Any kind of help would be appreciated. Thanks.
You can also compile iptux from source:
Install dependencies
Ubuntu/Debian
sudo apt-get install git libgtk2.0-dev libgconf2-dev g++ make autoconf libtool automake
Fedora/Cent OS
sudo yum install git gtk2-devel GConf2-devel gcc-c++ make autoconf libtool automake
Clone the directory from github
git clone git://github.com/iptux-src/iptux.git
Compile it and install
cd iptux
./configure
make
sudo make install
Execute the program
iptux
iptux seems quite portable. You could compile it from sources and install it locally like for example this tutorial tells you.
Alternatively, you could manually download a packaged version of iptux in rpm format and install it using the CentOS package manager.
rpm -i iptux-0.5.1-alt1_13.i586.rpm OR rpm -i iptux-0.5.1-alt1_13.x86_64.rpm

Installation of bioperl in Ubuntu 12.04LS

I am trying to install Bioperl package in Perl environment of version 5.20.0,
But I am unable to get in to the stuffs.
Idea and suggestion of websites varies and its going to be uneasy for me.
Please suggest me the protocols for installing Bioperl in Ubuntu 12.04LS.
Source: http://www.bioperl.org/wiki/Installing_BioPerl_on_Ubuntu_Server
Install and Configure a Basic Ubuntu Server
Do install then configure.
apt-get clean
apt-get update
apt-get upgrade
apt-get install ssh screen
apt-get clean
Install as much as possible with apt-get
Enable Universe and Multiverse in /etc/apt/sources.list
apt-get update
apt-get install \
lynx unzip zip ncftp gcc libc6-dev make mysql-server apache2 \
perl libgd-gd2-perl libcgi-session-perl libclass-base-perl libexpat1-dev
apt-get clean
Install CPAN and perl modules not available via apt-get
cpan -i 'Text::Shellwords' # choose defaults if first time
Install BioPerl
cd /tmp
wget -N http://bioperl.org/DIST/current_core_unstable.tar.bz2
tar -xjvf current_core_unstable.tar.bz2
cd bioperl-*
perl Build.PL # choose the defaults
./Build test
./Build install

In Centos 6.4,when configure Emacs

In Centos 6.4,when configure Emacs,it shows:
configure: error: The required function `tputs' was not found in any library.
The following libraries were tried (in order):
libtinfo, libncurses, libterminfo, libtermcap, libcurses
Please try installing whichever of these libraries is most appropriate
for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.
How to fix it,what's the problem in it.
sudo yum install ncurses-devel
then ./configure again
Try to install libncurses-dev with
bash
apt-get install libncurses-dev
I'm on a Debian Wheezy derived distribution (CrunchBang)
Trying to install Emacs 24.5.1
Had to install libncurses5-dev, then run ./configure
$ sudo apt-get install ncurses-devel
...
E: Unable to locate package ncurses-devel
$ sudo apt-get install libncurses5-dev

How to install sbt without gcj-4.5-jre in Ubuntu?

When I am trying to install sbt in Ubuntu as it is suggested here:
wget http://apt.typesafe.com/repo-deb-build-0002.deb
sudo dpkg -i repo-deb-build-0002.deb
sudo apt-get update
sudo apt-get install sbt
The last command sudo apt-get install sbt asks if I want to install GJI -- GNU java interpreter.
The following extra packages will be installed:
gcj-4.5-jre gcj-4.5-jre-headless
Suggested packages:
fastjar gcj-4.5-jdk
The following NEW packages will be installed:
gcj-4.5-jre gcj-4.5-jre-headless sbt
I do not want to install it. How can I install an sbt package in Ubuntu without GCJ ?
You can go on the sbt website, download it,extract it somewhere in your home directory and add it in the path.
I have it on ~/apps/sbt/ and i added the following in the end of ~/.bashrc
export PATH=$HOME/apps/sbt/bin:$PATH
I found it the simplest way to achive this because the apt typesafe respository is outdated.

Installing LuaMongo on Ubuntu 11.10

I have researched and viewed the post to install luamongo- http://groups.google.com/group/luamongo/browse_thread/thread/1eaa56974614dc90/c91c842e241aa4de#c91c842e241aa4de
But the installation will not work. I already have mongodb-10gen version 2.0.3 and lua5.1 version 5.1.4.10 installed.
How do I download luamongo from https://github.com/moai/luamongo and install it and get it working as an import statement in a lua script to be able to write to a mongo db? Any suggestions would be helpful, nothing I have tried so far or read has been able to help. If more information is needed I will post it. Thanks in advance.
I got this script from a friend of mine which should be helpful:
# Download mongodb and driver
wget http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-v2.0-latest.tgz
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.2.tgz
# Extract each
tar xvzf mongodb-linux-x86_64-2.0.2.tgz
tar xvzf mongodb-linux-x86_64-v2.0-latest.tgz
# Add mongo bin to PATH
export PATH=$PATH:~/mongodb-linux-x86_64-2.0.2/bin
# Grab dev tools and dependencies (May need to run apt-get update to download all)
sudo apt-get -y install tcsh scons libpcre++-dev libboost-dev libreadline-dev libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev libboost-date-time-dev gcc g++ git lua5.1-dev make
# Grab latest luamongo (will need to add your github ssh key)
git clone git#github.com:moai/luamongo
# Compile mongo driver
cd mongo-cxx-driver-v2.0
sudo scons install
# Install where lua can load it
sudo cp libmongoclient.* /usr/lib