Difference between revisions of "Debian"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 9: Line 9:
 
  apt-cache search ''mysql-server''
 
  apt-cache search ''mysql-server''
 
Searches for ''mysql-server'' in the repositories.
 
Searches for ''mysql-server'' in the repositories.
 +
 +
= taboo a package =
 +
echo ''package'' hold | dpkg --set-selections
  
 
= convert rpm to deb =
 
= convert rpm to deb =

Revision as of 10:19, 5 April 2010

Installing software

To search for and install software using a comfortable gui, use

synaptic

To install software from the repositories in the command line, use

apt-get install mysql-server

This installs mysql-server. To install debian software packages from your harddisk, use dpkg. To search for software using the command line:

apt-cache search mysql-server

Searches for mysql-server in the repositories.

taboo a package

echo package hold | dpkg --set-selections

convert rpm to deb

alien --to-deb 123.rpm

See also