PDA

View Full Version : [SOLVED] How do I know the packages names?


saul_2110
October 26th, 2006, 09:21 AM
Hi. When using the apt-get, it needs the name of the package but how do I know the package name ](*,) ?
Also,if certain package is not listed neither in synaptic nor the sources.list repositories... does that mean I can't installed ](*,) ?
Thanks.

Jussi Kukkonen
October 26th, 2006, 09:53 AM
Package name:
you probably know something about the package, so do a search. Example:
apt-cache search http server load balancing

Packages not in repositories:
You can only install packages that are available in the repositories you have enabled. If a package is not available, you have a couple of choices (in order of preference):
1. add a repository that has the package (unsupported ubuntu repositories or 3rd party repositories)
2. install from a .deb-package you download from somewhere
3. install with a binary installer or compile from source (downloaded from the net)

az
October 26th, 2006, 10:21 AM
The simplest way to search for and install packages is the add-remove programs menu entry.

It will give you a full list of packages. Enabling extra repositories is made easy (you just tick a box or two) and it installs packages just as any other package manager frontend.

saul_2110
October 27th, 2006, 12:42 AM
Thanks for your answers.

But now, how do I add a repository? I tried to copy the address of a debian repository in the source.list but apt-get return an error.

az
October 27th, 2006, 01:09 PM
Thanks for your answers.

But now, how do I add a repository? I tried to copy the address of a debian repository in the source.list but apt-get return an error.

Do not use debian repositories! Debian and Ubuntu are not binary-compatible.


See here:
https://help.ubuntu.com/community/Repositories/Ubuntu