How to install software package on Ubuntu 13.04 Debian

How to install software package on Ubuntu 13.04 Debian

ubuntu

1. Install software package on Ubuntu or Debian by dpkg command

Download deb package on Internet and we can start installing

dpkg –install packagename.deb

root@ubuntu:~# dpkg –install apacheds-2.0.0-M15-i386.deb
Selecting previously unselected package apacheds.
(Reading database … 183015 files and directories currently installed.)
Unpacking apacheds (from apacheds-2.0.0-M15-i386.deb) …
Setting up apacheds (2.0.0-M15) …
Processing triggers for ureadahead …
ureadahead will be reprofiled on next reboot
root@ubuntu:~#

2. Install software automatic by apt-get

apt-get install packagename

root@ubuntu:~# apt-get install apache2
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
0 upgraded, 9 newly installed, 0 to remove and 153 not upgraded.
Need to get 3,508 kB of archives.
After this operation, 9,251 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap apache2.2-bin apache2-utils apache2.2-common apache2-mpm-worker apache2
Install these packages without verification [y/N]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ raring/main libapr1 i386 1.4.6-3ubuntu1 [90.5 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ raring/main libaprutil1 i386 1.4.1-3 [85.0 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ raring/main libaprutil1-dbd-sqlite3 i386 1.4.1-3 [11.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ raring/main libaprutil1-ldap i386 1.4.1-3 [9,602 B]
Get:5 http://us.archive.ubuntu.com/ubuntu/ raring/main apache2.2-bin i386 2.2.22-6ubuntu5 [2,989 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ raring/main apache2-utils i386 2.2.22-6ubuntu5 [91.7 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ raring/main apache2.2-common i386 2.2.22-6ubuntu5 [227 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ raring/main apache2-mpm-worker i386 2.2.22-6ubuntu5 [2,226 B]
Get:9 http://us.archive.ubuntu.com/ubuntu/ raring/main apache2 i386 2.2.22-6ubuntu5 [1,436 B]
Fetched 3,508 kB in 28s (122 kB/s)
Selecting previously unselected package libapr1.
(Reading database … 159047 files and directories currently installed.)
Unpacking libapr1 (from …/libapr1_1.4.6-3ubuntu1_i386.deb) …
Selecting previously unselected package libaprutil1.
Unpacking libaprutil1 (from …/libaprutil1_1.4.1-3_i386.deb) …
Selecting previously unselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from …/libaprutil1-dbd-sqlite3_1.4.1-3_i386.deb) …
Selecting previously unselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from …/libaprutil1-ldap_1.4.1-3_i386.deb) …
Selecting previously unselected package apache2.2-bin.
Unpacking apache2.2-bin (from …/apache2.2-bin_2.2.22-6ubuntu5_i386.deb) …
Selecting previously unselected package apache2-utils.
Unpacking apache2-utils (from …/apache2-utils_2.2.22-6ubuntu5_i386.deb) …
Selecting previously unselected package apache2.2-common.
Unpacking apache2.2-common (from …/apache2.2-common_2.2.22-6ubuntu5_i386.deb) …
Selecting previously unselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from …/apache2-mpm-worker_2.2.22-6ubuntu5_i386.deb) …
Selecting previously unselected package apache2.
Unpacking apache2 (from …/apache2_2.2.22-6ubuntu5_i386.deb) …
Processing triggers for man-db …
Processing triggers for ufw …
Processing triggers for ureadahead …
Setting up libapr1 (1.4.6-3ubuntu1) …
Setting up libaprutil1 (1.4.1-3) …
Setting up libaprutil1-dbd-sqlite3 (1.4.1-3) …
Setting up libaprutil1-ldap (1.4.1-3) …
Setting up apache2.2-bin (2.2.22-6ubuntu5) …
Setting up apache2-utils (2.2.22-6ubuntu5) …
Setting up apache2.2-common (2.2.22-6ubuntu5) …
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Processing triggers for ufw …
Processing triggers for ureadahead …
Setting up apache2-mpm-worker (2.2.22-6ubuntu5) …
* Starting web server apache2 apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
Setting up apache2 (2.2.22-6ubuntu5) …
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
root@ubuntu:~#

Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>