apt-get Install ctags

How do you install ctags in Linux using apt-get command?

How to Install ctags with apt-get?

apt-get install ctags -y

Install Ctags  Command

Here is a tutorial to learn how to install ctags using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install ctags -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of ctags if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install ctags -y
Reading package lists...
Building dependency tree...
Reading state information...
Note, selecting exuberant ctags instead of ctags
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 libxcb aux0 libdevel symdump perl libsm dev libatk1.0 0
libgd text perl syslinux libnet daemon perl libical0 libwpd8c2a
gconf2 common libgtk2.0 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
libndesk dbus1.0 cil python pyorbit libmtp8 rpm2cpio libgutenprint2
gnome js common pure ftpd mysql libsilcclient 1.1 3 libxcb atom1
erlang crypto postgresql 8.4 libyaml tiny perl python debian
hicolor icon theme libxcomposite1 libice dev lp solve libarchive1 realpath
libdigest sha1 perl libfilesys df perl unattended upgrades libcupsppdc1
telepathy gabble libhal storage1 libnet ip perl libdb4.7 java
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 libxklavier16 libnet dbus perl
libxine1 x libcupscgi1 libmeanwhile1 poppler utils libsnmp15 genisoimage
libkpathsea5 hunspell en us erlang xmerl 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 libatk1.0 data 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 erlang syntax tools python louis
liblouis data libreadonly xs perl libgmime 2.0 2a libibus1 ddccontrol db
libproxy0 libpst4 libcrypt ssleay perl libjack0
libboost program options1.40.0 libnm util1 libuuid perl python imaging
libmono cairo2.0 cil libxcb xv0 unshield libsox fmt alsa libbonobo2 0
libtdb1 libdbi perl libmagickwand2 libvte common python egenix mxtools
phonon libsctp1 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 gconf2 libgdata google1.2 1 librpmio0 libjson perl
librpm0 libwps 0.1 1 libmagick++2 rpm common libflac++6 ttf opensymbol
language selector common notification daemon 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 libstartup notification0 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 libthai data libgadu3
x11proto kb dev luatex libwavpack1 libqt4 opengl python renderpm libisccc60
network manager pptp libmono system runtime2.0 cil pptp linux
libgtkhtml editor common 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
erlang runtime tools libhtml tree perl procmail libdatrie1 xtrans dev
libindicate4 libwnck22 libakonadiprivate1 libportaudio2 php xml serializer
libsolidcontrolifaces4 spamc libdevkit power gobject1 libsexy2
libavahi core6 libxcb event1 libnet cidr perl libxcrypt1 libsoprano4
samba common libgconf2 4 libiec61883 0 akonadi server libelf1 libforms1
libxres1 libmailtools perl libcairomm 1.0 1 libgdata common libsdl image1.2
libgnome mag2 sbox dtc libgd graph perl libnss mysql bg php pear
libpango1.0 common 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 liblwres60 shared desktop ontologies php5 curl libijs 0.35 libt1 5
libsilc 1.1 2 libcurl3 libjs scriptaculous libfli1 python xapian
apt xapian index libdbusmenu glib1 libesd0 libparams validate perl
virtuoso nepomuk liblouis0 libpam mysql libqimageblitz4 iputils arping
libfile tail perl libreadline5 phonon backend xine 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 erlang mnesia libgsf 1 114 libgtop2 common libpoppler5 librarian0
libopenobex1 libspeexdsp1 libieee1284 3 rarian compat python telepathy
libnet server perl libhdf4 0 wodim libthai0 libart2.0 cil python dbus
postgresql common erlang public key libdbd mysql perl libgnomeprint2.2 data
gir1.0 gstreamer 0.10 libidl0 libbind9 60 libneon27 gnutls libdatetime perl
liblog dispatch perl gir1.0 freedesktop kstars data libdjvulibre21 pax
libglade2 0 libxine1 console lesstif2 postfix mysql postgresql
libsys cpu perl soprano daemon libcommons el java libspeechd2 esound common
postgresql client 8.4 libqt4 svg libcompress raw zlib perl ppp libglib perl
xdg utils netpbm liberror perl libdcmtk1 libdatetime locale perl webalizer
gstreamer0.10 pulseaudio libdv4 libhtml format perl libatasmart4 libxau dev
rpm librpmbuild0 libtask weaken perl libphonon4 sox libzip1
libfreezethaw perl ssh libblas3gf fglrx modaliases libxss1
libtotem plparser17 mysql client libgs8 libhunspell 1.2 0 libslf4j java
libkephal4 nvidia 96 modaliases tcl8.4 tcl8.5 libindi0 libdc1394 22 ure
psfontmgr libjasper1 erlang inets 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 gnome desktop data
python gdbm python cups libjasper java libupower glib1 liborbit2 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 man db libstreams0 libid3tag0 python pexpect
libqt4 webkit libraptor1 libio multiplex perl libcdio cdda0 libepub0
imagemagick libhtml tagset perl libzephyr4 libhamcrest java liblucene2 java
erlang ssl libpango1.0 0 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
dictionaries common openoffice.org common libintl perl 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 libgtk2.0 bin
php crypt cbc gir1.0 atk 1.0 python xkit libdjvulibre text libisc60
libpaper utils libavahi gobject0 dbus x11 libsox1a libcupsmime1
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 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
libgtk2.0 0 libxine1 bin libxdmcp dev libpthread stubs0 dev pulseaudio utils
gsfonts 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 erlang base 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 NEW packages will be installed:
exuberant ctags
0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
2 not fully installed or removed.
Need to get 0B/146kB of archives.
After this operation, 332kB of additional disk space will be used.
Selecting previously deselected package exuberant ctags.
(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 ... 118513 files and directories currently installed.)
Unpacking exuberant ctags (from .../exuberant ctags_1%3a5.8 2_amd64.deb) ...
Processing triggers for man db ...
Setting up dahdi dkms (1:2.2.1+dfsg 1ubuntu2) ...
Removing old dahdi 2.2.1+dfsg 1ubuntu2 DKMS files...


Deleting module version: 2.2.1+dfsg 1ubuntu2
completely from the DKMS tree.

Done.
Loading new dahdi 2.2.1+dfsg 1ubuntu2 DKMS files...
First Installation: checking all kernels...
Building for 2.6.32 33 server and 2.6.32 74 generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Building initial module for 2.6.32 74 generic

Error! Bad return status for module build on kernel: 2.6.32 74 generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/dahdi/2.2.1+dfsg 1ubuntu2/build/ for more information.
dpkg: error processing dahdi dkms ( configure):
subprocess installed post installation script returned error exit status 10
dpkg: dependency problems prevent configuration of dahdi linux:
dahdi linux depends on dahdi dkms | dahdi source; however:
Package dahdi dkms is not configured yet.
Package dahdi source is not installed.
dpkg: error processing dahdi linux ( configure):
dependency problems leaving unconfigured
Setting up exuberant ctags (1:5.8 2) ...
update alternatives: error: no alternatives for ctags.
update alternatives: using /usr/bin/ctags exuberant to provide /usr/bin/ctags (ctags) in auto mode.
update alternatives: error: no alternatives for etags.
update alternatives: using /usr/bin/ctags exuberant to provide /usr/bin/etags (etags) in auto mode.

Errors were encountered while processing:
dahdi dkms
dahdi linux
root@hiox:~


Related Topics

Apt Get Commands