Ubuntu/Debian vs. OpenSuse 10.3 Cheatsheet

suse.png

Below is a list of how to do things in Ubuntu in comparison on how to do them in OpenSuse.

Ubuntu/Debian openSUSE
list packages dpkg -l rpm -qa
list packages contents dpkg -L rpm -ql
configure network interfaces /etc/network/interfaces [man interfaces] /etc/sysconfig/network/ifcfg-eth0 [man ifcfg]
concise list of installable packages apt-cache search . zypper search
get info on package apt-cache show zypper info/rpm -qi
install or update package apt-get install zypper install
install updates apt-get upgrade zypper update
refresh package cache apt-get update zypper refresh
install build dependencies of a package apt-get build-dep zypper build-deps-install
packages in historic order of installing dpkg-history rpm -qa
prevent package from being updated dpkg-hold /etc/zypp/locks(man zypper)
find package for uninstalled file [apt-file update;] apt-file search webpin
online search packages by file packages.ubuntu.com packages.debian.org packages.opensuse-community.org
favourite mirror <CC>.archive.ubuntu.com ftp.<CC>.debian.org download.opensuse.org
full list of files by package Contents-<arch>.gz Contents-<arch>.gz ARCHIVES.gz (all archs)
search installable packages by name apt-cache search zypper search
search installable package descriptions apt-cache search zypper search -d
strip version from package sed -e s/_.*// sed -e 's/-[^-]\+-[^-]\+$//'
peek into log files sudo usermod -a -G adm janneke sudo usermod -G root janneke
[re]start gdm /etc/init.d/gdm /etc/init.d/xmd
Configure gmd (listen to 6000) edit: /etc/gdm/custom.conf edit: /etc/sysconfig/displaymanager, /etc/gdm/gdm_sysconfig.conf and /etc/gdm/custom.conf (all three?)
gnome settings ~/.gnomerc ~/.xinitrc (xmodmap settings have no effect?)
apache root /var/www /srv/www/htdocs
package download cache /var/cache/apt/archives /var/cache/zypper/RPMS

Related Posts

Leave a Reply

You must be logged in to post a comment.