apt-get Install bc

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

How to Install bc with apt-get?

apt-get install bc -y

Install Bc  Command

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

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

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

Result of the Command Execution shown below:

root@hiox:~ apt-get install bc -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
bzflag server libdbusmenu qt2 libopenal1 plasma widget kimpanel backend ibus
texlive common sane utils libproc processtable perl aspell en libxcb aux0
libdevel symdump perl libextlib ruby libsm dev libgd text perl menu syslinux
libnet daemon perl libnumber compare perl libical0 libwpd8c2a
libsys cpuload perl nagios plugins basic gir1.0 glib 2.0 dnsmasq base bzip2
pure ftpd common libnet ssleay perl libjson ruby1.8 libgsf 1 common
libgnomeprintui2.2 common 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 libxcb atom1
erlang crypto postgresql 8.4 libyaml tiny perl llvm libice dev lp solve
libgail18 libwxbase2.8 0 realpath libdigest sha1 perl btnx config
libunique 1.0 0 fakeroot libfilesys df perl libcupsppdc1 ttf dejavu extra
telepathy gabble libhal storage1 libnet ip perl libdb4.7 java libopenid ruby
xfonts scalable libunshield0 libcompizconfig0 lib32gomp1
libwebkit 1.0 common libatlas3gf base bind9 host libpolkit qt 1 0
libproc process perl libconvert tnef perl gamin libgd graph3d perl
libio stringy perl aspell libnet dns perl libxxf86dga1 libnet dbus perl
libxine1 x libcupscgi1 calibre bin libmeanwhile1 libgnomecanvas2 0
poppler utils genisoimage libkpathsea5 hunspell en us erlang xmerl
libreadonly perl libdmraid1.0.0.rc16 libclone perl libpthread stubs0
libnunit2.4 cil libpam unix2 esound clients smbclient libbonobo2 common
libilmbase6 libcupsdriver1 libgd gd2 perl libindicate qt0
libqca2 plugin ossl libfile chmod perl libotf0 gnome mime data libcfitsio3
bzflag data libxml parser perl obexd client liburi perl libddccontrol0 re2c
libstomp ruby1.8 libsox fmt base libproj0 libotr2 libtie ixhash perl
libxml2 utils rrdtool desktop file utils libglpng libspectre1 libcairo perl
mysql server gstreamer0.10 alsa libhtml parser perl bind9utils
libossp uuid perl libmixlib log ruby1.8 libbeagle1 libsane
libplasma geolocation interface4 odbcinst1debian1 libqt4 test
libsub name perl libhyphen0 erlang syntax tools cmake data
libfile pushd perl libftgl2 liblouis data libfile find rule perl
libcompress bzip2 perl libreadonly xs perl libgmime 2.0 2a libibus1
ddccontrol db libpst4 libparse debianchangelog perl libcrypt ssleay perl
xterm libboost program options1.40.0 libnm util1 libuuid perl
libmono cairo2.0 cil libxcb xv0 unshield libsox fmt alsa libbonobo2 0
libtdb1 libdbi perl libvte common phonon libsctp1 libfile which perl hpijs
ncftp libndesk dbus glib1.0 cil docbook xml libgupnp 1.0 3 libqwt5 qt4
libjson xs perl libdevel stacktrace perl nvidia current modaliases
foomatic filters libmime tools perl libgl2ps0 libpcap0.8 screen
libstring shellquote perl libfont afm perl oxygen icon theme libpisock9
libdns64 m4 liblog log4perl perl libgdata google1.2 1 dbconfig common
librpmio0 libjson perl libogdi3.2 librpm0 libwps 0.1 1 libmagick++2
rpm common librrd4 libflac++6 ttf opensymbol libdshconfig1
libipc sharelite perl libnspr4 0d libslp1 groff base gettext base whois
libdotconf1.0 libtimedate perl libhtml template perl libavdevice52
libnotify1 libpoppler qt4 3 libstartup notification0 libjs prototype
clamav base evolution common libexiv2 6 boinc manager mysql server core 5.1
odbcinst libperl6 junction perl liblapack3gf libclamav6
libcanberra gtk module libfcgi perl libcwidget3 libcanberra0
libmono addins0.2 cil php5 snmp php5 gd libgadu3 xorg docs core
x11proto kb dev luatex libwavpack1 libqt4 opengl chromium bsu data
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
libc6 i386 libid3 3.8.3c2a libopenssl ruby k3b data
libmail rfc822 address perl libgamin0 lib32gcc1 libqt4 xmlpatterns
libpcrecpp0 libnova 0.12 2 apache2 libhdf5 openmpi 1.8.4 tcsh unixodbc
erlang runtime tools libhtml tree perl librsvg2 common procmail ssh import
xtrans dev libindicate4 ruby1.8 libwnck22 php xml serializer
libsolidcontrolifaces4 spamc libdevkit power gobject1 libsexy2 libalut0
libavahi core6 libxcb event1 libnet cidr perl libxcrypt1 samba common
libffi5 libiec61883 0 xinput libelf1 libforms1 libyaml 0 2 libxres1
libmailtools perl libcairomm 1.0 1 libgdata common libsdl image1.2 gettext
libqt4 help sbox dtc libgd graph perl libnss mysql bg php pear xbitmaps blt
x11proto input dev ruby libgp11 0 libgirepository1.0 0 uno libs3
libclucene0ldbl rtkit libpulse browse0 libsoap lite perl libexempi3
libhpmud0 libxaw7 liblwres60 shared desktop ontologies ttf uralic schedtool
libijs 0.35 libt1 5 libsilc 1.1 2 libparams util perl cvs libcurl3
bzflag client linux headers 2.6.32 74 libjs scriptaculous xfonts base
libfli1 libchef ruby libfltk1.1 liberubis ruby1.8 dwm libesd0
libparams validate perl virtuoso nepomuk liblouis0 libept0
linux headers 2.6.32 74 generic libwxgtk2.8 0 libpam mysql libqimageblitz4
iputils arping libfile tail perl phonon backend xine x11 xfs utils
mysql client core 5.1 libenchant1c2a mlmmj libvtk5.2 libopenmpi1.3
libcolamd2.7.1 libnm glib2 libxt dev kdepimlibs data libglc0
libsystemu ruby1.8 libjson ruby xulrunner 1.9.2 libcroco3 modemmanager
libgnomecups1.0 1 libhmac ruby1.8 libmixlib config ruby tzdata java
apport symptoms libevent 1.4 2 libohai ruby libopenexr6
libpulse mainloop glib0 libglade2.0 cil icoutils libxerces c28 erlang mnesia
libgsf 1 114 libgtop2 common libpoppler5 librarian0 libspeexdsp1
libieee1284 3 rarian compat libnet server perl libhdf4 0 wodim
linux headers generic python2.6 dev libgeos c1 libart2.0 cil
postgresql common erlang public key libdbd mysql perl libgnomeprint2.2 data
gir1.0 gstreamer 0.10 manpages libbind9 60 libneon27 gnutls libxapian15
libdatetime perl liblog dispatch perl gir1.0 freedesktop kstars data
libabstract ruby1.8 libdjvulibre21 pax libglade2 0 proj data
libxine1 console lesstif2 postfix mysql libcanberra gtk0 postgresql
libsys cpu perl libio string perl libmixlib config ruby1.8 libstomp ruby
xfonts 100dpi libspeechd2 esound common postgresql client 8.4 libxpm4
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 libxau dev rpm
librpmbuild0 libtask weaken perl chromium bsu libphonon4 libcpan inject perl
libmixlib log ruby libfs6 sox libzip1 libfreezethaw perl ssh gstreamer0.10 x
libblas3gf libtext glob perl fglrx modaliases libxss1 libtotem plparser17
libgd2 xpm mysql client libhunspell 1.2 0 libkephal4 proj bin
nvidia 96 modaliases update motd libnuma1 libdata compare perl tcl8.4 tcl8.5
libindi0 libdc1394 22 libqt4 assistant ure erlang inets libming1 libgtop2 7
libgeos 3.1.0 ttf dejavu emacsen common libxine1 misc plugins libplrpc perl
ksysguardd dmz cursor theme libm17n 0 libdecoration0 libgeoip1
libgnomeui common xz utils libxxf86misc1 m17n contrib wwwconfig common
libibverbs1 libgupnp igd 1.0 2 php xml parser libstatgrab6 libsocket6 perl
mhonarc libisccfg60 libdbd pg perl usbutils smartdimmer libxvmc1
gnome desktop data clamav freshclam libc6 dev libupower glib1 libattica0
tk8.4 tk8.5 libnautilus extension1 libmail dkim perl libanthy0 librsvg2 2
libwnck common app install data libconvert uulib perl sgml data
postgresql client common libdb4.6 libnetpbm10 libdb4.7 libxml xpath perl
texlive doc base libpq5 libgfortran3 xfonts mathml libgpgme11 libart 2.0 2
evolution data server common liblaunchpad integration1 libstreams0
libid3tag0 libqt4 webkit libio multiplex perl libepub0 imagemagick
libhtml tagset perl libzephyr4 erlang ssl libgraphite3 exiv2
libmusicbrainz4c2a libx11 dev libnetaddr ip perl kdelibs5 data libwpg 0.1 1
libgc1c2 quassel data liblist moreutils perl hal info libchef ruby1.8
libclass accessor perl linux libc dev libmixlib cli ruby dictionaries common
openoffice.org common libintl perl libcpan checksums perl patch manpages dev
kdebase data libmail spf perl samba common bin libgnome menu2 libwww perl
libcommon sense perl netcat traditional libruby1.8 scrollkeeper info
dvd+rw tools libsieve2 1 libmixlib cli ruby1.8 libqt4 scripttools
php crypt cbc gir1.0 atk 1.0 libdjvulibre text libisc60 libavahi gobject0
dbus x11 libsox1a libcupsmime1 libc dev bin libnet libidn perl libnice0
libgtk2.0 cil compiz core libhdf4 0 alt libxcb1 dev libopenssl ruby1.8
libxcb shape0 libconvert binhex perl libopenjpeg2 libbonoboui2 common
libloudmouth1 0 libssh 4 libjs jquery perlmagick libxcb shm0
kdebase runtime data min12xxw libio socket ssl perl nvidia 173 modaliases
p7zip full mscompress libossp uuid16 php mail mimedecode libiodbc2
libsys hostname long perl libpam gnome keyring libgdata1.2 1 ucspi tcp
iptables librsync1 openbsd inetd bcmwl modaliases mysql server 5.1
gnome icon theme tex common libclass singleton perl libnet1 libnss3 1d
libohai ruby1.8 libmldbm perl ca certificates x11proto core dev freeglut3
libxml twig perl libaspell15 libdigest hmac perl libgssdp 1.0 2 libmsn0.3
libxine1 bin libxdmcp dev libpthread stubs0 dev libfcgi0ldbl
pulseaudio utils libxkbfile1 libgnomecanvas2 common libunix syslog perl
libminc2 1 libcrypt openssl bignum perl spamassassin mysql client 5.1
telepathy mission control 5 libllvm2.7 libasound2 plugins libnids1.21
libpisync1 libextlib ruby1.8 erlang base libnetcdf4 libstreamanalyzer0
liberubis ruby libio socket inet6 perl libopenid ruby1.8
libgtksourceview2.0 common libxine1 libaudiofile0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
bc
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 0B/112kB of archives.
After this operation, 328kB of additional disk space will be used.
Selecting previously deselected package bc.
(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 ... 120568 files and directories currently installed.)
Unpacking bc (from .../bc_1.06.95 2_amd64.deb) ...
Processing triggers for install info ...
Processing triggers for menu ...
Setting up bc (1.06.95 2) ...

Processing triggers for menu ...
root@hiox:~


Related Topics

Apt Get Commands