User Tools

Site Tools


Sidebar






newpage

linux:system_config

This is an old revision of the document!


System Config

Debian & Ubuntu style

APT / dpkg

get installed packages:

dpkg --get-selections > dpkgselections

set & install packages from file:

dpkg --set-selections < dpkgselections
dselect update   # fixes packages not found in db errors
apt-get -u dselect-upgrade
# or:
aptitude install

Date, Time and Timezones

get date & time

date

set date & time

date --set 1998-11-02 
date --set 21:08:0

set timezone

dpkg-reconfigure tzdata

fix locales

apt-get install locales
dpkg-reconfigure locales
locale

If you still get “unable to set locale, falling back to the default locale”, try this:

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
linux/system_config.1539011119.txt.gz · Last modified: 2018/10/08 17:05 by tkilla