How do you install couchdb in Linux using apt-get command?
Here is a tutorial to learn how to install couchdb using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install couchdb -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of couchdb if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install couchdb -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libdbusmenu qt2 plasma widget kimpanel backend ibus texlive common
sane utils libpolkit backend 1 0 libproc processtable perl libplist1
aspell en libdevel symdump perl libsm dev libgd text perl syslinux
libnet daemon perl libical0 libwpd8c2a gconf2 common libsys cpuload perl
libdb je java hdparm gir1.0 glib 2.0 dnsmasq base pure ftpd common
libnet ssleay perl libgsf 1 common update notifier common
libgnomeprintui2.2 common python cupshelpers libkonq5 templates
libcrypt openssl rsa perl libqca2 xfonts 75dpi libndesk dbus1.0 cil libmtp8
rpm2cpio libgutenprint2 gnome js common pure ftpd mysql libsilcclient 1.1 3
postgresql 8.4 libyaml tiny perl python debian libice dev lp solve
libarchive1 libwxbase2.8 0 realpath libdigest sha1 perl fakeroot
libfilesys df perl unattended upgrades libcupsppdc1 telepathy gabble
libhal storage1 libnet ip perl libdb4.7 java xfonts scalable
libcdio paranoia0 libunshield0 libcompizconfig0 libwebkit 1.0 common
libatlas3gf base libpurple bin bind9 host libpolkit qt 1 0 python numpy
libproc process perl libconvert tnef perl gamin libgphoto2 port0
libgd graph3d perl libio stringy perl python mako aspell usbmuxd libsensors4
libnet dns perl nvidia common python avahi libxxf86dga1 libnet dbus perl
libxine1 x libcupscgi1 libmeanwhile1 poppler utils libsnmp15 genisoimage
libkpathsea5 libreadonly perl librdf0 libdmraid1.0.0.rc16 libclone perl
libpthread stubs0 libnunit2.4 cil libpam unix2 esound clients smbclient
libjtidy java libbonobo2 common libilmbase6 libcupsdriver1 libgd gd2 perl
libindicate qt0 libqca2 plugin ossl libotf0 libsgutils2 2 gnome mime data
libcfitsio3 python pycurl libicu4j java libxml parser perl obexd client
libmagickcore2 liburi perl libddccontrol0 libservlet2.4 java re2c
libsox fmt base libotr2 libtie ixhash perl libxml2 utils desktop file utils
python couchdb libspectre1 libcairo perl mysql server gstreamer0.10 alsa
obex data server libhtml parser perl libparted0debian1 libossp uuid perl
python reportlab libsane libplasma geolocation interface4 libimobiledevice0
g++ 4.4 odbcinst1debian1 libhyphen0 python louis liblouis data
libreadonly xs perl libgmime 2.0 2a libibus1 ddccontrol db libproxy0 libpst4
libcrypt ssleay perl xterm libboost program options1.40.0 libnm util1
libuuid perl python imaging libmono cairo2.0 cil libxcb xv0 unshield
libsox fmt alsa libtdb1 libdbi perl libmagickwand2 libvte common
python egenix mxtools phonon hpijs ncftp libndesk dbus glib1.0 cil
docbook xml libgupnp 1.0 3 libjson xs perl libdevel stacktrace perl
nvidia current modaliases foomatic filters python software properties
libmime tools perl libpcap0.8 screen libstring shellquote perl
libfont afm perl oxygen icon theme libpisock9 bc libdns64
liblog log4perl perl libgdata google1.2 1 librpmio0 libjson perl librpm0
libwps 0.1 1 libmagick++2 rpm common libgomp1 libflac++6 ttf opensymbol
language selector common libdshconfig1 libipc sharelite perl libslp1
groff base python uniconvertor whois libdotconf1.0 libtimedate perl
gdebi core python lxml libhtml template perl libnotify1 libpoppler qt4 3
python twisted web libjs prototype libavahi glib1 evolution common
libexiv2 6 mysql server core 5.1 odbcinst apturl common
libperl6 junction perl liblapack3gf librasqal2 mtools libfcgi perl
libcommons compress java libcanberra0 libmono addins0.2 cil php5 gd libgadu3
xorg docs core x11proto kb dev luatex libwavpack1 libqt4 opengl
python renderpm libisccc60 network manager pptp
libmono system runtime2.0 cil pptp linux libgtkhtml editor common gcc 4.4
libdspam7 m17n db toshset libfile mmagic perl cpu checker
libdatetime timezone perl php mail mime libfile slurp perl libfuse2
libid3 3.8.3c2a liblzma1 k3b data libmail rfc822 address perl libgamin0
libsnmp base libqt4 xmlpatterns libnova 0.12 2 tcsh unixodbc
libhtml tree perl procmail xtrans dev libindicate4 libwnck22
libakonadiprivate1 php xml serializer libsolidcontrolifaces4 spamc
libdevkit power gobject1 libsexy2 libavahi core6 libnet cidr perl libxcrypt1
libsoprano4 samba common libiec61883 0 akonadi server xinput libelf1
libforms1 libxres1 libmailtools perl libcairomm 1.0 1 libgdata common
libsdl image1.2 sbox dtc libgd graph perl libnss mysql bg php pear xbitmaps
blt x11proto input dev libgp11 0 libjsch java python brlapi
libgirepository1.0 0 uno libs3 libclucene0ldbl rtkit python tk
libpulse browse0 launchpad integration libsoap lite perl libexempi3
libhpmud0 libxaw7 liblwres60 shared desktop ontologies php5 curl libijs 0.35
libt1 5 libsilc 1.1 2 linux headers 2.6.32 74 libjs scriptaculous
xfonts base libfli1 libfltk1.1 python xapian apt xapian index
libdbusmenu glib1 dwm libesd0 libparams validate perl virtuoso nepomuk
liblouis0 linux headers 2.6.32 74 generic libpam mysql libqimageblitz4
iputils arping libfile tail perl phonon backend xine x11 xfs utils
mysql client core 5.1 libenchant1c2a mlmmj libcolamd2.7.1 libnm glib2
libxt dev kdepimlibs data libcroco3 modemmanager libgnomecups1.0 1
libevent 1.4 2 python cairo python smbc system config printer udev
libopenexr6 libpulse mainloop glib0 icoutils libgsf 1 114 libgtop2 common
libpoppler5 librarian0 libopenobex1 libspeexdsp1 libieee1284 3 rarian compat
python telepathy libnet server perl libhdf4 0 wodim linux headers generic
libart2.0 cil python dbus postgresql common libdbd mysql perl
libgnomeprint2.2 data gir1.0 gstreamer 0.10 manpages libbind9 60
libneon27 gnutls libdatetime perl liblog dispatch perl gir1.0 freedesktop
kstars data wget libdjvulibre21 pax libglade2 0 libxine1 console lesstif2
postfix mysql postgresql libsys cpu perl soprano daemon libcommons el java
xfonts 100dpi libspeechd2 esound common postgresql client 8.4 libqt4 svg
libcompress raw zlib perl ppp libglib perl xdg utils netpbm liberror perl
xinit libdcmtk1 libdatetime locale perl webalizer gstreamer0.10 pulseaudio
libdv4 libhtml format perl libatasmart4 libxau dev rpm librpmbuild0
libtask weaken perl libphonon4 libfs6 sox libzip1 libfreezethaw perl ssh
libblas3gf fglrx modaliases libxss1 libtotem plparser17 mysql client libgs8
libslf4j java libkephal4 nvidia 96 modaliases tcl8.4 tcl8.5 libindi0
libdc1394 22 ure psfontmgr libgtop2 7 ttf dejavu libxine1 misc plugins
libplrpc perl ksysguardd libusbmuxd1 dmz cursor theme libm17n 0
libdecoration0 libgeoip1 libregexp java libperl5.10 python twisted names
libgnomeui common xz utils libxxf86misc1 m17n contrib wwwconfig common
libgupnp igd 1.0 2 php xml parser libsocket6 perl mhonarc libisccfg60
libdbd pg perl usbutils smartdimmer libxvmc1 gnome desktop data python gdbm
python cups libc6 dev libjasper java libupower glib1 libattica0 tk8.4 tk8.5
libmail dkim perl libanthy0 ghostscript libwnck common app install data
libconvert uulib perl sgml data postgresql client common libdb4.6
libnetpbm10 libdb4.7 libpolkit agent 1 0 libxml xpath perl texlive doc base
libpq5 libgfortran3 xfonts mathml libgpgme11 libart 2.0 2
evolution data server common libstreams0 libid3tag0 python pexpect
libqt4 webkit libraptor1 libio multiplex perl libcdio cdda0 libepub0
imagemagick libhtml tagset perl libzephyr4 libhamcrest java liblucene2 java
libgraphite3 exiv2 libgvfscommon0 php5 mysql libmusicbrainz4c2a libx11 dev
libnetaddr ip perl kdelibs5 data libwpg 0.1 1 libgc1c2 quassel data
libequinox osgi java liblist moreutils perl hal info linux libc dev
openoffice.org common libintl perl patch manpages dev kdebase data
libmail spf perl samba common bin libgnome menu2 libgcj common libwww perl
libcommon sense perl system config printer common netcat traditional
fuse utils php5 cli scrollkeeper info dvd+rw tools libsieve2 1 php crypt cbc
gir1.0 atk 1.0 python xkit libdjvulibre text libisc60 libpaper utils
libavahi gobject0 dbus x11 libsox1a libcupsmime1 libc dev bin
libnet libidn perl libnice0 compiz core libxcb1 dev libxcb shape0
openjdk 6 jdk libconvert binhex perl libbonoboui2 common
libcommons digester java libloudmouth1 0 libssh 4 python egenix mxdatetime
perlmagick libxcb shm0 binutils kdebase runtime data min12xxw
libio socket ssl perl libjson glib 1.0 0 libjetty java nvidia 173 modaliases
p7zip full mscompress libossp uuid16 python rdflib php mail mimedecode
libiodbc2 libsys hostname long perl libpam gnome keyring libgdata1.2 1
ucspi tcp iptables librsync1 php5 common openbsd inetd libjline java
bcmwl modaliases mysql server 5.1 tex common libusb 1.0 0
libclass singleton perl libnet1 libmldbm perl x11proto core dev freeglut3
python crypto libxml twig perl libaspell15 libdigest hmac perl
libgssdp 1.0 2 libmsn0.3 gnome doc utils libxine1 bin libxdmcp dev
libpthread stubs0 dev pulseaudio utils gsfonts libxkbfile1
libgnomecanvas2 common libunix syslog perl libpaper1
libcrypt openssl bignum perl libltdl7 spamassassin mysql client 5.1
telepathy mission control 5 libasound2 plugins libnids1.21 libpisync1
hplip data libnetcdf4 libsoup2.4 1 libstreamanalyzer0
libio socket inet6 perl libstdc++6 4.4 dev libgphoto2 2
python reportlab accel libgtksourceview2.0 common python opengl libxine1
libaudiofile0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
couchdb bin cpp libidl0 xulrunner 1.9.2
Suggested packages:
cpp doc
The following NEW packages will be installed:
couchdb couchdb bin cpp libidl0 xulrunner 1.9.2
0 upgraded, 5 newly installed, 0 to remove and 47 not upgraded.
Need to get 10.8kB/11.1MB of archives.
After this operation, 33.4MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/universe couchdb 0.10.0 1ubuntu2 [10.8kB]
Fetched 10.8kB in 0s (22.9kB/s)
Selecting previously deselected package cpp.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 117342 files and directories currently installed.)
Unpacking cpp (from .../cpp_4%3a4.4.3 1ubuntu1_amd64.deb) ...
Selecting previously deselected package libidl0.
Unpacking libidl0 (from .../libidl0_0.8.13 1_amd64.deb) ...
Selecting previously deselected package xulrunner 1.9.2.
Unpacking xulrunner 1.9.2 (from .../xulrunner 1.9.2_1.9.2.28+build1+nobinonly 0ubuntu0.10.04.1_amd64.deb) ...
Selecting previously deselected package couchdb bin.
Unpacking couchdb bin (from .../couchdb bin_0.10.0 1ubuntu2_amd64.deb) ...
Selecting previously deselected package couchdb.
Unpacking couchdb (from .../couchdb_0.10.0 1ubuntu2_all.deb) ...
Processing triggers for ureadahead ...
Setting up cpp (4:4.4.3 1ubuntu1) ...
Setting up libidl0 (0.8.13 1) ...
Setting up xulrunner 1.9.2 (1.9.2.28+build1+nobinonly 0ubuntu0.10.04.1) ...
update alternatives: using /usr/bin/xulrunner 1.9.2 to provide /usr/bin/xulrunner (xulrunner) in auto mode.
Setting up couchdb bin (0.10.0 1ubuntu2) ...
Setting up couchdb (0.10.0 1ubuntu2) ...
* Starting database server couchdb [169G [163G[ OK ]
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
root@hiox:~