Difference between revisions of "Debian"

From Linuxintro
imported>ThorstenStaerk
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
  
 
= taboo a package =
 
= taboo a package =
echo ''package'' hold | dpkg --set-selections
+
echo ''package'' hold | dpkg --set-selections
  
 
= convert rpm to deb =
 
= convert rpm to deb =
alien --to-deb 123.rpm
+
alien --to-deb 123.rpm
 
 
= See also =
 
* [[build debian packages]]
 

Latest revision as of 10:19, 6 January 2021

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