|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] ubuntu apt_get
|
On Tue, 25 Aug 2009, Ron Kaye Jr wrote:
> i am just getting up to speed on ubuntu
> i want to install snort
> i can of course download , expand tarball etc
>
> can i use an apt_get command to go out and grab it/ install it, etc?
You'll need to run apt-get with sudo in order to install the package.
$ sudo apt-get install snort
If you don't know the exact name of the package you're trying to install,
try apt-cache, which will give you a list of matching packages.
$ apt-cache search snort
This isn't directly relevant, but if you know the name of a file in a
package but not the name of the package, you can use apt-file to search
for it. First install apt-file and update its database:
$ sudo apt-get install apt-file
$ sudo apt-file update
You can then search for packages containing a file:
$ apt-file search /usr/sbin/snort
dpkg -S will also let you search for packages containing a file, but only
for packages already installed. apt-file will search uninstalled packages
from your configured repositories.
Paul
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|