LoginSignup
1
1

More than 5 years have passed since last update.

debian & ubuntu memo

Last updated at Posted at 2016-05-09

Where are utils?

  • dig = dnsutils
  • ps,pstree,top = procps
  • ss = iproute2

Ignore apt install interactive

DEBIAN_FRONTEND=noninteractive apt install ...

Rosetta stone

https://certsimple.com/rosetta-stone
http://bhami.com/rosetta.html

from yum/rpm to apt/dpkg

1st, apt-get update. It DO NOT update packege, just only update apt-cache

  • yum update : apt upgrade upgrade apply miner version updates.
  • yum update <hoge> : apt install <hoge>
  • yum search <hoge> : apt search <hoge>
  • rpm -qa : dpkg -l
  • rpm -qi <hoge> : dpkg -s <hoge> or dpkg -p <hoge
  • rpm -qf <file> : dpkg -S <file>
  • rpm -ql <hoge> : dpkg -L <hoge>

Where is changelog ?

apt-get changelog <hoge>. but this command read latest ver's changelog on remote repository. Moreover, unfortunately some URL returns 404...
We can read changelog zless /usr/share/doc/<hoge>/changelog.Debian.gz.

init.d or systemd ?

ubuntu 14.04 = init.d
ubuntu 16.04 = systemd
Debian 7 = init.d
Debian 8 = systemd

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1